Skip to content
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

Fix: deprecated collections imports #41

Closed
wants to merge 2 commits into from
Closed

Conversation

rseragon
Copy link

Imports like Sequence, MutableSequence, etc. are deprecated since
python 3.3 and are removed from 3.8. This commit fixes these import
problems for users with python 3.8+

ref: python/cpython#81505

Imports like Sequence, MutableSequence, etc. are deprecated since
python3.3 and are removed from 3.8. This commit fixes these import
problems for users with 3.8+
ref: python/cpython#81505
For python versions older than 3.3, collections.abc is not implemented.
So, a fallback import execption is used to sustain older versions.
@rseragon
Copy link
Author

There seems to be a problem with the 2nd test involving python 3.5. Particularly, with cde data download command.
The rest of the tests yield good, so there shouldn't be any critical problems from this PR.

@rseragon
Copy link
Author

rseragon commented Aug 1, 2023

Didn't realize that there is a updated version of this repo which is being actively maintained for python versions 3.3 and up.
Closing this PR as it would be pointless to merge theses changes.

PS: This is the new repo link

@rseragon rseragon closed this Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant