Skip to content

Commit 4dafdcb

Browse files
committed
ci: bump cibuildwheel to v4.2.1 and drop cpython-prerelease enable
3.15/3.15t are built by default since cibuildwheel v4.2.0, making CIBW_ENABLE=cpython-prerelease a no-op. Remove it from all three wheel jobs and bump the action pin from v4.2.0 to v4.2.1.
1 parent 7c4691b commit 4dafdcb

1 file changed

Lines changed: 3 additions & 18 deletions

File tree

‎.github/workflows/build-wheel.yml‎

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -223,19 +223,14 @@ jobs:
223223

224224
- name: Build cuda.bindings wheel
225225
if: ${{ env.BUILD_BINDINGS == 'true' }}
226-
uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
226+
uses: pypa/cibuildwheel@e090b81e30c4d855ea63bf4b6e59204c09a101ae # v4.2.1
227227
with:
228228
package-dir: ./cuda_bindings/
229229
output-dir: ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}
230230
env:
231231
CIBW_BUILD: ${{ env.CIBW_BUILD }}
232232
CIBW_BEFORE_BUILD_LINUX: 'python -m pip install --upgrade "pip>=25.3"'
233233
CIBW_BEFORE_BUILD_WINDOWS: 'python -m pip install --upgrade "pip>=25.3" delvewheel'
234-
# TODO: remove cpython-prerelease once 3.15 is officially supported
235-
# Allow CPython pre-release builds (currently 3.15 / 3.15t). This is a
236-
# no-op for stable Python versions because CIBW_BUILD still filters
237-
# the target version.
238-
CIBW_ENABLE: cpython-prerelease
239234
# CIBW mounts the host filesystem under /host
240235
CIBW_ENVIRONMENT_LINUX: >
241236
CUDA_PATH=/host/${{ env.CUDA_PATH }}
@@ -330,19 +325,14 @@ jobs:
330325

331326
- name: Build cuda.core wheel
332327
if: ${{ env.BUILD_CORE == 'true' }}
333-
uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
328+
uses: pypa/cibuildwheel@e090b81e30c4d855ea63bf4b6e59204c09a101ae # v4.2.1
334329
with:
335330
package-dir: ./cuda_core/
336331
output-dir: ${{ env.CUDA_CORE_ARTIFACTS_DIR }}
337332
env:
338333
CIBW_BUILD: ${{ env.CIBW_BUILD }}
339334
CIBW_BEFORE_BUILD_LINUX: 'python -m pip install --upgrade "pip>=25.3"'
340335
CIBW_BEFORE_BUILD_WINDOWS: 'python -m pip install --upgrade "pip>=25.3" delvewheel'
341-
# TODO: remove cpython-prerelease once 3.15 is officially supported
342-
# Allow CPython pre-release builds (currently 3.15 / 3.15t). This is a
343-
# no-op for stable Python versions because CIBW_BUILD still filters
344-
# the target version.
345-
CIBW_ENABLE: cpython-prerelease
346336
# CIBW mounts the host filesystem under /host
347337
CIBW_ENVIRONMENT_LINUX: >
348338
CUDA_PATH=/host/${{ env.CUDA_PATH }}
@@ -624,19 +614,14 @@ jobs:
624614
625615
- name: Build cuda.core wheel
626616
if: ${{ !inputs.single-cuda-major && env.BUILD_CORE == 'true' }}
627-
uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
617+
uses: pypa/cibuildwheel@e090b81e30c4d855ea63bf4b6e59204c09a101ae # v4.2.1
628618
with:
629619
package-dir: ./cuda_core/
630620
output-dir: ${{ env.CUDA_CORE_ARTIFACTS_DIR }}
631621
env:
632622
CIBW_BUILD: ${{ env.CIBW_BUILD }}
633623
CIBW_BEFORE_BUILD_LINUX: 'python -m pip install --upgrade "pip>=25.3"'
634624
CIBW_BEFORE_BUILD_WINDOWS: 'python -m pip install --upgrade "pip>=25.3" delvewheel'
635-
# TODO: remove cpython-prerelease once 3.15 is officially supported
636-
# Allow CPython pre-release builds (currently 3.15 / 3.15t). This is a
637-
# no-op for stable Python versions because CIBW_BUILD still filters
638-
# the target version.
639-
CIBW_ENABLE: cpython-prerelease
640625
# CIBW mounts the host filesystem under /host
641626
CIBW_ENVIRONMENT_LINUX: >
642627
CUDA_PATH=/host/${{ env.CUDA_PATH }}

0 commit comments

Comments
 (0)