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 Python 3.10 #40

Open
Angular-Angel opened this issue Sep 26, 2024 · 1 comment
Open

Not compatible with Python 3.10 #40

Angular-Angel opened this issue Sep 26, 2024 · 1 comment

Comments

@Angular-Angel
Copy link

I have this problem:

https://stackoverflow.com/questions/70943244/attributeerror-module-collections-has-no-attribute-mutablemapping

Seems like it requires rewriting code to work with the new version? Saw some workarounds, will test them.

@Angular-Angel
Copy link
Author

Putting:

import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 10:
    import collections
    setattr(collections, "MutableMapping", collections.abc.MutableMapping)

in: PySeqsee/farg/third_party/skeleton/core.py seems to have worked.

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