Skip to content

fix(ci): drop retired macos-13 runner and skip cp39/pp39 in wheel matrix#1693

Merged
bdraco merged 2 commits into
masterfrom
fix-drop-macos-13
May 17, 2026
Merged

fix(ci): drop retired macos-13 runner and skip cp39/pp39 in wheel matrix#1693
bdraco merged 2 commits into
masterfrom
fix-drop-macos-13

Conversation

@bdraco
Copy link
Copy Markdown
Member

@bdraco bdraco commented May 16, 2026

Summary

Two CI follow-ups from the Python-3.9-drop wheel-publish hiccup:

  1. Drop macos-13 from the wheel matrix. GitHub fully retired the macos-13 runner image on 2025-12-04 (actions/runner-images#13046), so the matrix entry sits queued until the ~6h timeout — exactly what blocked upload_pypi for 0.149.1 (run 25975208751). Replaced with CIBW_ARCHS_MACOS="x86_64 arm64" on macos-latest (arm64), so cibuildwheel cross-builds both architectures from one runner and Intel-Mac users keep getting x86_64 wheels.
  2. Skip cp39-* and pp39-* in CIBW_SKIP. pyproject.toml is requires-python = ">=3.10" since feat: drop Python 3.9 support #1688, so any matrix entry that targets 3.9 would hit "No build identifiers selected" — the same hard error that crashed the cp39 armv7l job in 0.149.0. Belt-and-suspenders alongside fix(ci): drop cp39 from cibuildwheel matrix #1691 which removed the explicit cp39 matrix rows.

Details

  • CIBW_ARCHS_MACOS="x86_64 arm64" only affects macOS runs; it's a no-op on the Linux/Windows entries.
  • cibuildwheel ≥ 2.10 can build x86_64 wheels on an arm64 macOS runner; we're on pypa/cibuildwheel@v3.4.1 so this works out of the box.
  • The skip list got sorted into ascending order while editing.

Test plan

  • Merge → PSR cuts 0.149.2.
  • Confirm only 4 OS rows in the wheel matrix (no macos-13), and that macos-latest produces both *-macosx_x86_64.whl and *-macosx_arm64.whl.
  • Confirm upload_pypi runs and 0.149.2 lands on PyPI with the full wheel set.

Follow-up

Once #1692 (ci: don't fail-fast the wheel matrix) lands, future single-arch breakage won't take down the rest of the matrix.

bdraco added 2 commits May 16, 2026 16:49
GitHub fully retired macos-13 on 2025-12-04
(actions/runner-images#13046). The matrix entry stays `queued` until
the ~6h timeout, blocking `upload_pypi` since `build_wheels` never
concludes successfully (see run 25975208751, where one stalled
macos-13 entry held up 0.149.1).

Replace it with cross-arch builds on macos-latest (arm64):
`CIBW_ARCHS_MACOS="x86_64 arm64"` tells cibuildwheel to produce
both Intel and Apple Silicon wheels from the same runner, so 0.149.x
keeps shipping x86_64 mac wheels for Intel users.
`requires-python = ">=3.10"` since #1688. Add cp39 and pp39 to
`CIBW_SKIP` so any future matrix entry that accidentally targets 3.9
gets a silent skip instead of the "No build identifiers selected"
hard error that broke 0.149.0. Also sort cpXX and ppXX into ascending
order while reordering.
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 16, 2026

Merging this PR will not alter performance

✅ 6 untouched benchmarks


Comparing fix-drop-macos-13 (8a6f0dc) with master (591288b)1

Open in CodSpeed

Footnotes

  1. No successful run was found on master (9b24b53) during the generation of this report, so 591288b was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.76%. Comparing base (591288b) to head (8a6f0dc).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1693   +/-   ##
=======================================
  Coverage   99.76%   99.76%           
=======================================
  Files          33       33           
  Lines        3410     3410           
  Branches      464      464           
=======================================
  Hits         3402     3402           
  Misses          5        5           
  Partials        3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bdraco bdraco merged commit 745198b into master May 17, 2026
37 checks passed
@bdraco bdraco deleted the fix-drop-macos-13 branch May 17, 2026 00:12
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.

1 participant