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 from _vendor/html5lib #6407

Closed
belm0 opened this issue Apr 14, 2019 · 1 comment · Fixed by #6728
Closed

DeprecationWarning from _vendor/html5lib #6407

belm0 opened this issue Apr 14, 2019 · 1 comment · Fixed by #6728
Labels
auto-locked Outdated issues that have been locked by automation resolution: duplicate Duplicate of an existing issue/PR

Comments

@belm0
Copy link

belm0 commented Apr 14, 2019

Environment

  • pip version: 19.0.3
  • Python version: 3.7.1

Description
pip/_vendor/html5lib/_trie/_base.py is emitting a DeprecationWarning and apparently the code will stop working in Python 3.8.

Expected behavior
pip runs on any Python version without emitting Python deprecation warnings

How to Reproduce
This problem came up via internal pip package usage by isort (PyCQA/isort#924). I've suggested that isort migrate to pip-api, but in any case it seems pip will have to address the impending code breakage of its internals.

Output

.../python3.7/site-packages/pip/_vendor/html5lib/_trie/_base.py:3: in <module>
    from collections import Mapping

E           DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
@uranusjr
Copy link
Member

Duplicate to #6237

@pradyunsg pradyunsg added the S: needs triage Issues/PRs that need to be triaged label Jun 22, 2019
@chrahunt chrahunt added the resolution: duplicate Duplicate of an existing issue/PR label Jul 21, 2019
@triage-new-issues triage-new-issues bot removed the S: needs triage Issues/PRs that need to be triaged label Jul 21, 2019
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Aug 20, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Aug 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation resolution: duplicate Duplicate of an existing issue/PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants