From 47802d22bc2831f6fbd1b35f616cf7c975be6a19 Mon Sep 17 00:00:00 2001 From: Valentyn Tymofieiev Date: Fri, 17 May 2024 11:09:49 -0700 Subject: [PATCH] Upgrade cibuildwheel and also install setuptools. --- .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 f7410d6536fe..a1e3d7dee8a7 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 e10b2a90dfbf..72ea587b88f8 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} " }