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

attrdict package currently incompatible with Python 3.10 #38

Open
johnsekar opened this issue Apr 29, 2022 · 0 comments
Open

attrdict package currently incompatible with Python 3.10 #38

johnsekar opened this issue Apr 29, 2022 · 0 comments

Comments

@johnsekar
Copy link

Python 3.10 moves container ABCs (Mapping, etc.) to collections.abc module, which breaks older unmaintained packages like attrdict.

Alternatives:

  1. Fork of attrdict, which updates the import statements (https://github.com/johnsekar/AttrDict)
  2. Use types.SimpleNamespace from the standard library.

As far as I can tell, the only module affected in wc_utils is wc_utils/util/chem/core.py

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

1 participant