From 0c7e5bcf52eb8db82dd95f6e0a0d817020ca0f49 Mon Sep 17 00:00:00 2001 From: CI Test Date: Sat, 31 Oct 2026 06:45:57 +0000 Subject: [PATCH] fix: validate complete PyPI release set --- .github/workflows/pypi.yml | 4 ++-- docs/architecture/build-ci.md | 2 +- docs/releases/process.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 18c3d563..0a8624e2 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -511,8 +511,8 @@ jobs: set -euo pipefail count=$(find dist/ -type f \( -name '*.whl' -o -name '*.tar.gz' \) | wc -l) echo "Distributions to publish: $count" - if [[ $count -ne 19 ]]; then - echo "FAIL: expected 19 distributions, found $count" >&2; exit 1 + if [[ $count -ne 25 ]]; then + echo "FAIL: expected 25 distributions, found $count" >&2; exit 1 fi - name: Publish to PyPI diff --git a/docs/architecture/build-ci.md b/docs/architecture/build-ci.md index dcf7f27a..14867303 100644 --- a/docs/architecture/build-ci.md +++ b/docs/architecture/build-ci.md @@ -43,7 +43,7 @@ coverage rationale and the tool-bump update rule. Two GitHub Actions workflows: - **`ci.yml`** — routine push/PR validation. One Ubuntu job, no matrix, no artifact exchange. Calls `./scripts/check.sh`. This is the only automatic workflow. -- **`pypi.yml`** — manual-dispatch PyPI release pipeline. Builds 24 wheels across 4 targets (linux-x86_64, linux-aarch64, macos-arm64, windows-x86_64) and Python 3.10–3.15, builds and validates an sdist, assembles the release set, and optionally publishes via Trusted Publishing (OIDC). +- **`pypi.yml`** — manual-dispatch PyPI release pipeline. Builds 24 wheels across 4 targets (linux-x86_64, linux-aarch64, macos-arm64, windows-x86_64) and Python 3.10–3.15, builds and validates an sdist, assembles the 25-distribution release set, and optionally publishes via Trusted Publishing (OIDC). See [verification-policy.md](../verification-policy.md) for the normative policy. diff --git a/docs/releases/process.md b/docs/releases/process.md index 7ccb0a3b..7b566430 100644 --- a/docs/releases/process.md +++ b/docs/releases/process.md @@ -82,7 +82,7 @@ PyPI publication is performed via the manually dispatched `.github/workflows/pyp | macOS | arm64 | 3.10, 3.11, 3.12, 3.13, 3.14, 3.15 | | Windows | x86_64 | 3.10, 3.11, 3.12, 3.13, 3.14, 3.15 | -24 wheels + 1 source distribution = 25 distributions per release. Linux aarch64 wheels are built and smoke-tested on native `ubuntu-24.04-arm` runners. +24 wheels + 1 source distribution = 25 distributions per release. Linux aarch64 wheels are built and smoke-tested on native `ubuntu-24.04-arm` runners. The publish job checks for all 25 assembled distributions before upload. ### Dispatch Procedure