-
Notifications
You must be signed in to change notification settings - Fork 670
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
Importing ABCs from collections.abc
#2607
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #2607 +/- ##
===========================================
- Coverage 90.71% 90.60% -0.12%
===========================================
Files 174 174
Lines 23549 23256 -293
Branches 3072 3066 -6
===========================================
- Hits 21363 21070 -293
Misses 1565 1565
Partials 621 621
Continue to review full report at Codecov.
|
Travis CI failed since my change is not reverse compatible with Python 2.7 |
@abhiShandy unfortunately MDA must support py2.7 until at least v1.0.0 (if I'm remembering the roadmap correctly). An option that would cover py2.7 through tto 3.8 would be appreciated if possible. |
Do we need mdanalysis/package/MDAnalysis/core/groups.py Lines 1726 to 1745 in d9a78a4
|
Good point.
Locally, |
@MDAnalysis/gsoc-mentors can someone review this? |
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.
Looks good to me.
Please also
- add yourself to AUTHORS
- add a note to Fixes in CHANGELOG (referencing the issue)
Please ping me @orbeckst for a final review when you have addressed my review and all tests pass. Thank you for your contribution! |
@orbeckst it's ready |
Thank you very much, @abhiShandy ! |
Fixes #2605
Changes made in this Pull Request:
collections.abc
instead of deprecated direct method incollections.MutableMapping
I ran
lib/test_util.py::TestFlattenDict
locally to confirm that the corresponding deprecation warning is eliminated.PR Checklist