Skip to content

Commit 01b1961

Browse files
committed
MNT: migrate cibuildwheel static configuration to pyproject.toml
1 parent 2fe7bf8 commit 01b1961

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ jobs:
7676

7777
- name: Build wheels
7878
uses: pypa/cibuildwheel@v3.1.4
79-
env:
80-
CIBW_SKIP: "*_i686 cp39-win_arm64 cp310-win_arm64"
81-
CIBW_ENABLE: cpython-freethreading
8279

8380
- name: Store wheel artifacts
8481
uses: actions/upload-artifact@v4

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,14 @@ build-backend = "setuptools.build_meta"
2020
[tool.pytest.ini_options]
2121
addopts = "-l"
2222
filterwarnings = ["error"]
23+
24+
[tool.cibuildwheel]
25+
skip = [
26+
"*_i686",
27+
"cp310-win_arm64", # no numpy wheels for this target
28+
]
29+
enable = [
30+
# enable cp313t wheels
31+
# note that cp314t and later are already enabled by default
32+
"cpython-freethreading",
33+
]

0 commit comments

Comments
 (0)