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 collections ABCs deprecation warning #500

Closed
wants to merge 1 commit into from

Conversation

paxet
Copy link

@paxet paxet commented Dec 13, 2019

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
from collections import Mapping

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
    from collections import Mapping
@g-k
Copy link
Collaborator

g-k commented Dec 13, 2019

Thanks! Per #425 (comment) we're waiting on an html5lib release with the upstream fix. In the meantime you can suppress the warning like the pypa/twine PR referenced in the above issue.

@g-k g-k closed this Dec 13, 2019
@ankostis
Copy link

ankostis commented May 3, 2020

(my apologies if i misunderstood the situation)
Why is this closed without being merged?
I still see this warning in the package currently in PyPi, v3.1.5.
#533 (merged) seems not to solve the issue, just hides the warning during testing, is this on purpose?

@paxet
Copy link
Author

paxet commented Oct 5, 2020

Thank you so much, finally closed by #548 and published in v3.2.0

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.

3 participants