Skip to content

Commit 20df58c

Browse files
committed
Move static cibuildwheel options to pyproject.py and deactivate all 32bit archs
1 parent 4b374bf commit 20df58c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,14 @@ jobs:
2929
matrix:
3030
os: [ linux-intel, linux-arm, macos-arm ]
3131
include:
32-
- archs: auto
32+
- archs: auto64
3333
platform: auto
3434
- os: linux-intel
3535
runs-on: ubuntu-latest
3636
- os: linux-arm
3737
runs-on: ubuntu-24.04-arm
3838
# - os: windows
3939
# runs-on: windows-latest
40-
# archs: AMD64
4140
- os: macos-arm
4241
# macos-14+ (including latest) are ARM64 runners
4342
runs-on: macos-latest
@@ -51,7 +50,6 @@ jobs:
5150
env:
5251
CIBW_PLATFORM: ${{ matrix.platform }}
5352
CIBW_ARCHS: ${{ matrix.archs }}
54-
CIBW_SKIP: pp*
5553
MACOSX_DEPLOYMENT_TARGET: "11.0"
5654

5755
- uses: actions/upload-artifact@v4

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,10 @@ build-type = "Release"
6464

6565
[tool.hatch.build.targets.wheel.hooks.scikit-build]
6666
experimental = true
67+
68+
[tool.cibuildwheel]
69+
# Enable free-threaded support
70+
enable = ["cpython-freethreading"]
71+
72+
# Disable building PyPy, musllinux and thread-freethreading on Mac and Windows wheels
73+
skip = ["pp*", "*musllinux*", "*t-macosx*", "*t-win*"]

0 commit comments

Comments
 (0)