From e4e542d76ab3ffb3fb9d6d25f773139906f5c7e8 Mon Sep 17 00:00:00 2001 From: salmannawaz Date: Fri, 12 Jun 2026 01:15:35 +0500 Subject: [PATCH 1/2] fix: semantic release issue fix --- .github/workflows/release.yml | 3 --- pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9de3058bf..3056c1ed9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,9 +29,6 @@ jobs: - run: git reset --hard ${{ github.sha }} - - name: Install uv - uses: astral-sh/setup-uv@v7 - - name: Python Semantic Release id: release uses: python-semantic-release/python-semantic-release@v10.5.3 diff --git a/pyproject.toml b/pyproject.toml index dc1213899..b002e2f6e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -137,7 +137,7 @@ constraint-dependencies = [ uv_constraints = [] [tool.semantic_release] -build_command = "SETUPTOOLS_SCM_PRETEND_VERSION=$NEW_VERSION uv build" +build_command = "pip install build && SETUPTOOLS_SCM_PRETEND_VERSION=$NEW_VERSION python -m build" [tool.semantic_release.commit_parser_options] minor_tags = ["feat", "docs"] From 130a800058a7d7cd32743467c0b85e80af3ac0c0 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Fri, 12 Jun 2026 09:28:18 -0400 Subject: [PATCH 2/2] fix: Apply suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b002e2f6e..0bfb1a95b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -137,7 +137,7 @@ constraint-dependencies = [ uv_constraints = [] [tool.semantic_release] -build_command = "pip install build && SETUPTOOLS_SCM_PRETEND_VERSION=$NEW_VERSION python -m build" +build_command = "python -m pip install --upgrade build && SETUPTOOLS_SCM_PRETEND_VERSION=$NEW_VERSION python -m build" [tool.semantic_release.commit_parser_options] minor_tags = ["feat", "docs"]