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

DeprecationWarning in collections import #402

Closed
tirkarthi opened this issue Sep 21, 2018 · 1 comment
Closed

DeprecationWarning in collections import #402

tirkarthi opened this issue Sep 21, 2018 · 1 comment

Comments

@tirkarthi
Copy link

@tirkarthi tirkarthi commented Sep 21, 2018

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

@rzuckerm rzuckerm commented May 18, 2020

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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.