Skip to content

Conversation

@AlexWaygood
Copy link
Member

This makes it possible to run python mypy_test.py --python-version=3.14.2, which is useful if we need to pin Python to a specific micro version in CI.

Currently we already do some massaging of the --python-version flag inside mypy_test.py itself. I think it makes sense to put all of that inside mypy_test.py rather than doing some pre-cleaning of the version in the GitHub workflow before passing it to the script. This should help improve maintenance somewhat.

Relates to #14972.

@AlexWaygood AlexWaygood requested a review from srittau November 3, 2025 20:18
@AlexWaygood AlexWaygood merged commit eca15d9 into python:main Nov 3, 2025
66 checks passed
@AlexWaygood AlexWaygood deleted the simpler-mypy-version-parsing branch November 3, 2025 20:30
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