arvydas / blinkstick-python

BlinkStick Python interface to control devices connected to the computer
Other
136 stars 53 forks source link

get_color doesn't work with Python 3.10+ #96

Closed deantonccns closed 5 months ago

deantonccns commented 5 months ago

File "/home/payfree/.local/lib/python3.10/site-packages/blinkstick/blinkstick.py", line 482, in get_color if isinstance(get_color_func, collections.Callable): AttributeError: module 'collections' has no attribute 'Callable'

because collections.Callable has been moved to collections.abc.Callable in python 3.10+.

Is there any plan to support newer Python version? Thanks.

deantonccns commented 5 months ago

It turns out there is a package for 3.10+, then the issue can be closed.