-
Notifications
You must be signed in to change notification settings - Fork 270
MNT: Fix configparser + python 2 deprecations #917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Also some style
Codecov Report
@@ Coverage Diff @@
## master #917 +/- ##
==========================================
- Coverage 91.81% 91.73% -0.09%
==========================================
Files 97 97
Lines 12359 12359
Branches 2177 2177
==========================================
- Hits 11348 11338 -10
- Misses 678 684 +6
- Partials 333 337 +4
Continue to review full report at Codecov.
|
| import configparser | ||
| except ImportError: | ||
| import ConfigParser as configparser | ||
| import configparser |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While these are valid updates, I'm disinclined to change versioneer except for functional fixes, to keep any diffs focused.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, what about the changes after the imports? They are deprecated in py3.6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough. Let's go ahead with these changes, then.
Co-authored-by: Chris Markiewicz <effigies@gmail.com>
|
LGTM. Thanks! |
Refactor python 2 prints and imports
Also some style