-
Notifications
You must be signed in to change notification settings - Fork 271
MAINT: Require Python >= 3.5, purge Python 2 compatibility #787
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
7c437af to
930ee6c
Compare
Codecov Report
@@ Coverage Diff @@
## master #787 +/- ##
==========================================
- Coverage 90.03% 90.03% -0.01%
==========================================
Files 94 94
Lines 12018 11886 -132
Branches 2136 2119 -17
==========================================
- Hits 10821 10702 -119
+ Misses 851 840 -11
+ Partials 346 344 -2
Continue to review full report at Codecov.
|
647c329 to
676be6b
Compare
effigies
left a comment
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.
Still need to update docs one more time.
A review would be greatly appreciated.
6a4f727 to
814727a
Compare
80704a0 to
d6442c1
Compare
|
Taking the plunge. |
Summary of changes:
assert_warnsdoes not work properly with multiple warnings being emitted until then; we've been somehow missing this edge case by checking minimum versions on Py2 only)nibabel.externals.sixaltogether, along with all imports fromsixnibabel.py3ktonumpy.compat.py3k. They don't seem to be dropping it when dropping Python 2 support so it seems safe to rely on it.grep -E -rIi 'py(thon)? ?[23]' nibabel | grep '\.py:'were removed.pkg_infowill be handled in MAINT: Manage versioning with versioneer #786.sixpy3kfrom __future__PY2/PY3tags indicating compatibility hacks