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(python): fix deprecated collections.abc usage #5195

Merged
merged 1 commit into from
Oct 4, 2018
Merged

fix(python): fix deprecated collections.abc usage #5195

merged 1 commit into from
Oct 4, 2018

Conversation

TheKevJames
Copy link
Contributor

Many classes within collections were moved to collections.abc in Python
3.3 -- their usage as imported directly from collections is now
deprecated as of Python 3.7 and will be removed soon.

The fallback import added in this PR can be removed entirely when
support for versions of Python prior to 3.3 is dropped.

Fixes #5135

@anandolee I believe you wanted to review this.

Many classes within collections were moved to collections.abc in Python
3.3 -- their usage as imported directly from collections is now
deprecated as of Python 3.7 and will be removed soon.

The fallback import added in this PR can be removed entirely when
support for versions of Python prior to 3.3 is dropped.
@anandolee
Copy link
Contributor

PR looks good. Thanks for the change.
Ruby failure is not related.

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

Successfully merging this pull request may close these issues.

4 participants