Add free-threaded Python support#2809
Merged
gaborbernat merged 25 commits intopypa:mainfrom Jan 15, 2025
Merged
Conversation
gaborbernat
reviewed
Jan 10, 2025
gaborbernat
approved these changes
Jan 10, 2025
gaborbernat
approved these changes
Jan 10, 2025
gaborbernat
requested changes
Jan 10, 2025
Contributor
gaborbernat
left a comment
There was a problem hiding this comment.
Seems the CI is failing, can you fix it? @robsdedude Thanks
auto-merge was automatically disabled
January 10, 2025 13:08
Head branch was pushed to by a user without write access
Contributor
|
@robsdedude seems it is still failing 🤔 |
Contributor
Author
|
Now CI should pass. I made the CI run on my fork to increase the iteration velocity 🙃 |
gaborbernat
approved these changes
Jan 15, 2025
|
Thanks so much for fixing this and seeing the PR through @robsdedude. Our team at Quansight Labs is trying to spot ecosystem issues like this around free-threaded Python. If you are aware of any other issues, we should chat! |
robsdedude
added a commit
to robsdedude/virtualenv
that referenced
this pull request
Jan 17, 2025
This reverts some changes introduced in pypa#2809
5 tasks
5 tasks
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.
Add free-threaded Python support
This PR adds the possibility to specify a free threaded Python.
Examples:
virtualenv -p 3.13t .venvvirtualenv -p 3t .venvvirtualenv -p cpython3.13t .venvTo be able to change
PythonInfoto contain a flag whether the python version is a free-threaded one or not, I've introduced versioning to the py info cache files as I couldn't find another way to invalidate old cached infos.Thanks for contributing, make sure you address all the checklists (for details on how see development documentation)
tox -e fix)docs/changelogfolderCloses: #2776