From fd475835e791c9352dfe95574b83bfa3ce1250fc Mon Sep 17 00:00:00 2001 From: Chris Krough <461869+ckrough@users.noreply.github.com> Date: Mon, 11 May 2026 08:54:52 -0400 Subject: [PATCH] fix(release): install uv inside PSR container before uv build The python-semantic-release v10.5.3 GitHub Action runs in its own Docker image which ships Python 3.14 but does not include uv on PATH. With build_command = "uv build", the v0.2.0 release attempt on b4d5270 aborted with exit code 127 (command not found) before the version-bump commit, tag, or GH Release were produced. Prepend a pip install so uv is available to the build step. Keeps the project's uv-first toolchain at release time; one-time ~3s cost per release run. Failed run: https://github.com/ckrough/drover/actions/runs/25671079007 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 85b2625..aa06744 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -138,7 +138,7 @@ branch = "main" # Strict semver: breaking changes bump major even pre-1.0. major_on_zero = true allow_zero_version = true -build_command = "uv build" +build_command = "python -m pip install uv && uv build" [tool.semantic_release.changelog.default_templates] changelog_file = "CHANGELOG.md"