Fix Python warnings.

6 jobs for develop in 1 minute and 36 seconds (queued for 1 second)