Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,13 @@ jobs:
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.11'
- uses: docker/setup-qemu-action@v3
if: ${{matrix.os_python.arch == 'aarch64'}}
name: Set up QEMU
- name: Install cibuildwheel
# note: sync cibuildwheel version with gradle task sdks:python:bdistPy* steps
run: pip install cibuildwheel==2.23.3 setuptools
run: pip install cibuildwheel==3.3.1 setuptools
- name: Build wheel
# Only build wheel if it is one of the target versions for this platform, otherwise no-op
if: ${{ contains(matrix.os_python.python, matrix.py_version) }}
Expand Down
3 changes: 2 additions & 1 deletion sdks/python/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ platform_identifiers_map.each { platform, idsuffix ->
}
getVersionsAsList('python_versions').each { it ->
def pyversion = it.replace('.', '')
def cibuildwheel_version = it == '3.10' ? '2.23.3' : '3.3.1'

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