-
Notifications
You must be signed in to change notification settings - Fork 41
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
Python 3.10: AttributeError: module 'collections' has no attribute 'Mapping' #275
Comments
I was about to submit a PR but it seems there already is one fixing it nicely: #274 😅 👏 |
Same |
Installed Mirage on Garuda Linux and am getting the very same error. Anything I can do about this? |
Use my fork with fix on |
Just in case someone needs a mini-howto: For it works now perfect ;) |
Where do I find said PKGBUILD file on my system? I am used to APT, thus not very familiar with the Arch way - yet. :) |
The Arch way is to read the Wiki as it is awesome and answers nearly every question: https://wiki.archlinux.org/title/Arch_User_Repository#Installing_and_upgrading_packages |
Description
After upgrading to Python 3.10, the app fails to load with an exception:
AttributeError: module 'collections' has no attribute 'Mapping'
Your environment
Steps to reproduce
Expected behavior
The app loads without errors.
Actual behavior
Error dialog is shown:
Notes
Mapping
was moved tocollections.abc
ever since Python 3.3 and now in Python 3.10 it is no longer incollections
, hence the error. Until now, there was a deprecation warning printed. Reference: python docs.The text was updated successfully, but these errors were encountered: