From e797ef7a4cccce631b7e5d0310f10a8cbc3c0473 Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Thu, 2 Jul 2026 11:42:46 -0700 Subject: [PATCH] fix(ci): version flet-mcp like the other packages on publish The `build_flet_mcp` job built the wheel at flet-mcp's static pyproject version (0.1.0) instead of the release version, because it only ran `patch_python_package_versions` (which stamps just the core flet/flet-cli/ flet-desktop/flet-web packages) and skipped the per-extension `patch_toml_versions` stamp that `build_flet_extensions` applies to every other package. So every publish re-attempted `flet_mcp-0.1.0`, which already exists on PyPI, and `uv publish` aborted the whole job with `400 File already exists`. Stamp flet-mcp's pyproject with $PYPI_VER before `uv build`, exactly as the extensions job does, so flet-mcp ships at the unified release version. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 555516ff2b..1f016b6e52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -823,6 +823,7 @@ jobs: run: | source "$SCRIPTS/common.sh" patch_python_package_versions + patch_toml_versions "packages/flet-mcp/pyproject.toml" "$PYPI_VER" uv build --package flet-mcp - name: Upload artifacts