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

Add Use Protocol from typing_extensions for Python < 3.8 #512

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

Conversation

monou-jp
Copy link

@monou-jp monou-jp commented Feb 3, 2025

No module 'typing_extensions' on Python 3.7 #352

This PR fixes an issue that causes an ImportError when importing importlib_metadata/_meta.py in Python 3.7. Since Protocol does not exist in typing in Python 3.7, this change ensures that it is imported from typing-extensions for Python versions earlier than 3.8.

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