Skip to content

Commit a893676

Browse files
committed
fix(ci): drop x86_64 mac wheels and clean up obsolete CIBW_SKIP entries
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.
1 parent 7f1ea4b commit a893676

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,9 @@ jobs:
315315
uses: pypa/cibuildwheel@8d2b08b68458a16aeb24b64e68a09ab1c8e82084 # v3.4.1
316316
# to supply options, put them in 'env', like:
317317
env:
318-
CIBW_SKIP: cp36-* cp37-* cp38-* cp39-* pp36-* pp37-* pp38-* pp39-* ${{ matrix.musl == 'musllinux' && '*manylinux*' || '*musllinux*' }}
318+
CIBW_SKIP: cp38-* cp39-* pp38-* pp39-* ${{ matrix.musl == 'musllinux' && '*manylinux*' || '*musllinux*' }}
319319
CIBW_BEFORE_ALL_LINUX: apt install -y gcc || yum install -y gcc || apk add gcc
320-
CIBW_ARCHS_MACOS: "x86_64 arm64"
320+
CIBW_ARCHS_MACOS: arm64
321321
REQUIRE_CYTHON: 1
322322

323323
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v4

0 commit comments

Comments
 (0)