scikit-hts icon indicating copy to clipboard operation
scikit-hts copied to clipboard

[BUG] Iterable abstract class was removed from collections in Python 3.10

Open blas-ko opened this issue 2 years ago • 1 comments

Describe the bug Iterable abstract class was removed from collections in Python 3.10, so I can't import hts.

To Reproduce I'm using Python 3.10.8, and pip installed scikit-hts today. To reproduce the bug one should simply call import hts

Potential solution Check python version when importing and import Iterable from collections.abc if python's version > 3.9.

blas-ko avatar Mar 16 '23 11:03 blas-ko

I unfortunately do not have time anymore to dedicate to this project, contributions are welcome

carlomazzaferro avatar May 12 '23 07:05 carlomazzaferro