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

Python 3.10 fails to run #130

Open
JonZeolla opened this issue Jan 17, 2023 · 1 comment
Open

Python 3.10 fails to run #130

JonZeolla opened this issue Jan 17, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@JonZeolla
Copy link

Describe the bug
I believe this was supposed to be fixed in #107 per #106 but the issue still exists. When you attempt to run various commands, such as pmapper graph create it will raise an ImportError: cannot import name 'Mapping' from 'collections'.

I'm running Python 3.10.6 on MacOS Ventura 13.1. Changing principalmapper/util/case_insensitive_dict.py from

from collections import Mapping, MutableMapping, OrderedDict

to

from collections.abc import Mapping, MutableMapping
from collections import OrderedDict

Fixes it for me

To Reproduce
pip install principalmapper and then run pmapper graph create using python 3.10

Expected behavior
I expect it does not raise an ImportError.

@JonZeolla JonZeolla added the bug Something isn't working label Jan 17, 2023
@JonZeolla
Copy link
Author

This is fixed in #122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant