KEMBAR78
Make Python 2 support an extra by hauntsaninja · Pull Request #10183 · python/mypy · GitHub
Skip to content

Conversation

hauntsaninja
Copy link
Collaborator

Resolves #10124

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good. As users update to Python 3.8+, eventually most mypy users won't need to install typed-ast anymore.

@JukkaL JukkaL merged commit 4adb5e4 into python:master Mar 8, 2021
@hauntsaninja hauntsaninja deleted the byebyety branch March 8, 2021 18:50
@freundTech
Copy link
Contributor

I just noticed that this PR adds the python_version<'3.8' environment marker to install_requires, but not to mypy-requirements.txt.

Is this on purpose?

This is inconsistent with the psutil requirement which is also in extras_requires, but is not in mypy-requirements.txt. It is only in test-requirements.txt

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.

Make Python 2 support an "extra" in 0.900

3 participants