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

Import MutableMapping from collections.abc instead of collections #294

Closed

Conversation

Flowdalic
Copy link
Contributor

@Flowdalic Flowdalic commented Jul 14, 2020

Importing MutableMapping from collections is deprecated since Python
3.3 and will stop working in 3.9. See the following deprecation notice:

libtmux/common.py:233: 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

Hence we now import from collections.abc.

Importing MutableMapping from collections is deprecated since Python
3.3 and will stop working in 3.9. See the following deprecation notice:

libtmux/common.py:233: 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

Hence we now import from collections.abc.
@Flowdalic Flowdalic force-pushed the fix-collections-deprecation branch from 2c8d7f5 to 3108676 Compare July 14, 2020 13:03
@Flowdalic
Copy link
Contributor Author

Closing as its a duplicate of #278

@Flowdalic Flowdalic closed this Jul 14, 2020
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.

1 participant