Warning: Using or importing ABCs from collections is deprecated
See original GitHub issueI recently encountered the following warning while running python-docx:
section.py:7: 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 Sequence
I noticed that other third-party packages have encountered this same issue and resolved it. See https://github.com/marshmallow-code/marshmallow/issues/1027 for example.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Using or importing the ABCs from 'collections' instead ... - GitHub
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working #1401.
Read more >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 >Issue #50032: Using or importing the ABCs from 'collections ...
#50032 Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated in Python 3.7 ... Deprecation warning is issued.
Read more >Bug #1936667 “Using or importing the ABCs from 'collections ...
Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3 ; OpenStack Object Storage (swift).
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 >
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 Free
Top 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

Hmm, quite right, apologies for that. I’ll get that fixed up this weekend and drop a new release.
Ah, right, I’ve seen this before elsewhere. Thanks for reporting this. I’ll get this fixed up for the next release.