girder / girder_worker

Distributed task execution engine with Girder integration, developed by Kitware
http://girder-worker.readthedocs.io/
Apache License 2.0
34 stars 30 forks source link

Import ConfigParser, not SafeConfigParser #365

Closed jwodder closed 4 years ago

jwodder commented 4 years ago

This project currently imports the name SafeConfigParser from the configparser module, which generates the following DeprecationWarning:

The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in future versions. Use ConfigParser directly instead.

As this project only supports Python 3.6 and up (according to its classifiers), there is no reason to continue importing a deprecated name, and so this PR updates the code to import ConfigParser instead. Similarly, there is no need to import via six, so that part of the import statement is dropped.

zachmullen commented 4 years ago

Included in v0.7.4