This is an automated email from the ASF dual-hosted git repository.
jrmccluskey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 872c671b15b Update cibuildwheel dependency (#37504)
872c671b15b is described below
commit 872c671b15b40d222356940097914750a90a4734
Author: Jack McCluskey <[email protected]>
AuthorDate: Thu Feb 19 14:44:49 2026 -0500
Update cibuildwheel dependency (#37504)
* [DO NOT MERGE] Unpin cibuildwheel
* pinned version
* move assignment of version
---
.github/workflows/build_wheels.yml | 4 ++--
sdks/python/build.gradle | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/build_wheels.yml
b/.github/workflows/build_wheels.yml
index 7bbbb1a2e3d..1bd4d297a29 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -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) }}
diff --git a/sdks/python/build.gradle b/sdks/python/build.gradle
index 970020da860..6e0786d9855 100644
--- a/sdks/python/build.gradle
+++ b/sdks/python/build.gradle
@@ -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}"
@@ -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} "
}