DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
See original GitHub issueIn Python 3.7, importing ABCs directly from the collections
module shows a
warning (and in Python 3.8 it will stop working) - see
https://github.com/python/cpython/commit/c66f9f8d3909f588c251957d499599a1680e2320
.../site-packages/pkg_resources/_vendor/pyparsing.py:943: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
collections.MutableMapping.register(ParseResults)
.../site-packages/pkg_resources/_vendor/pyparsing.py:3226: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
elif isinstance( exprs, collections.Iterable ):
I’d be happy to help with fixing this, but it looks like pyparsing.py
is vendored from upstream - I’ll open an issue there as well, but that project looks quite inactive…
Issue Analytics
- State:
- Created 5 years ago
- Reactions:18
- Comments:18 (10 by maintainers)
Top Results From Across the Web
How to use collections.abc from both Python 3.8+ and Python ...
abc' is deprecated, and in 3.8 it will stop working elif isinstance(value, (collections. MutableMapping, collections. MutableSequence)) == True:
Read more >Using or importing the ABCs from 'collections' instead of from ...
Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working. Closed, ResolvedPublic.
Read more >Issue #50032: Using or importing the ABCs from 'collections ...
Issue #50032: Using or importing the ABCs from 'collections' instead of from 'collections. abc' is deprecated in Python 3.7 - 389-ds-base - Pagure.io....
Read more >DeprecationWarning: Using or importing the ABCs from ...
DeprecationWarning : Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop ...
Read more >Django 1.11.* with Python 3.7.* raises a DeprecationWarning
DeprecationWarning : Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It was fixed in October, but not released yet? Can we get it released?
PyParsing has been updated to 2.2.1 in Setuptools in https://github.com/pypa/setuptools/commit/d4b5eb62d4a848c5cf6e2a0c3c5f39151b31897d.
This issue can be closed.