Skip to content

Commit b4f166b

Browse files
committed
use new enable config for freethreading, pypy
1 parent ca68b6e commit b4f166b

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/wheels.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,6 @@ jobs:
120120
architecture: x86
121121
cibw:
122122
build: "cp*win32"
123-
# free-threaded doesn't seem to work on Windows
124-
skip: "*t-win*"
125123

126124
- os: windows-2019
127125
name: win-pypy
@@ -134,16 +132,13 @@ jobs:
134132
architecture: x64
135133
cibw:
136134
build: "cp*win_amd64"
137-
# free-threaded doesn't seem to work on Windows
138-
skip: "*t-win*"
139135

140136
- os: windows-2022
141137
name: win_arm64
142138
architecture: x64
143139
cibw:
144140
arch: ARM64
145-
# free-threaded doesn't seem to work on Windows
146-
skip: "cp37* *t-win*"
141+
skip: "cp37*"
147142

148143
steps:
149144
- uses: actions/checkout@v4

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ search = '__version__: str = "{current_version}"'
142142

143143
[tool.cibuildwheel]
144144
build-verbosity = "1"
145-
free-threaded-support = true
145+
enable = ["cpython-freethreading", "pypy"]
146146
test-requires = ["pytest>=6", "importlib_metadata"]
147147
test-command = "pytest -vsx {package}/tools/test_wheel.py"
148148

@@ -170,6 +170,8 @@ MACOSX_DEPLOYMENT_TARGET = "10.15"
170170

171171
[tool.cibuildwheel.windows]
172172
before-all = "python buildutils/bundle.py licenses"
173+
# free-threaded doesn't seem to work on Windows
174+
enable = ["pypy"]
173175
repair-wheel-command = """\
174176
delvewheel repair \
175177
-v \

0 commit comments

Comments
 (0)