You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by jr...@apache.org on 2023/07/17 19:45:52 UTC
[beam] branch master updated: Pin Build Python Wheels to Cython < 1 (#27525)
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 310a5c7fbc2 Pin Build Python Wheels to Cython < 1 (#27525)
310a5c7fbc2 is described below
commit 310a5c7fbc24c458ca98f4918a162aa8bc6da307
Author: Jack McCluskey <34...@users.noreply.github.com>
AuthorDate: Mon Jul 17 15:45:44 2023 -0400
Pin Build Python Wheels to Cython < 1 (#27525)
* Pin Build Python Wheels to Cython < 1
* Pin gradle usage
* Correct version pinning
---
.github/workflows/build_wheels.yml | 4 ++--
sdks/python/build.gradle | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index 3befac33f22..3df0281059f 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -269,7 +269,7 @@ jobs:
# TODO: https://github.com/apache/beam/issues/23048
CIBW_SKIP: "*-musllinux_*"
CIBW_ENVIRONMENT: "SETUPTOOLS_USE_DISTUTILS=stdlib"
- CIBW_BEFORE_BUILD: pip install cython numpy && pip install --upgrade setuptools
+ CIBW_BEFORE_BUILD: pip install cython==0.29.36 numpy && pip install --upgrade setuptools
run: cibuildwheel --print-build-identifiers && cibuildwheel --output-dir wheelhouse
shell: bash
- name: install sha512sum on MacOS
@@ -295,7 +295,7 @@ jobs:
# TODO: https://github.com/apache/beam/issues/23048
CIBW_SKIP: "*-musllinux_*"
CIBW_ENVIRONMENT: "SETUPTOOLS_USE_DISTUTILS=stdlib"
- CIBW_BEFORE_BUILD: pip install cython numpy && pip install --upgrade setuptools
+ CIBW_BEFORE_BUILD: pip install cython==0.29.36 numpy && pip install --upgrade setuptools
run: cibuildwheel --print-build-identifiers && cibuildwheel --output-dir wheelhouse
shell: bash
- name: Add RC checksums
diff --git a/sdks/python/build.gradle b/sdks/python/build.gradle
index 0c2ed72dfba..88d0abae83b 100644
--- a/sdks/python/build.gradle
+++ b/sdks/python/build.gradle
@@ -96,7 +96,7 @@ platform_identifiers_map.each { platform, idsuffix ->
exec {
environment CIBW_BUILD: "cp${pyversion}-${idsuffix}"
environment CIBW_ENVIRONMENT: "SETUPTOOLS_USE_DISTUTILS=stdlib"
- environment CIBW_BEFORE_BUILD: "pip install cython numpy && pip install --upgrade setuptools"
+ environment CIBW_BEFORE_BUILD: "pip install cython==0.29.36 numpy && pip install --upgrade setuptools"
// note: sync cibuildwheel version with GitHub Action
// .github/workflow/build_wheel.yml:build_wheels "Install cibuildwheel" step
executable 'sh'