From fea9a2ae0326cb5b1e0b3fa42514bd0cf868a925 Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Sat, 23 May 2026 17:51:57 -0600 Subject: [PATCH] ci: use maturin sdist subcommand to avoid building a wheel maturin build --sdist produces both a source distribution and a wheel, which trips the assertion that the sdist job must not generate wheels. Switch to the dedicated maturin sdist subcommand so only the .tar.gz artifact is produced; the --release and --strip flags are wheel-only and have no meaning for sdist. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf5901b57..b61220649 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -293,7 +293,7 @@ jobs: run: | cd python uv sync --dev --no-install-package ballista - uv run --no-project maturin build --release --sdist --out dist --strip + uv run --no-project maturin sdist --out dist - name: Assert sdist build does not generate wheels run: |