Skip to content

build(deps-dev): bump uv from 0.11.15 to 0.12.1 - #68

Open
dependabot[bot] wants to merge 6 commits into
mainfrom
dependabot/uv/uv-0.12.0
Open

build(deps-dev): bump uv from 0.11.15 to 0.12.1#68
dependabot[bot] wants to merge 6 commits into
mainfrom
dependabot/uv/uv-0.12.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 3, 2026

Copy link
Copy Markdown
Contributor

Bumps uv from 0.11.15 to 0.12.1.

Release notes

Sourced from uv's releases.

0.12.1

Release Notes

Released on 2026-07-31.

Enhancements

  • Add package-specific pre-release policies with --prerelease-package (#20837)
  • Support local HTML files as flat indexes (#20802)
  • Add Xonsh virtual environment activation scripts (activate.xsh) (#19740)
  • Preserve filesystem paths passed to uv add --index when updating pyproject.toml (#20817)

Preview features

  • Add automatic fixes to uv check with --fix (#20793)
  • Avoid rejecting unchanged metadata-free lockfiles when workspace dependencies share direct sources (#20847)
  • Honor direct URL constraints when validating metadata-free lockfiles (#20796)
  • Ignore malformed PEP 723 scripts discovered during project checks (#20784)
  • Use ty's native script exclusion in uv check (#20742)

Performance

  • Parse canonical uv lockfiles directly, with a fallback for other valid TOML syntax (#20648)
  • Accelerate SHA-256 hashing on non-Windows ARM64 platforms (#20805)

Bug fixes

  • Flush shell startup file updates before uv tool update-shell and uv python update-shell exit (#20842)
  • Make workspace-root dependency groups available to commands run from workspace members (#20840)
  • Resolve --find-links paths in requirements files relative to the containing file (#20832)
  • Respect configured indexes in uv tool list --outdated (#20770)

Documentation

  • Document Astral GPU indexes in the PyTorch guide (#20785)
  • Use consistent dependency-group argument descriptions throughout the CLI documentation (#20823)

Install uv 0.12.1

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/uv/releases/download/0.12.1/uv-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/uv/releases/download/0.12.1/uv-installer.ps1 | iex"

... (truncated)

Changelog

Sourced from uv's changelog.

0.12.1

Released on 2026-07-31.

Enhancements

  • Add package-specific pre-release policies with --prerelease-package (#20837)
  • Support local HTML files as flat indexes (#20802)
  • Add Xonsh virtual environment activation scripts (activate.xsh) (#19740)
  • Preserve filesystem paths passed to uv add --index when updating pyproject.toml (#20817)

Preview features

  • Add automatic fixes to uv check with --fix (#20793)
  • Avoid rejecting unchanged metadata-free lockfiles when workspace dependencies share direct sources (#20847)
  • Honor direct URL constraints when validating metadata-free lockfiles (#20796)
  • Ignore malformed PEP 723 scripts discovered during project checks (#20784)
  • Use ty's native script exclusion in uv check (#20742)

Performance

  • Parse canonical uv lockfiles directly, with a fallback for other valid TOML syntax (#20648)
  • Accelerate SHA-256 hashing on non-Windows ARM64 platforms (#20805)

Bug fixes

  • Flush shell startup file updates before uv tool update-shell and uv python update-shell exit (#20842)
  • Make workspace-root dependency groups available to commands run from workspace members (#20840)
  • Resolve --find-links paths in requirements files relative to the containing file (#20832)
  • Respect configured indexes in uv tool list --outdated (#20770)

Documentation

  • Document Astral GPU indexes in the PyTorch guide (#20785)
  • Use consistent dependency-group argument descriptions throughout the CLI documentation (#20823)

0.12.0

Released on 2026-07-28.

Since we released uv 0.11.0 in March, we've accumulated changes that improve correctness, safety, and compatibility with specifications, but could break some workflows. This release contains those changes; many have been marked as breaking out of an abundance of caution.

We expect most users to be able to upgrade without making changes.

There are no breaking changes to the configuration of the uv build backend. If your [build-system] table includes an upper bound on uv_build, update it to allow uv_build 0.12, e.g., uv_build>=0.11.32,<0.13.

Breaking changes

  • Define build systems by default with uv init (#19197)

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Aug 3, 2026
Bumps [uv](https://github.com/astral-sh/uv) from 0.11.15 to 0.12.1.
- [Release notes](https://github.com/astral-sh/uv/releases)
- [Changelog](https://github.com/astral-sh/uv/blob/main/CHANGELOG.md)
- [Commits](astral-sh/uv@0.11.15...0.12.1)

---
updated-dependencies:
- dependency-name: uv
  dependency-version: 0.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title build(deps-dev): bump uv from 0.11.15 to 0.12.0 build(deps-dev): bump uv from 0.11.15 to 0.12.1 Aug 5, 2026
@dependabot
dependabot Bot force-pushed the dependabot/uv/uv-0.12.0 branch from 37d0893 to 2c45459 Compare August 5, 2026 00:35
Chris-ObtuseAI and others added 5 commits August 4, 2026 23:04
Dependabot updated `pyproject.toml` and `uv.lock`. Three sites still
carried 0.11.15:

    requirements-validation.lock
    tests/test_validation_dependency_lock.py    EXPECTED_VALIDATION_TOOLS
    scripts/validate_release_python.py          EXPECTED_TOOL_VERSIONS

The last one asserts the INSTALLED tool version rather than the locked one,
which is why it is the one that gets missed.

Both lock files were regenerated with uv **0.12.1 itself**, not the local
0.11.15, because `validation_lock_reproducible` and
`runtime_lock_reproducible` byte-compare the committed file against what
the installed uv emits -- so regenerating with the old binary would produce
a lock that passes here and fails in CI.

Checked rather than assumed: the export format did not change across the
bump. `requirements-runtime.lock` hashes identically before and after
regeneration under 0.12.1, so the only real diff is the uv pin inside the
validation lock.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…ng the error

TWO defects, and the second is why the first was hard to read.

1. A SEVENTH uv pin site. `.github/workflows/ui.yml` hard-codes the expected
   version twice, in a regex and in the message it throws:

       $uvVersion -notmatch '^uv 0\.11\.15(?:\s|$)'
       throw "Expected the exact lock-pinned uv 0.11.15 build."

   Neither Dependabot nor a grep of the Python pin sites reaches it, so
   `Native Windows desktop validation` failed while every other check passed.

2. The failure receipt masked it. `Upload sanitized native smoke failure
   receipt` runs `if: failure()` and takes its path from
   `DUMBMONEY_NATIVE_SMOKE_FAILURE_GLOB`, which is not set until line 131 --
   after the bootstrap step that failed at line 76. So the receipt step died
   with:

       ##[error]Input required and not supplied: path

   That error lands LAST, which is what `gh run view --log-failed` shows
   first. The visible failure was a missing input on the diagnostic step,
   not the version mismatch that actually stopped the job.

   Guarded on the variable, so an early failure now reports itself instead of
   being overwritten by the machinery meant to explain it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
An EIGHTH pin site, and it only surfaced after the other seven were done:

    tests/test_release_build_trust.py
      assertIn("$uvVersion -notmatch '^uv 0\.11\.15(?:\s|$)'", job)

The test's purpose is 'the native workflow bootstraps THE lock-pinned uv'.
It was checking against a literal typed here, which is a different and
weaker claim -- it passes whenever this file and the workflow agree, even
if both have drifted from the lock they are supposed to enforce.

Now it reads the version out of `requirements-validation.lock`, so:

  - bumping uv no longer requires editing this file at all
  - the assertion catches the drift it exists to catch: workflow disagreeing
    with the lock, in either direction
  - the throw message is asserted too, not just the regex, since that string
    also carries the version and was equally able to rot

Mutation-checked, because the test was written after the code and so proved
nothing on its own. Changing the workflow's message to `uv 0.12.2` while the
lock says `0.12.1` fails exactly this test at the new assertion; restoring
it returns 14 passed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant