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 deprecation of importing directly abc from collections #1168

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

alkino
Copy link
Member

@alkino alkino commented Apr 13, 2021

DeprecationWarning: Using or importing the ABCs from 'collections' instead
of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working

Solution found there:
https://stackoverflow.com/questions/53978542/how-to-use-collections-abc-from-both-python-3-8-and-python-2-7

DeprecationWarning: Using or importing the ABCs from 'collections' instead
of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working

Solution found there:
https://stackoverflow.com/questions/53978542/how-to-use-collections-abc-from-both-python-3-8-and-python-2-7
@alkino alkino marked this pull request as ready for review April 13, 2021 13:34
@alkino alkino linked an issue Apr 13, 2021 that may be closed by this pull request
@pramodk pramodk merged commit 79ba2e7 into master Apr 13, 2021
@pramodk pramodk deleted the fix_deprecation_abc branch April 13, 2021 13:42
alexsavulescu pushed a commit that referenced this pull request Apr 13, 2021
* DeprecationWarning: Using or importing the ABCs from 'collections' instead
of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
* Solution found there:
https://stackoverflow.com/questions/53978542/how-to-use-collections-abc-from-both-python-3-8-and-python-2-7

fixes #1162
alexsavulescu pushed a commit that referenced this pull request Apr 30, 2021
* DeprecationWarning: Using or importing the ABCs from 'collections' instead
of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
* Solution found there:
https://stackoverflow.com/questions/53978542/how-to-use-collections-abc-from-both-python-3-8-and-python-2-7

fixes #1162
@alexsavulescu alexsavulescu mentioned this pull request Mar 22, 2022
15 tasks
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.

Python 3.9 support probable issue with collections.Callable deprecated
3 participants