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

fix: import Mapping from typing module #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

roedoejet
Copy link
Contributor

@roedoejet roedoejet commented Aug 9, 2024

Panphon > 0.20.0 is currently failing on python 3.8

in python 3.8 you cannot subscript the collections.abc.Mapping class so importing from typing is more stable across python versions.

see https://stackoverflow.com/questions/59955751/abcmeta-object-is-not-subscriptable-when-trying-to-annotate-a-hash-variable

in python 3.8 you cannot subscript the collections.abc.Mapping class so importing from typing is more stable across python versions

see https://stackoverflow.com/questions/59955751/abcmeta-object-is-not-subscriptable-when-trying-to-annotate-a-hash-variable
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

Successfully merging this pull request may close these issues.

1 participant