Skip to content

Commit ddf27d7

Browse files
BLD/CI: Use cibuildwheel v3 (#810)
1 parent 4f2a870 commit ddf27d7

2 files changed

Lines changed: 9 additions & 13 deletions

File tree

.github/workflows/emscripten.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: actions/checkout@v4
3838

3939
- name: Build and test PyWavelets
40-
uses: pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
40+
uses: pypa/cibuildwheel@ffd835cef18fa11522f608fc0fa973b89f5ddc87 # v3.1.0
4141
env:
4242
CIBW_PLATFORM: pyodide
4343
CIBW_TEST_REQUIRES: pytest matplotlib

.github/workflows/wheel_tests_and_release.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,13 @@ jobs:
5757
echo "CIBW_BUILD_FRONTEND=$NO_BUILD_ISOLATION" >> "$GITHUB_ENV"
5858
5959
- name: Build the wheel
60-
uses: pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
60+
uses: pypa/cibuildwheel@ffd835cef18fa11522f608fc0fa973b89f5ddc87 # v3.1.0
6161
with:
6262
output-dir: dist
6363
env:
6464
CIBW_BUILD: ${{ matrix.cibw_python }}-*
6565
CIBW_ARCHS_LINUX: ${{ matrix.cibw_arch }}
66-
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
67-
CIBW_MUSLLINUX_X86_64_IMAGE: musllinux_1_2
68-
CIBW_FREE_THREADED_SUPPORT: True
66+
CIBW_ENABLE: cpython-freethreading
6967
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7068
with:
7169
name: wheels_linux_${{ matrix.cibw_arch }}_${{ matrix.cibw_python }}
@@ -91,14 +89,12 @@ jobs:
9189
python-version: "3.12"
9290

9391
- name: Build the wheel
94-
uses: pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
92+
uses: pypa/cibuildwheel@ffd835cef18fa11522f608fc0fa973b89f5ddc87 # v3.1.0
9593
with:
9694
output-dir: dist
9795
env:
9896
CIBW_BUILD: ${{ matrix.cibw_python }}-*
9997
CIBW_ARCHS_LINUX: ${{ matrix.cibw_arch }}
100-
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014
101-
CIBW_MUSLLINUX_AARCH64_IMAGE: musllinux_1_2
10298
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
10399
with:
104100
name: wheels_linux_${{ matrix.cibw_arch }}_${{ matrix.cibw_python }}
@@ -145,7 +141,7 @@ jobs:
145141
146142
- name: Build wheels for CPython (macOS) (x86_64)
147143
if: matrix.cibw_arch == 'x86_64'
148-
uses: pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
144+
uses: pypa/cibuildwheel@ffd835cef18fa11522f608fc0fa973b89f5ddc87 # v3.1.0
149145
with:
150146
output-dir: dist
151147
env:
@@ -154,13 +150,13 @@ jobs:
154150

155151
- name: Build wheels for CPython (macOS) (arm64)
156152
if: matrix.cibw_arch == 'arm64'
157-
uses: pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
153+
uses: pypa/cibuildwheel@ffd835cef18fa11522f608fc0fa973b89f5ddc87 # v3.1.0
158154
with:
159155
output-dir: dist
160156
env:
161157
CIBW_BUILD: ${{ matrix.cibw_python }}-*
162158
CIBW_ARCHS_MACOS: ${{ matrix.cibw_arch }}
163-
CIBW_FREE_THREADED_SUPPORT: True
159+
CIBW_ENABLE: cpython-freethreading
164160

165161
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
166162
with:
@@ -212,13 +208,13 @@ jobs:
212208
echo "CIBW_BUILD_FRONTEND=$NO_BUILD_ISOLATION" >> "$GITHUB_ENV"
213209
214210
- name: Build Windows wheels for CPython
215-
uses: pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
211+
uses: pypa/cibuildwheel@ffd835cef18fa11522f608fc0fa973b89f5ddc87 # v3.1.0
216212
with:
217213
output-dir: dist
218214
env:
219215
CIBW_BUILD: ${{ matrix.cibw_python }}-*
220216
CIBW_ARCHS_WINDOWS: ${{ matrix.cibw_arch }}
221-
CIBW_FREE_THREADED_SUPPORT: True
217+
CIBW_ENABLE: cpython-freethreading
222218

223219
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
224220
with:

0 commit comments

Comments
 (0)