PVInfo._compareNumeric raises AttributeError on Python 3.10
Closed this issue · 1 comments
duncanmmacleod commented
The PVInfo._compareNumeric private method raises an AttributeError
on Python 3.10 as follows:
File "$PREFIX/lib/python3.10/site-packages/pcaspy/driver.py", line 482, in _compareNumeric
if isinstance(value, collections.Iterable):
AttributeError: module 'collections' has no attribute 'Iterable'
The Iterable
object was moved to collections.abc
.
xiaoqiangwang commented
Thanks for the fix. I will add Python 3.10 to the CI.