Skip to content

Commit aeb71d2

Browse files
committed
Update cibuildwheel
1 parent 546ce59 commit aeb71d2

1 file changed

Lines changed: 27 additions & 3 deletions

File tree

.github/workflows/build-wheel.yml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,20 @@ jobs:
164164
cuda-version: ${{ inputs.cuda-version }}
165165

166166
- name: Build cuda.bindings wheel
167-
uses: pypa/cibuildwheel@8d2b08b68458a16aeb24b64e68a09ab1c8e82084 # v3.4.1
167+
uses: pypa/cibuildwheel@54327ab9d35de03b359ac25c97de9417d94639c0 # v4.0.0rc1
168168
with:
169169
package-dir: ./cuda_bindings/
170170
output-dir: ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}
171171
env:
172172
CIBW_BUILD: ${{ env.CIBW_BUILD }}
173+
# Allow CPython pre-release builds (currently 3.15 / 3.15t). This is a
174+
# no-op for stable Python versions because CIBW_BUILD still filters
175+
# the target version.
176+
CIBW_ENABLE: cpython-prerelease
177+
# v4.0 made delvewheel the default Windows repair command. We rely
178+
# on cuda.pathfinder for runtime DLL discovery, so preserve the
179+
# previous behaviour (no automatic DLL bundling) for now.
180+
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: ""
173181
# CIBW mounts the host filesystem under /host
174182
CIBW_ENVIRONMENT_LINUX: >
175183
CUDA_PATH=/host/${{ env.CUDA_PATH }}
@@ -228,12 +236,20 @@ jobs:
228236
if-no-files-found: error
229237

230238
- name: Build cuda.core wheel
231-
uses: pypa/cibuildwheel@8d2b08b68458a16aeb24b64e68a09ab1c8e82084 # v3.4.1
239+
uses: pypa/cibuildwheel@54327ab9d35de03b359ac25c97de9417d94639c0 # v4.0.0rc1
232240
with:
233241
package-dir: ./cuda_core/
234242
output-dir: ${{ env.CUDA_CORE_ARTIFACTS_DIR }}
235243
env:
236244
CIBW_BUILD: ${{ env.CIBW_BUILD }}
245+
# Allow CPython pre-release builds (currently 3.15 / 3.15t). This is a
246+
# no-op for stable Python versions because CIBW_BUILD still filters
247+
# the target version.
248+
CIBW_ENABLE: cpython-prerelease
249+
# v4.0 made delvewheel the default Windows repair command. We rely
250+
# on cuda.pathfinder for runtime DLL discovery, so preserve the
251+
# previous behaviour (no automatic DLL bundling) for now.
252+
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: ""
237253
# CIBW mounts the host filesystem under /host
238254
CIBW_ENVIRONMENT_LINUX: >
239255
CUDA_PATH=/host/${{ env.CUDA_PATH }}
@@ -414,12 +430,20 @@ jobs:
414430
rmdir $OLD_BASENAME
415431
416432
- name: Build cuda.core wheel
417-
uses: pypa/cibuildwheel@8d2b08b68458a16aeb24b64e68a09ab1c8e82084 # v3.4.1
433+
uses: pypa/cibuildwheel@54327ab9d35de03b359ac25c97de9417d94639c0 # v4.0.0rc1
418434
with:
419435
package-dir: ./cuda_core/
420436
output-dir: ${{ env.CUDA_CORE_ARTIFACTS_DIR }}
421437
env:
422438
CIBW_BUILD: ${{ env.CIBW_BUILD }}
439+
# Allow CPython pre-release builds (currently 3.15 / 3.15t). This is a
440+
# no-op for stable Python versions because CIBW_BUILD still filters
441+
# the target version.
442+
CIBW_ENABLE: cpython-prerelease
443+
# v4.0 made delvewheel the default Windows repair command. We rely
444+
# on cuda.pathfinder for runtime DLL discovery, so preserve the
445+
# previous behaviour (no automatic DLL bundling) for now.
446+
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: ""
423447
# CIBW mounts the host filesystem under /host
424448
CIBW_ENVIRONMENT_LINUX: >
425449
CUDA_PATH=/host/${{ env.CUDA_PATH }}

0 commit comments

Comments
 (0)