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 warnings for collections.abc #22387

Closed

Conversation

svillar
Copy link
Contributor

@svillar svillar commented Mar 23, 2020

Fixes this: 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

Copy link
Contributor

@jgraham jgraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the way python never wastes our time with pointless incompatible changes.

@svillar
Copy link
Contributor Author

svillar commented Mar 23, 2020

So unfortunatelly python/typeshed@aa945cd is not included in the typeshed sync included in the last mypy release. We'll have to wait a bit for the next release (the fix is in the current mypy master)

@stephenmcgruer stephenmcgruer assigned jgraham and unassigned KyleJu Mar 30, 2020
@stephenmcgruer
Copy link
Contributor

An equivalent to this was landed in 5418b37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants