Skip to content

Commit 06dd48e

Browse files
authored
Revert "Update cibuildwheel dependency (#37504)" (#37713)
This reverts commit 872c671.
1 parent caf6617 commit 06dd48e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/build_wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,13 +244,13 @@ jobs:
244244
- name: Install Python
245245
uses: actions/setup-python@v5
246246
with:
247-
python-version: '3.11'
247+
python-version: '3.10'
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==3.3.1 setuptools
253+
run: pip install cibuildwheel==2.23.3 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) }}

sdks/python/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ 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'
204203

205204
project.tasks.register("bdistPy${pyversion}${platform}") {
206205
description "Build a Python wheel distribution for Py${pyversion} ${platform}"
@@ -221,7 +220,7 @@ platform_identifiers_map.each { platform, idsuffix ->
221220
args '-c', ". ${envdir}/bin/activate && " +
222221
// note: sync cibuildwheel version with GitHub Action
223222
// .github/workflows/build_wheel.yml:build_wheels "Install cibuildwheel" step
224-
"pip install cibuildwheel==${cibuildwheel_version} setuptools && " +
223+
"pip install cibuildwheel==2.23.3 setuptools && " +
225224
"cibuildwheel --print-build-identifiers --platform ${platform} --archs ${archs} && " +
226225
"cibuildwheel --output-dir ${buildDir} --platform ${platform} --archs ${archs} "
227226
}

0 commit comments

Comments
 (0)