You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by tv...@apache.org on 2024/05/21 23:38:52 UTC

(beam) branch master updated: Upgrade cibuildwheel in another place as well. (#31337)

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

tvalentyn 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 98b5d5b93d3 Upgrade cibuildwheel in another place as well. (#31337)
98b5d5b93d3 is described below

commit 98b5d5b93d3d4b1e1fe4e5ac50a01325a143d632
Author: tvalentyn <tv...@users.noreply.github.com>
AuthorDate: Tue May 21 16:38:45 2024 -0700

    Upgrade cibuildwheel in another place as well. (#31337)
---
 .github/workflows/build_wheels.yml | 2 +-
 sdks/python/build.gradle           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index f7410d6536f..a1e3d7dee8a 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -267,7 +267,7 @@ jobs:
       name: Set up QEMU
     - name: Install cibuildwheel
       # note: sync cibuildwheel version with gradle task sdks:python:bdistPy* steps
-      run: pip install cibuildwheel==2.9.0
+      run: pip install cibuildwheel==2.17.0 setuptools
     - name: Build wheel
       working-directory: apache-beam-source
       env:
diff --git a/sdks/python/build.gradle b/sdks/python/build.gradle
index e10b2a90dfb..72ea587b88f 100644
--- a/sdks/python/build.gradle
+++ b/sdks/python/build.gradle
@@ -166,7 +166,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.17.0 && " +
+                 "pip install cibuildwheel==2.17.0 setuptools && " +
                  "cibuildwheel --print-build-identifiers --platform ${platform} --archs ${archs} && " +
                  "cibuildwheel --output-dir ${buildDir} --platform ${platform} --archs ${archs} "
            }