@@ -100,6 +100,13 @@ jobs:
100100 - [windows-2022, win_amd64]
101101 # TODO: support PyPy?
102102 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'
103110 exclude :
104111 - buildplat : [windows-2022, win_amd64]
105112 python : ["cp313t", "3.13"]
@@ -142,13 +149,6 @@ jobs:
142149 shell : bash -el {0}
143150 run : echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"
144151
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-
152152 - name : Build wheels
153153154154 with :
@@ -157,6 +157,7 @@ jobs:
157157 CIBW_PRERELEASE_PYTHONS : True
158158 CIBW_FREE_THREADED_SUPPORT : True
159159 CIBW_BUILD : ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
160+ CIBW_BUILD_FRONTEND : ${{ matrix.cibw_build_frontend }}
160161
161162 - name : Set up Python
162163 uses : mamba-org/setup-micromamba@v1
0 commit comments