DeprecationWarning importing the ABCs from collections on Python 3.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Fix Released
|
Low
|
scoder |
Bug Description
In Python 3.7, a DeprecationWarning is issued for attempting to import ABCs from the collections module and in Python 3.8 this becomes an error.
```
$ python -m pip show lxml
Name: lxml
Version: 4.2.5
Summary: Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.
Home-page: http://
Author: lxml dev team
Author-email: <email address hidden>
License: BSD
Location: /Users/
Requires:
Required-by: yg.integration
$ python -W error::
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/
from ._setmixin import SetMixin
File "/Users/
from collections import MutableSet
File "<frozen importlib.
File "/Library/
Deprecation
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
```
description: | updated |
description: | updated |
Changed in lxml: | |
milestone: | 4.3.0 → 4.2.6 |
status: | Fix Committed → Fix Released |
Thanks. Fix committed here: https:/ /github. com/lxml/ lxml/commit/ 68cf93c4827ea74 e46d2aa6809011f 96ed9c689a