byashimov / django-controlcenter

Set of widgets to build dashboards for Django projects
BSD 3-Clause "New" or "Revised" License
989 stars 85 forks source link

Support for python 3.10 #65

Closed elenageo closed 2 years ago

elenageo commented 2 years ago

Using with python 3.10 the following error occurs

File "/Users/elenag/.virtualenvs/consialinkenv/lib/python3.10/site-packages/controlcenter/widgets/core.py", line 88, in class Group(collections.Sequence): AttributeError: module 'collections' has no attribute 'Sequence'

This class has been move to collections.abc

byashimov commented 2 years ago

Do you use the latest version?

elenageo commented 2 years ago

Yes it is the latest version - the issue is with python 3.10, with python 3.9 it works

byashimov commented 2 years ago

Yes it is the latest version - the issue is with python 3.10, with python 3.9 it works

Thank you for your report. Turns out the latest version hadn't been uploaded to pypi. Please upgrade to 0.3.1 https://pypi.org/project/django-controlcenter/

elenageo commented 2 years ago

Great. Thanks for the quick respone