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

Do not install typing for Python 3.5 and above #1

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

Conversation

erosennin
Copy link

The typing module is included in the standard library since Python 3.5. Additionally, the typing module from PyPI is not compatible with Python 3.7 and causes breakage when e.g. running tests with pytest:

python/typing#573

This PR adds an environment marker so that typing is installed only for older versions of Python that do not provide it in the standard library.

@ohaibbq
Copy link

ohaibbq commented Jul 10, 2020

💯

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.

2 participants