@@ -100,6 +100,13 @@ jobs:
100
100
- [windows-2022, win_amd64]
101
101
# TODO: support PyPy?
102
102
python : [["cp310", "3.10"], ["cp311", "3.11"], ["cp312", "3.12"], ["cp313", "3.13"], ["cp313t", "3.13"]]
103
+ include :
104
+ # 'pip' is the default
105
+ - cibw_build_frontend : pip
106
+ # TODO: Remove this and installing build deps in cibw_before_build.sh
107
+ # after NumPy can be built with a released Cython
108
+ - python : ["cp313t", "3.13"]
109
+ cibw_build_frontend : ' pip; args: --no-build-isolation'
103
110
exclude :
104
111
- buildplat : [windows-2022, win_amd64]
105
112
python : ["cp313t", "3.13"]
@@ -142,13 +149,6 @@ jobs:
142
149
shell : bash -el {0}
143
150
run : echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"
144
151
145
- # TODO: Remove this and installing build deps in cibw_before_build.sh
146
- # after NumPy can be built with a released Cython
147
- - name : Define CIBW_BUILD_FRONTEND environment variable
148
- if : ${{ matrix.python[0] == 'cp313t' }}
149
- run : |
150
- echo -e 'CIBW_BUILD_FRONTEND="pip; args: --no-build-isolation"' >> "$GITHUB_ENV"
151
-
152
152
- name : Build wheels
153
153
154
154
with :
@@ -157,6 +157,7 @@ jobs:
157
157
CIBW_PRERELEASE_PYTHONS : True
158
158
CIBW_FREE_THREADED_SUPPORT : True
159
159
CIBW_BUILD : ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
160
+ CIBW_BUILD_FRONTEND : ${{ matrix.cibw_build_frontend }}
160
161
161
162
- name : Set up Python
162
163
uses : mamba-org/setup-micromamba@v1
0 commit comments