This is an automated email from the ASF dual-hosted git repository.
hxb pushed a commit to branch release-2.0
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-2.0 by this push:
new fa8d68cf580 [FLINK-37804][python][build] Fix build mac wheels error in
GHA
fa8d68cf580 is described below
commit fa8d68cf58061d450e3aa515ba51d5d3613c4497
Author: xingbo <[email protected]>
AuthorDate: Thu May 22 19:58:55 2025 +0800
[FLINK-37804][python][build] Fix build mac wheels error in GHA
---
.github/workflows/nightly.yml | 4 +++-
flink-python/pyproject.toml | 3 +--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 08d27bce06f..77a58ecef01 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -99,7 +99,9 @@ jobs:
- name: "Setup Python"
uses: actions/setup-python@v5
with:
- python-version: '3.x'
+ # 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
+ python-version: '3.8'
- name: "Install cibuildwheel"
run: python -m pip install cibuildwheel==2.16.5
- name: "Build python wheels for ${{ matrix.os_name }}"
diff --git a/flink-python/pyproject.toml b/flink-python/pyproject.toml
index 248a86017ec..59e00151694 100644
--- a/flink-python/pyproject.toml
+++ b/flink-python/pyproject.toml
@@ -22,8 +22,7 @@ requires = [
"setuptools>=18.0",
"wheel",
"apache-beam>=2.54.0,<=2.61.0",
- "cython>=0.29.24",
- "fastavro>=1.1.0,!=1.8.0"
+ "cython>=0.29.24"
]
[tool.cibuildwheel]