ContinuumIO / cyberpandas

IP Address dtype and block for pandas
BSD 3-Clause "New" or "Revised" License
104 stars 23 forks source link

Python 3.10+: ImportError: cannot import name 'Iterable' from 'collections' #49

Open ei-grad opened 3 months ago

ei-grad commented 3 months ago

Any chance this library could be updated to work with fresh Python and Pandas?

----> 1 from cyberpandas import IPArray

File ~/.virtualenvs/work/lib/python3.12/site-packages/cyberpandas/__init__.py:10
      8 from .ip_methods import ip_range
      9 from .parser import to_ipaddress
---> 10 from .mac_array import MACType, MACArray
     12 from pkg_resources import get_distribution, DistributionNotFound
     13 try:

File ~/.virtualenvs/work/lib/python3.12/site-packages/cyberpandas/mac_array.py:1
----> 1 from collections import Iterable
      3 import numpy as np
      4 import six