Skip to content

DeprecationWarning in collections import #402

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

Closed
tirkarthi opened this issue Sep 21, 2018 · 1 comment · Fixed by #403
Closed

DeprecationWarning in collections import #402

tirkarthi opened this issue Sep 21, 2018 · 1 comment · Fixed by #403

Comments

@tirkarthi
Copy link

Installing html5lib on CPython master generates the below warning. I think this was added as part of Python 3.7 and will be removed in the next version 3.8 which is under development. Just wanted to give a heads up on this.

/home/karthi/requests-html-env/lib/python3.8/site-packages/pip/_vendor/html5lib/_trie/_base.py:3: 
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import Mapping

Relevant code :

from collections import Mapping

Possible solution : pyparsing/pyparsing#16

Thanks

@rzuckerm
Copy link

When is this change going to be released? I'm still seeing this warning.

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 a pull request may close this issue.

2 participants