Skip to content

Commit 0d54973

Browse files
committed
ci: Update CIBW to v3.2.1
Signed-off-by: Zach Lewis <[email protected]>
1 parent aa31926 commit 0d54973

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/wheel.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157

158158
- name: Build wheels
159159
# Note: the version of cibuildwheel should be kept in sync with src/python/stubs/CMakeLists.txt
160-
uses: pypa/cibuildwheel@d4a2945fcc8d13f20a1b99d461b8e844d5fc6e23 # v2.21.1
160+
uses: pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1
161161
env:
162162
# pass GITHUB_ACTIONS through to the build container so that custom
163163
# processes can tell they are running in CI.
@@ -259,7 +259,7 @@ jobs:
259259
restore-keys: wheel-${{runner.os}}-${{matrix.python}}
260260

261261
- name: Build wheels
262-
uses: pypa/cibuildwheel@d4a2945fcc8d13f20a1b99d461b8e844d5fc6e23 # v2.21.1
262+
uses: pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1
263263
env:
264264
CIBW_ENVIRONMENT_PASS_LINUX: GITHUB_ACTIONS
265265
CIBW_BEFORE_ALL: "source src/build-scripts/build_ccache.bash && pwd && /project/ext/dist/bin/ccache --max-size=200M && /project/ext/dist/bin/ccache -sv && export CMAKE_C_COMPILER_LAUNCHER=/project/ext/dist/bin/ccache CMAKE_CXX_COMPILER_LAUNCHER=/project/ext/dist/bin/ccache"
@@ -360,7 +360,7 @@ jobs:
360360
brew uninstall --ignore-dependencies openexr imath || true
361361
362362
- name: Build wheels
363-
uses: pypa/cibuildwheel@d4a2945fcc8d13f20a1b99d461b8e844d5fc6e23 # v2.21.1
363+
uses: pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1
364364
env:
365365
CIBW_BUILD: ${{ matrix.python }}
366366
CIBW_ARCHS: ${{ matrix.arch }}
@@ -442,7 +442,7 @@ jobs:
442442
brew install ninja ccache || true
443443
444444
- name: Build wheels
445-
uses: pypa/cibuildwheel@d4a2945fcc8d13f20a1b99d461b8e844d5fc6e23 # v2.21.1
445+
uses: pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1
446446
env:
447447
CIBW_BUILD: ${{ matrix.python }}
448448
CIBW_ARCHS: ${{ matrix.arch }}
@@ -507,7 +507,7 @@ jobs:
507507
python-version: '3.9'
508508

509509
- name: Build wheels
510-
uses: pypa/cibuildwheel@d4a2945fcc8d13f20a1b99d461b8e844d5fc6e23 # v2.21.1
510+
uses: pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1
511511
env:
512512
CIBW_BUILD: ${{ matrix.python }}
513513
CIBW_ARCHS: ${{ matrix.arch }}

src/python/stubs/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set (_stub_file "${CMAKE_SOURCE_DIR}/src/python/stubs/OpenImageIO/__init__.pyi")
88
# the version of python that OpenImageIO is being built against.
99
# Note: the version of cibuildwheel should be kept in sync with .github/workflows/wheel.yml
1010
add_custom_command (COMMAND ${Python3_EXECUTABLE} ${CMAKE_SOURCE_DIR}/src/python/stubs/generate_stubs_local.py
11-
--repo-root ${CMAKE_SOURCE_DIR} --python-version="3.11" --cibuildwheel-version="2.21.1"
11+
--repo-root ${CMAKE_SOURCE_DIR} --python-version="3.11" --cibuildwheel-version="3.2.1"
1212
--output-dir "${CMAKE_BINARY_DIR}/wheelhouse"
1313
OUTPUT "${CMAKE_BINARY_DIR}/wheelhouse/OpenImageIO/__init__.pyi"
1414
DEPENDS "${CMAKE_SOURCE_DIR}/src/python/stubs/generate_stubs.py"

0 commit comments

Comments
 (0)