Skip to content

build: move uv to the 0.13 series - #78

Merged
robinbowes merged 1 commit into
mainfrom
chore/uv-0.13
Oct 21, 2026
Merged

robinbowes merged 1 commit into
mainfrom
chore/uv-0.13

Conversation

@robinbowes

Copy link
Copy Markdown
Collaborator

Moves the template to the uv 0.13 series. Supersedes #75, which moved uv_build without moving uv itself.

What changes

  • mise.toml: uv = "0.13".
  • [build-system] requires: uv_build>=0.13.2,<0.14.0.
  • tool.uv.required-version: >=0.12.18,<0.14.
  • The hatchling how-to shows the new uv_build range.
  • decisions/2026-10-21-uv-0.13-bridge-range.md records the range.

Why the floor is 0.12.18

uv refuses to run outside required-version. Dependabot runs uv 0.12.18 (dependabot-core/uv/helpers/requirements.txt) until dependabot/dependabot-core#16639 ships, so a 0.13 floor would fail every Python Dependabot PR. setup-uv installs the newest uv in range, so CI and the sync-lockfile job run 0.13.x, and mise provides 0.13.x locally. Raise the floor to >=0.13 once dependabot-core ships uv 0.13.

Verified

  • uv lock --check passes under uv 0.13.3 and 0.12.18, with no lockfile change.
  • uv 0.12.17 is refused, which confirms uv enforces the range.
  • uv build produces the sdist and wheel with uv_build 0.13.
  • task dev:check passes (ruff, ruff format, ty, 14 tests).
  • The prek hooks pass. The ShellCheck hook needs Docker, which wasn't running locally, so native shellcheck was run over the repo's two shell scripts instead; this change touches no shell files.

🤖 Generated with Claude Code

mise.toml installs uv 0.13 and the build backend moves to
uv_build>=0.13.2,<0.14.0, superseding Dependabot's #75, which moved
uv_build alone.

tool.uv.required-version becomes >=0.12.18,<0.14 rather than
>=0.13.2: uv enforces that range and Dependabot runs uv 0.12.18
until dependabot-core#16639 ships, so a 0.13 floor would fail every
Python Dependabot PR. CI and the sync-lockfile job install the newest
uv in range. decisions/2026-10-21-uv-0.13-bridge-range.md records
this and when to raise the floor.

Verified: uv lock --check passes under 0.13.3 and 0.12.18 and is
refused under 0.12.17; uv build succeeds with uv_build 0.13;
task dev:check and the prek hooks pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Robin Bowes <robin@yo61.com>
@robinbowes
robinbowes merged commit 59a4f39 into main Oct 21, 2026
11 checks passed
@robinbowes
robinbowes deleted the chore/uv-0.13 branch October 21, 2026 10: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.

1 participant