From 0d23d0b83d10cfcfcf440b31dbfa01f7c8d3eaaa Mon Sep 17 00:00:00 2001 From: bbalouki Date: Sat, 11 Jul 2026 11:51:42 +0100 Subject: [PATCH 1/2] ci: drop macos-13 from wheel build matrix Co-Authored-By: Claude Sonnet 5 --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c0c190a..7e01d13 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-13, macos-14] + os: [ubuntu-latest, windows-latest, macos-14] steps: - name: Checkout repository uses: actions/checkout@v4 From 9503a8ee174afb3b23168737e00b28dca5af1d4f Mon Sep 17 00:00:00 2001 From: bbalouki Date: Sat, 11 Jul 2026 11:53:09 +0100 Subject: [PATCH 2/2] ci: cross-build macOS x86_64+arm64 wheels from macos-14 only Co-Authored-By: Claude Sonnet 5 --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 178ea7f..9a3fb33 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,6 +62,12 @@ before-all = "yum install -y gcc-toolset-13" CC = "/opt/rh/gcc-toolset-13/root/usr/bin/gcc" CXX = "/opt/rh/gcc-toolset-13/root/usr/bin/g++" +[tool.cibuildwheel.macos] +# Cross-build both architectures from the arm64 runner instead of also +# depending on the macos-13 (Intel) runner pool, which GitHub has been +# shrinking as it migrates to Apple Silicon and can queue indefinitely. +archs = ["x86_64", "arm64"] + [tool.cibuildwheel.macos.environment] # C++20 with libc++ needs a recent deployment target. MACOSX_DEPLOYMENT_TARGET = "11.0"