From 9bc9bfb1cf20851aa47ea9fcf0f2c1d96c38b2bd Mon Sep 17 00:00:00 2001 From: gambletan Date: Mon, 15 Jun 2026 21:41:08 +0800 Subject: [PATCH] ci(python): cross-build x86_64-mac wheel on macos-latest instead of dropping it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 6c41b5d unblocked the PyPI publish by removing the macos-13 / x86_64-apple-darwin wheel target, since the Intel-mac runner is retired and queued forever. But deleting the target forces every Intel-Mac user onto the sdist, which compiles Rust from source — a needless capability regression. The retired *runner* was the problem, not the *target*. release-binary.yml already cross-builds x86_64-apple-darwin on the macos-latest (Apple-silicon) runner for the same crate and native deps (bundled sqlite/zstd). Do the same here: restore the target with os: macos-latest. Net change vs. the original hanging config is a one-line runner swap (macos-13 -> macos-latest). Also corrected the matrix comment, which falsely cited docs/ROADMAP.md as tracking the omitted targets (it tracks none of them). - Restore x86_64-apple-darwin wheel, built on macos-latest - Fix misleading "Tracked in docs/ROADMAP.md" comment Found via /adversarial-review (Claude + Gemini agreed; Codex unavailable). Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/release-python.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index ae5a39b..1356d82 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -16,15 +16,18 @@ jobs: # Don't let one target cancel the others mid-build. fail-fast: false matrix: - # Targets that build cleanly AND have available runners today. Omitted: aarch64-linux - # & windows-msvc (native-dep cross-builds), and macos-13/x86_64 (the Intel-mac runner - # is retired and queues forever, blocking the whole release). All omitted platforms - # install from the sdist, which always ships. Tracked in docs/ROADMAP.md. + # Both macOS arches cross-build on the macos-latest (Apple-silicon) runner — the + # retired macos-13/Intel runner that queued forever is no longer referenced (this is + # the same approach release-binary.yml uses for x86_64-apple-darwin). Omitted: + # aarch64-linux & windows-msvc (native-dep cross-builds not yet sorted); those users + # install from the sdist, which always ships. include: - os: ubuntu-latest target: x86_64-unknown-linux-gnu - os: macos-latest target: aarch64-apple-darwin + - os: macos-latest + target: x86_64-apple-darwin steps: - uses: actions/checkout@v4