From a893676980e2ebab7645336af421060f51ac13fc Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 16 May 2026 17:28:52 -0700 Subject: [PATCH] fix(ci): drop x86_64 mac wheels and clean up obsolete CIBW_SKIP entries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two issues from the 0.149.2 wheel run: 1. CIBW_ARCHS_MACOS="x86_64 arm64" failed: macos-latest is macos-15-arm64 and the x86_64 virtualenv was created with the host arch ("CPython3.10.11.final.0-64-arm64" in cibuildwheel's log), so the C extension built for arm64 and delocate-wheel refused the arch-mismatched wheel. Cross-compiling x86_64 from Apple Silicon is fragile enough that the simpler fix is to drop x86_64 mac wheels — Apple Silicon has been default since late 2020 and Intel Mac users can still install via sdist. 2. cibuildwheel 3.x dropped Python < 3.8 support and emits "Invalid skip selector" warnings for cp36-* cp37-* pp36-* pp37-* on every run. Removed. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08fd4953..d210804b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -315,9 +315,9 @@ jobs: uses: pypa/cibuildwheel@8d2b08b68458a16aeb24b64e68a09ab1c8e82084 # v3.4.1 # to supply options, put them in 'env', like: env: - CIBW_SKIP: cp36-* cp37-* cp38-* cp39-* pp36-* pp37-* pp38-* pp39-* ${{ matrix.musl == 'musllinux' && '*manylinux*' || '*musllinux*' }} + CIBW_SKIP: cp38-* cp39-* pp38-* pp39-* ${{ matrix.musl == 'musllinux' && '*manylinux*' || '*musllinux*' }} CIBW_BEFORE_ALL_LINUX: apt install -y gcc || yum install -y gcc || apk add gcc - CIBW_ARCHS_MACOS: "x86_64 arm64" + CIBW_ARCHS_MACOS: arm64 REQUIRE_CYTHON: 1 - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v4