55 # A tag or branch name or a commit hash for the scipy/scipy repo, for which
66 # to build wheels. This is normally set to `main` in the main branch of this
77 # repo, and to a tag name (e.g., `v2.3.2`) on a release branch.
8- SOURCE_REF_TO_BUILD : main
8+ SOURCE_REF_TO_BUILD : v3.10.8
99
1010
1111on :
@@ -109,7 +109,7 @@ jobs:
109109 - name : Upload sdist result
110110 uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
111111 with :
112- name : cibw- sdist-license
112+ name : sdist-license
113113 path : dist/*.tar.gz
114114 if-no-files-found : error
115115
@@ -152,7 +152,7 @@ jobs:
152152 cibw_archs : " AMD64"
153153 - os : windows-11-arm
154154 cibw_archs : " ARM64"
155- - os : macos-15-intel
155+ - os : macos-13
156156 cibw_archs : " x86_64"
157157 - os : macos-14
158158 cibw_archs : " arm64"
@@ -167,17 +167,11 @@ jobs:
167167 - name : Download sdist
168168 uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
169169 with :
170- name : cibw- sdist-license
170+ name : sdist-license
171171 path : dist/
172172
173- - name : Update LICENSE for binary distrobution
174- run : |
175- tar -xvf dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
176- cat ${{ github.workspace }}/tools/wheels/LICENSE_binary.txt >> matplotlib*/LICENSE/LICENSE
177- tar -cvf dist/${{ needs.build_sdist.outputs.SDIST_NAME }} matplotlib*
178-
179173 - name : Build wheels for CPython 3.14
180- uses : pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2 .1
174+ uses : pypa/cibuildwheel@95d2f3a92fbf80abe066b09418bbf128a8923df2 # v3.0 .1
181175 with :
182176 package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
183177 env :
@@ -187,7 +181,7 @@ jobs:
187181 CIBW_MANYLINUX_X86_64_IMAGE : manylinux_2_28
188182
189183 - name : Build wheels for CPython 3.13
190- uses : pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2 .1
184+ uses : pypa/cibuildwheel@95d2f3a92fbf80abe066b09418bbf128a8923df2 # v3.0 .1
191185 with :
192186 package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
193187 env :
@@ -196,30 +190,51 @@ jobs:
196190 CIBW_ARCHS : ${{ matrix.cibw_archs }}
197191
198192 - name : Build wheels for CPython 3.12
199- uses : pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2 .1
193+ uses : pypa/cibuildwheel@95d2f3a92fbf80abe066b09418bbf128a8923df2 # v3.0 .1
200194 with :
201195 package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
202196 env :
203197 CIBW_BUILD : " cp312-*"
204198 CIBW_ARCHS : ${{ matrix.cibw_archs }}
205199
206200 - name : Build wheels for CPython 3.11
207- uses : pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2 .1
201+ uses : pypa/cibuildwheel@95d2f3a92fbf80abe066b09418bbf128a8923df2 # v3.0 .1
208202 with :
209203 package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
210204 env :
211205 CIBW_BUILD : " cp311-*"
212206 CIBW_ARCHS : ${{ matrix.cibw_archs }}
213207
214- - name : Build wheels for PyPy
215- uses : pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1
208+ - name : Build wheels for CPython 3.10
209+ uses : pypa/cibuildwheel@95d2f3a92fbf80abe066b09418bbf128a8923df2 # v3.0.1
210+ with :
211+ package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
212+ env :
213+ CIBW_BUILD : " cp310-*"
214+ CIBW_ARCHS : ${{ matrix.cibw_archs }}
215+ # Ignore because dependencies do not provide win-arm wheels on 3.10; should be removed on merge up
216+ if : matrix.os != 'windows-11-arm'
217+
218+ - name : Build wheels for PyPy 3.10
219+ uses : pypa/cibuildwheel@95d2f3a92fbf80abe066b09418bbf128a8923df2 # v3.0.1
220+ with :
221+ package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
222+ env :
223+ CIBW_BUILD : " pp310-*"
224+ CIBW_ARCHS : ${{ matrix.cibw_archs }}
225+ CIBW_ENABLE : pypy
226+ if : matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest' && matrix.os != 'windows-11-arm'
227+
228+ - name : Build wheels for PyPy 3.11
229+ uses : pypa/cibuildwheel@95d2f3a92fbf80abe066b09418bbf128a8923df2 # v3.0.1
216230 with :
217231 package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
218232 env :
219233 CIBW_BUILD : " pp311-*"
220234 CIBW_ARCHS : ${{ matrix.cibw_archs }}
221235 CIBW_ENABLE : pypy
222236 if : matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest' && matrix.os != 'windows-11-arm'
237+
223238
224239 - uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
225240 with :
0 commit comments