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

Failure to load with Python 3.10 #195

Open
davidharcombe opened this issue Sep 28, 2022 · 0 comments
Open

Failure to load with Python 3.10 #195

davidharcombe opened this issue Sep 28, 2022 · 0 comments

Comments

@davidharcombe
Copy link

Attempting to use messytables with Python 3.10 results in the following error:

  File "/layers/google.python.pip/pip/lib/python3.10/site-packages/messytables/core.py", line 2, in <module>
    from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/opt/python3.10/lib/python3.10/collections/__init__.py)

This is due to Mapping moving to package collections.abc in Python 3.10.

core.py should be updated to take account of this.

FatemehAhmadi94 added a commit to FatemehAhmadi94/messytables that referenced this issue Oct 22, 2022
s7clarke10 added a commit to s7clarke10/messytables that referenced this issue Oct 7, 2023
Fixed issue okfn#195, Compatibility with Python 3.10
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