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

module 'collections' has no attribute 'Mapping' on Python 3.10 #4

Closed
sneumann opened this issue Oct 12, 2023 · 1 comment
Closed

module 'collections' has no attribute 'Mapping' on Python 3.10 #4

sneumann opened this issue Oct 12, 2023 · 1 comment
Labels

Comments

@sneumann
Copy link

Hi,
for nmrml2isa-0.3.1 on python 3.10 I get the following exception:

~/.local/bin/nmrml2isa -h
Traceback (most recent call last):
  File "/home/sneumann/.local/bin/nmrml2isa", line 5, in <module>
    from nmrml2isa.parsing import run
  File "/home/sneumann/.local/lib/python3.10/site-packages/nmrml2isa/parsing.py", line 51, in <module>
    from .isa   import ISA_Tab
  File "/home/sneumann/.local/lib/python3.10/site-packages/nmrml2isa/isa.py", line 14, in <module>
    from .utils import ChainMap, PermissiveFormatter
  File "/home/sneumann/.local/lib/python3.10/site-packages/nmrml2isa/utils.py", line 68, in <module>
    class ChainMap(collections.Mapping):
AttributeError: module 'collections' has no attribute 'Mapping'
@althonos althonos added the bug label Nov 6, 2023
@althonos
Copy link
Member

althonos commented Nov 6, 2023

Hi @sneumann,
I pushed a version with a fix, this took a bit longer because I also needed to rewrite the CI to use GitHub Actions since Travis-CI is not free anymore.

@althonos althonos closed this as completed Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants