Iterable was moved from collections into collections.abc.
See the deprecation warning in Python 3.9
$ python3.9
>>> from collections import Iterable
<stdin>:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
This means that you currently cannot install iso8601utils on Python 3.10:
$ python3.10
Python 3.10.0 (default, Oct 4 2021, 22:09:55) [GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from iso8601utils import parsers
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.10/dist-packages/iso8601utils/__init__.py", line 1, in <module>
from iso8601utils.interval import interval
File "/usr/lib/python3.10/dist-packages/iso8601utils/interval.py", line 1, in <module>
from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
Iterablewas moved fromcollectionsintocollections.abc.See the deprecation warning in Python 3.9
This means that you currently cannot install
iso8601utilson Python 3.10: