Kronuz/pyScss

pyscss not usable in Python 3.10

Opened this issue · 3 comments

this line is not compatible with 3.10:

from collections import Iterable

File "/home/classic/.venv3100/lib/python3.10/site-packages/scss/types.py", line 6, in
from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/opt/python-3.10.0/lib/python3.10/collections/init.py)

here's the warning in 3.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
>>> 

A fix is available at #411

This should be closed per #411 (comment)