Repository navigation
Reject symlinked wheel installation destinations - #21569
Merged
Merged
Conversation
woodruffw
approved these changes
Sep 9, 2026
uv test inventory changesThis PR changes the tests when compared with the
|
Merging this PR will not alter performance
Comparing Footnotes
|
Signed-off-by: William Woodruff <[email protected]>
Signed-off-by: William Woodruff <[email protected]>
woodruffw
force-pushed
the
zb/security-validated-wheel-destinations
branch
from
September 10, 2026 21:29
07a5edb to
817665c
Compare
woodruffw
temporarily deployed
to
automations
September 10, 2026 21:29 — with
GitHub Actions
Inactive
Signed-off-by: William Woodruff <[email protected]>
woodruffw
temporarily deployed
to
automations
September 10, 2026 21:52 — with
GitHub Actions
Inactive
This was referenced Sep 15, 2026
konsti-openai
pushed a commit
that referenced
this pull request
Sep 15, 2026
Reverts #21569 to restore the previous wheel installation behavior. This fixes two regressions introduced in uv 0.12.14: - `uv pip install --target=.` fails because the relative installation root normalizes to an empty path. Fixes #21694. - Installing wheels with man pages fails in official Python Docker images, where `/usr/local/man` is a symlink to `share/man`. Fixes #21692. <!-- codex-thread: 01a0a496-3b61-7140-8190-53aa070449d2 -->
This branch was previously deployed
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.
When a wheel installation destination already contains a directory symlink, merging the payload can write files outside the environment. Represent the wheel root and each
.datasubtree mapping as aValidatedWheelDestination, require callers to distinguish trusted scheme roots from mapped child destinations, and require those validated mappings throughout linking and data installation. Replace destination file symlinks encountered by.datamove fallbacks atomically.Supersedes astral-sh#56.