This is an automated email from the ASF dual-hosted git repository.

jrmccluskey pushed a commit to branch revert-37504-cibuildwheelExperiment
in repository https://gitbox.apache.org/repos/asf/beam.git

commit c3ee890cb04635a178c7cfe4972a718f4af26458
Author: Jack McCluskey <[email protected]>
AuthorDate: Wed Feb 25 15:43:03 2026 -0500

    Revert "Update cibuildwheel dependency (#37504)"
    
    This reverts commit 872c671b15b40d222356940097914750a90a4734.
---
 .github/workflows/build_wheels.yml | 4 ++--
 sdks/python/build.gradle           | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build_wheels.yml 
b/.github/workflows/build_wheels.yml
index 1bd4d297a29..7bbbb1a2e3d 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.11'
+        python-version: '3.10'
     - 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==3.3.1 setuptools
+      run: pip install cibuildwheel==2.23.3 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 6e0786d9855..970020da860 100644
--- a/sdks/python/build.gradle
+++ b/sdks/python/build.gradle
@@ -200,7 +200,6 @@ 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}"
@@ -221,7 +220,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==${cibuildwheel_version} setuptools 
&& " +
+                 "pip install cibuildwheel==2.23.3 setuptools && " +
                  "cibuildwheel --print-build-identifiers --platform 
${platform} --archs ${archs} && " +
                  "cibuildwheel --output-dir ${buildDir} --platform ${platform} 
--archs ${archs} "
            }

Reply via email to