Repository navigation
✨ feat(python): require Python 3.10 - #3789
Merged
Merged
Conversation
Match the minimum version supported by pip 26.3. Dropping Python 3.9 lets virtualenv retire its old seed wheels and distutils startup hook. BREAKING CHANGE: Use an older virtualenv release to run under Python 3.9 or to create Python 3.9 environments. Refs pypa#3181
gaborbernat
marked this pull request as ready for review
December 5, 2026 01:19
for more information, see https://pre-commit.ci
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
virtualenv now requires Python 3.10 or later to run and to create environments, matching pip 26.3. Use an older virtualenv release if you still use Python 3.9. pip 26.3 metadata
Installers read the host minimum from package metadata, and the zipapp checks it at startup. Creator selection enforces the target minimum before writing the environment, even on a supported host with
--no-seed. Dropping Python 3.9 lets virtualenv remove its 3.9-only seed wheels and distutils hook. Distutils hook discussionFuture CPython removals follow upstream end of life, with extensions at the maintainers' discretion. pip's Python support policy
Run this with virtualenv installed under Python 3.10 or later and
python3.9onPATH.Before
After