File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -244,13 +244,13 @@ jobs:
244244 - name : Install Python
245245 uses : actions/setup-python@v5
246246 with :
247- python-version : ' 3.10 '
247+ python-version : ' 3.11 '
248248 - uses : docker/setup-qemu-action@v3
249249 if : ${{matrix.os_python.arch == 'aarch64'}}
250250 name : Set up QEMU
251251 - name : Install cibuildwheel
252252 # note: sync cibuildwheel version with gradle task sdks:python:bdistPy* steps
253- run : pip install cibuildwheel==2.23.3 setuptools
253+ run : pip install cibuildwheel==3.3.1 setuptools
254254 - name : Build wheel
255255 # Only build wheel if it is one of the target versions for this platform, otherwise no-op
256256 if : ${{ contains(matrix.os_python.python, matrix.py_version) }}
Original file line number Diff line number Diff line change @@ -200,6 +200,7 @@ platform_identifiers_map.each { platform, idsuffix ->
200200 }
201201 getVersionsAsList(' python_versions' ). each { it ->
202202 def pyversion = it. replace(' .' , ' ' )
203+ def cibuildwheel_version = it == ' 3.10' ? ' 2.23.3' : ' 3.3.1'
203204
204205 project. tasks. register(" bdistPy${ pyversion}${ platform} " ) {
205206 description " Build a Python wheel distribution for Py${ pyversion} ${ platform} "
@@ -220,7 +221,7 @@ platform_identifiers_map.each { platform, idsuffix ->
220221 args ' -c' , " . ${ envdir} /bin/activate && " +
221222 // note: sync cibuildwheel version with GitHub Action
222223 // .github/workflows/build_wheel.yml:build_wheels "Install cibuildwheel" step
223- " pip install cibuildwheel==2.23.3 setuptools && " +
224+ " pip install cibuildwheel==${ cibuildwheel_version } setuptools && " +
224225 " cibuildwheel --print-build-identifiers --platform ${ platform} --archs ${ archs} && " +
225226 " cibuildwheel --output-dir ${ buildDir} --platform ${ platform} --archs ${ archs} "
226227 }
You can’t perform that action at this time.
0 commit comments