-
Notifications
You must be signed in to change notification settings - Fork 29
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
Collections.Mapping is depreciated for python versions >3.10 #41
Comments
Actually, if you want to make it backward compatible and not deal with different versions of shifterator for different versions of python, I would add something like this:
in the imports and then just edit to have Mapping on line 156
instead of the existing collections.Mapping |
Closed by #40 |
@andyreagan I'm not sure this got pushed to the pypi version because some people are still getting this issue. |
bumping this |
I guess we should really be tagging @ryanjgallagher Could we get some other people permissions to merge? |
Getting some Attribute Errors when making shifts if using a newer version of python.
It's an easy fix, just need to change line 156 in helper.py from
to
see this stack overflow post for more: https://stackoverflow.com/questions/69381312/in-vs-code-importerror-cannot-import-name-mapping-from-collections
The text was updated successfully, but these errors were encountered: