uv upgrade and uv venv --preview no longer create symlink directories#14131
Merged
jtfmumm merged 1 commit intofeature/transparent-python-upgradesfrom Jun 19, 2025
Merged
Conversation
847845b to
5f4465a
Compare
54ffefa to
8158399
Compare
8158399 to
9376b36
Compare
9376b36 to
598aeb4
Compare
zanieb
approved these changes
Jun 18, 2025
Member
|
Thanks! Appreciate that you caught the |
33adf2b
into
feature/transparent-python-upgrades
87 checks passed
jtfmumm
added a commit
that referenced
this pull request
Jun 20, 2025
…ries (#14131) For the preview version of transparent upgrades, this PR helps to more clearly distinguish two features: (1) upgrading by installing the latest patch version for a minor version and (2) supporting transparent upgrades for things like virtual environments. Transparently upgradeable installations now require `uv python install` with the `--preview` flag. `uv python upgrade` will no longer create symlink directories on its own, only point one to the latest patch if it already exists. This PR also changes `uv venv --preview` to no longer create a missing symlink directory (a behavior that was meant to support a smooth transition when upgrading uv, but which doesn't make sense in light of the core change of this PR).
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.
For the preview version of transparent upgrades, this PR helps to more clearly distinguish two features: (1) upgrading by installing the latest patch version for a minor version and (2) supporting transparent upgrades for things like virtual environments.
Transparently upgradeable installations now require
uv python installwith the--previewflag.uv python upgradewill no longer create symlink directories on its own, only point one to the latest patch if it already exists.This PR also changes
uv venv --previewto no longer create a missing symlink directory (a behavior that was meant to support a smooth transition when upgrading uv, but which doesn't make sense in light of the core change of this PR).