This is an automated email from the ASF dual-hosted git repository.
yangxk1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-graphar.git
The following commit(s) were added to refs/heads/main by this push:
new bcc59802 fix(CI): upgrade cibuildwheel >= 2.22 to ensure download
retry and use uv on MacOS to avoid rate limits (#908)
bcc59802 is described below
commit bcc59802c02b6bc99c61b71970fc4f12757f28d2
Author: Jason <[email protected]>
AuthorDate: Thu May 7 21:08:32 2026 +0800
fix(CI): upgrade cibuildwheel >= 2.22 to ensure download retry and use uv
on MacOS to avoid rate limits (#908)
* fix(workflow): update cibuildwheel version to >=2.22 in Python wheel
workflow
* fix(docs): correct user to users and update Python version requirement to
>=3.9 in README
* fix(workflow): adjust cibuildwheel installation for macOS to use uv
frontend
---
.github/workflows/python-wheel-workflow.yml | 8 +++++++-
python/README.md | 4 ++--
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/python-wheel-workflow.yml
b/.github/workflows/python-wheel-workflow.yml
index 4504bd40..c8040325 100644
--- a/.github/workflows/python-wheel-workflow.yml
+++ b/.github/workflows/python-wheel-workflow.yml
@@ -114,6 +114,8 @@ jobs:
CIBW_PLATFORM: ${{ matrix.os }}
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-*"
CIBW_SKIP: "*-musllinux_*"
+ # Use uv on macOS to avoid transient GitHub rate limits when cibuildwheel
+ CIBW_BUILD_FRONTEND: ${{ matrix.os == 'macos' && 'build[uv]' || 'build'
}}
# Pin arch to the matrix platform
CIBW_ARCHS: ${{ matrix.platform }}
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.os == 'linux' &&
format('manylinux{0}', matrix.manylinux) || '' }}
@@ -232,7 +234,11 @@ jobs:
run: |
set -euxo pipefail
python -m pip install --upgrade pip
- python -m pip install packaging cibuildwheel
+ if [ "${{ matrix.os }}" = "macos" ]; then
+ python -m pip install packaging "cibuildwheel[uv]>=2.22"
+ else
+ python -m pip install packaging "cibuildwheel>=2.22"
+ fi
mkdir -p python/dist
python -m cibuildwheel --output-dir python/dist "$PKGDIR"
diff --git a/python/README.md b/python/README.md
index c6a5e8ff..70325da9 100644
--- a/python/README.md
+++ b/python/README.md
@@ -1,12 +1,12 @@
# GraphAr Python SDK
-GraphAr Python SDK provides Python bindings for the GraphAr C++ library,
allowing user to work with GraphAr formatted graph data in Python environments.
It includes both a high-level API for data manipulation and a command-line
interface for common operations.
+GraphAr Python SDK provides Python bindings for the GraphAr C++ library,
allowing users to work with GraphAr formatted graph data in Python
environments. It includes both a high-level API for data manipulation and a
command-line interface for common operations.
## Installation
### Prerequisites
-- Python >= 3.7
+- Python >= 3.9
- pip (latest version recommended)
- CMake >= 3.15 (for building from source)
- Apache Arrow >= 12.0 (for building from source)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]