Skip to content

Require uv >= 0.13.4 - #17464

Merged
stevejalim merged 1 commit into
mainfrom
uv-required-version
Oct 21, 2026
Merged

stevejalim merged 1 commit into
mainfrom
uv-required-version

Conversation

@stevejalim

@stevejalim stevejalim commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

One-line summary

Add a required-version floor for uv matching the Dockerfile pin.

Significant changes and points to review

One line under [tool.uv]. uv carries its own CA roots for PyPI traffic, so a developer
running an older uv locally would resolve and lock against a trust store that still includes
the compromised eMudhra chains. --locked installs are protected by the lock hashes, but the
lock step that records those hashes is not. With the floor, an old uv refuses to run with a
clear message instead.

The Dockerfile and docs workflows already pin 0.13.4, so CI is unaffected. Developers below
0.13.4 need a one-time upgrade. uv self update works for a standalone install. If uv lives
inside a pyenv virtualenv, run the upgrade from outside the repo so the floor check does not
block it:

cd ~ && uv pip install --python "$(pyenv which python)" -U 'uv>=0.13.4'

Issue / Bugzilla link

Follow-up to the eMudhra CA bump PR in this repo.

Testing

uv lock --check passes with uv 0.13.4 and is refused by 0.13.1 with the expected message.

Matches the uv image pinned in the Dockerfile. uv uses its own embedded CA roots when talking to
PyPI, so a stale local uv resolves and locks against a trust store that still includes the
compromised eMudhra chains. Lock hashes protect installs, but not the lock step itself.
@stevejalim
stevejalim requested a balanced review from Copilot October 21, 2026 14:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The narrowly scoped configuration change matches existing pins and has no unresolved findings.

No open issues 🎉

What changed in this PR

Sets a minimum uv version for local development, aligning with the existing Docker and documentation workflow pins.

Changes:

  • Requires uv ≥ 0.13.4 and documents the bundled CA trust-store rationale.
File Description
pyproject.toml Adds the uv version floor and explanatory comments.

Review effort: Balanced

@stevejalim
stevejalim added this pull request to the merge queue Oct 21, 2026
Merged via the queue into main with commit f14fb6b Oct 21, 2026
12 checks passed
@stevejalim
stevejalim deleted the uv-required-version branch October 21, 2026 17:13
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.

3 participants