Skip to content

ci(python): cross-build x86_64-mac wheel on macos-latest instead of dropping it#13

Merged
gambletan merged 1 commit into
mainfrom
ci/python-wheel-cross-build-x86-mac
Jun 15, 2026
Merged

ci(python): cross-build x86_64-mac wheel on macos-latest instead of dropping it#13
gambletan merged 1 commit into
mainfrom
ci/python-wheel-cross-build-x86-mac

Conversation

@alvinttang

Copy link
Copy Markdown
Collaborator

What

Commit 6c41b5d unblocked the PyPI publish by removing the macos-13 / x86_64-apple-darwin wheel target (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). This PR does the same in release-python.yml.

Net change vs. the original hanging config: a one-line runner swap (macos-13macos-latest). Publish stays unblocked and Intel-Mac users get a real wheel again.

Changes

  • Restore x86_64-apple-darwin wheel, built on macos-latest
  • Fix the matrix comment that falsely cited docs/ROADMAP.md as tracking omitted targets (it tracks none)

Validation

  • Workflow YAML parses; matrix artifact names (wheels-<target>) remain unique → no download-artifact collision in publish
  • publish: needs [build, sdist] gating unchanged

Found via /adversarial-review — Claude + Gemini independently agreed cross-building beats dropping; Codex was unavailable (usage limit).

🤖 Generated with Claude Code

…ropping it

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) <noreply@anthropic.com>
@gambletan gambletan merged commit 514cf02 into main Jun 15, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants