Skip to content

fix(pypi): handle revisions in uv.lock Git sources - #4086

Open
henriquejsza wants to merge 1 commit into
bazel-contrib:mainfrom
henriquejsza:fix/uv-lock-git-source-filename
Open

fix(pypi): handle revisions in uv.lock Git sources#4086
henriquejsza wants to merge 1 commit into
bazel-contrib:mainfrom
henriquejsza:fix/uv-lock-git-source-filename

Conversation

@henriquejsza

Copy link
Copy Markdown

Git sources in uv.lock can include a revision in the URL query and
fragment. pip.parse currently includes those components in the derived
filename, which can produce an invalid Bazel repository name.

Derive the filename from only the URL path while preserving the complete
revision-bearing Git URL. Regression coverage verifies the filename is clean
and the fetch URL remains unchanged.

Fixes #4084

Copilot AI lite review requested due to automatic review settings August 21, 2026 09:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

pip.parse with uv_lock fails when lock file contains git sourced package

2 participants