From ade5715593348c241c1149aa60543340f6b86cf1 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Wed, 12 Aug 2026 15:42:41 -0400 Subject: [PATCH] fix: Correct the build command. The build command is run within a 3rd party pypi action. That action has access to pip but not to uv so we need to run pip commands directly not via `uv`. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 892113a7..6401415f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,7 +72,7 @@ fallback_version = "0.0.0.dev0" [tool.semantic_release] # Use SETUPTOOLS_SCM_PRETEND_VERSION to set version at build time since the # build step happens before the repo gets tagged. -build_command = "uv run --with build SETUPTOOLS_SCM_PRETEND_VERSION=$NEW_VERSION python -m build" +build_command = "pip install build && SETUPTOOLS_SCM_PRETEND_VERSION=$NEW_VERSION python -m build" # Repo is on 0.x: prevent a feat: commit from bumping 0.x.y → 1.0.0 allow_zero_version = true major_on_zero = false