Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with Python3.10 #142

Open
pollytur opened this issue Aug 29, 2022 · 1 comment
Open

Not compatible with Python3.10 #142

pollytur opened this issue Aug 29, 2022 · 1 comment

Comments

@pollytur
Copy link

pollytur commented Aug 29, 2022

With Python3.10 returns an error

File ...lib/python3.10/site-packages/nnfabrik/utility/dj_helpers.py:12, in <module>
     10 from datetime import date, datetime
     11 from datajoint.utils import to_camel_case
---> 12 from collections import OrderedDict, Iterable, Mapping

ImportError: cannot import name 'Iterable' from 'collections' (...lib/python3.10/collections/__init__.py)

Seems like the Iterable was deprecated and the package needs a slight update

@chbehrens
Copy link
Contributor

Needs to be imported from collections.abc since 3.10, there has been a deprecation warning since quite some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants