question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 issue

In 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:closed
  • Created 5 years ago
  • Reactions:18
  • Comments:18 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
cepbriancommented, Mar 1, 2019

It was fixed in October, but not released yet? Can we get it released?

3reactions
hugovkcommented, Sep 21, 2018

PyParsing has been updated to 2.2.1 in Setuptools in https://github.com/pypa/setuptools/commit/d4b5eb62d4a848c5cf6e2a0c3c5f39151b31897d.

This issue can be closed.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found