Skip to content

Fix collections import warnings for Python 3.7 #11786

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

Merged
merged 1 commit into from
Jul 28, 2018

Conversation

timhoffm
Copy link
Member

PR Summary

This is in continuation of #11733.

As @amueller pointed out on gitter, there were still some abstract base classes imported via collections instead of collections.abc.

@WeatherGod WeatherGod merged commit 6c9c844 into matplotlib:master Jul 28, 2018
@timhoffm timhoffm deleted the collections-abc branch July 28, 2018 14:48
@amueller
Copy link
Contributor

damn, missed my chance to contribute again! One of these days ;)

@amueller
Copy link
Contributor

(btw, scikit-learn now raises deprecation warnings as errors during CI so that's where this is from)

@timhoffm
Copy link
Member Author

Sorry, didn't want to steal your contribution. Since nothing happend for some days and 3.0 is closing in, I worte the PR myself.

Anyway, thanks a lot for the hint on the warnings. Also, there's still enough to contribute to matplotlib. We won't run out of topics for the time being 😄 .

@QuLogic QuLogic added this to the v3.0 milestone Jul 29, 2018
@tacaswell tacaswell modified the milestones: v3.0, v2.2.3 Aug 4, 2018
@tacaswell
Copy link
Member

@meeseekdev backport to v2.2.x

@tacaswell
Copy link
Member

@meeseeksdev backport to v2.2.x

@lumberbot-app
Copy link

lumberbot-app bot commented Aug 4, 2018

There seem to be a conflict, please backport manually

@tacaswell tacaswell modified the milestones: v2.2.3, v2.2.4 Aug 10, 2018
@timhoffm timhoffm mentioned this pull request Nov 3, 2018
tacaswell pushed a commit to tacaswell/matplotlib that referenced this pull request Sep 5, 2019
Fix collections import warnings for Python 3.7

Put try...except blocks in to support py27
QuLogic added a commit that referenced this pull request Sep 8, 2019
…-v2.2.x

Merge pull request #11786 from timhoffm/collections-abc
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.

6 participants