Repository navigation
build(uv): bump default uv to 0.13.1 - #4273
Merged
Merged
Conversation
Scoped override-dependencies in [tool.uv] need uv 0.11.25 or newer; the previous default (0.11.2) fails to parse them. Fixes bazel-contrib#2992
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Release-artifact compatibility, platform support, and scoped-override behavior remain unverified.
0 open findings
What changed in this PR
Updates uv to 0.13.1 so the lock rule can support scoped dependency overrides without a user-supplied version override.
Changes:
- Bumps default, development, and integration-test uv versions.
- Adds a release note explaining scoped-override support.
| File | Description |
|---|---|
| tests/integration/uv_lock/MODULE.bazel | Updates integration-test uv to 0.13.1. |
| news/2992.changed.md | Documents the version bump and scoped-override support. |
| MODULE.bazel | Updates default and development uv to 0.13.1. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
Author
|
Notes on what Copilot listed as unverified:
|
Collaborator
|
It's OK to not have a test for this because it is just a uv feature with which we have very loose coupling. |
aignas
approved these changes
Oct 16, 2026
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.
Scoped
override-dependenciesin[tool.uv], e.g.{ package = { name = "a" }, dependencies = ["x>=1.0"] }, need uv 0.11.25 ornewer. The default uv (0.11.2) fails to parse them, so users of the
lockrule had to set
uv.configure(version = ...)themselves. This bumps thedefault and the dev uv to 0.13.1. It supports the same platforms as 0.11.2.
Before: a
pyproject.tomlwith a scoped override passed tolockfails toparse with the default uv.
After: it works without any
uv.configureoverride.Fixes #2992