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

hxb pushed a commit to branch release-1.20
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.20 by this push:
     new f37d09fb583 [FLINK-37804][python][build] Fix build mac wheels error in 
GHA
f37d09fb583 is described below

commit f37d09fb583562502b39cb128c0b3611b48c66f0
Author: xingbo <[email protected]>
AuthorDate: Thu May 22 20:05:45 2025 +0800

    [FLINK-37804][python][build] Fix build mac wheels error in GHA
---
 flink-python/pyproject.toml                   | 3 +--
 tools/azure-pipelines/build-python-wheels.yml | 4 +++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/flink-python/pyproject.toml b/flink-python/pyproject.toml
index c21b2fccd5e..d388781325c 100644
--- a/flink-python/pyproject.toml
+++ b/flink-python/pyproject.toml
@@ -22,8 +22,7 @@ requires = [
     "setuptools>=18.0",
     "wheel",
     "apache-beam>=2.43.0,<2.49.0",
-    "cython>=0.29.24",
-    "fastavro>=1.1.0,!=1.8.0"
+    "cython>=0.29.24"
 ]
 
 [tool.cibuildwheel]
diff --git a/tools/azure-pipelines/build-python-wheels.yml 
b/tools/azure-pipelines/build-python-wheels.yml
index d68069c1632..bc7e97e23f6 100644
--- a/tools/azure-pipelines/build-python-wheels.yml
+++ b/tools/azure-pipelines/build-python-wheels.yml
@@ -33,7 +33,9 @@ jobs:
     steps:
       - task: UsePythonVersion@0
         inputs:
-          versionSpec: '3.11'
+          # pinning to 3.8.x to avoid issues with cibuildwheel for macOS with 
python 3.8 wheel,
+          # if drop support of 3.8,  change to 3.x
+          versionSpec: '3.8'
       - script: |
           cd flink-python
           python -m pip install --upgrade pip

Reply via email to