Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion .github/workflows/build-pyarrow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ jobs:
- cp313-cp313
- cp314-cp314
- cp314-cp314t
exclude:
# 16.1.0 predates cp313 (released Oct 2024, ~5 months after this
# release) and never shipped a wheel past cp312 upstream either.
- version: "16.1.0"
python: cp313-cp313
- version: "16.1.0"
python: cp314-cp314
- version: "16.1.0"
python: cp314-cp314t

env:
PYARROW_VERSION: ${{ matrix.version }}
Expand Down Expand Up @@ -135,13 +144,23 @@ jobs:
DIST=/tmp/arrow-dist
BUILD=/tmp/arrow-build

# BUNDLED thirdparty deps are built via ExternalProject_Add with their own
# vendored cmake_minimum_required (e.g. gflags' is 2.8.12), below CMake 4's
# floor of 3.5. The image's cmake (pipx-installed, >= 4) hard-errors on that
# instead of warning. We don't control the ExternalProject configure line, but
# CMake also reads CMAKE_POLICY_VERSION_MINIMUM from the environment, which
# reaches every nested cmake invocation this build makes (gotcha 257).
export CMAKE_POLICY_VERSION_MINIMUM=3.5

# ninja and OpenSSL headers aren't in the base image
dnf install -y --setopt=install_weak_deps=False ninja-build openssl-devel

mkdir -p "$BUILD"
pushd "$BUILD"
# The image ships OpenSSL shared-only, so force it shared (the rest stay static).
# UNITY_BUILD off: bundled c-ares isn't unity-clean and upstream never compiles it.
# `-include cstdint`: older bundled Abseil (16.1.0 pins 20211102.0) relies on <cstdint>
# arriving transitively, which GCC 13+'s libstdc++ no longer does; EP_CXX_FLAGS hands it on.
cmake \
-DARROW_DEPENDENCY_SOURCE=BUNDLED \
-DARROW_DEPENDENCY_USE_SHARED=OFF \
Expand Down Expand Up @@ -178,6 +197,7 @@ jobs:
-DARROW_RPATH_ORIGIN=ON \
-DARROW_USE_CCACHE=ON \
-DCMAKE_BUILD_TYPE=release \
-DCMAKE_CXX_FLAGS="-include cstdint" \
-DCMAKE_INSTALL_PREFIX="$DIST" \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_UNITY_BUILD=OFF \
Expand Down Expand Up @@ -224,7 +244,9 @@ jobs:
# numpy/libcst: riscv64 wheels only in our registry
"$pybin" -m pip install -U --extra-index-url "$PIP_EXTRA_INDEX_URL" \
--only-binary=numpy,libcst "numpy>=2.0.0" "libcst>=1.8.6"
"$pybin" -m pip install -U "cython>=3.1" scikit-build-core setuptools_scm wheel build
# 16.1.0's setup.py imports pkg_resources, removed in setuptools 82 (gotcha 29),
# and passes an absolute write_to, rejected by setuptools_scm >= 10.1 (gotcha 663)
"$pybin" -m pip install -U "cython>=3.1" scikit-build-core "setuptools_scm<10" wheel build "setuptools<82"
mkdir -p /output
pushd "$ARROW_SRC/python"
"$pybin" -m build --wheel --no-isolation \
Expand Down
1 change: 1 addition & 0 deletions docs/packages/pyarrow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package-name: pyarrow
source-code: https://github.com/apache/arrow
license: Apache-2.0
versions:
- version: 16.1.0
- version: 25.0.1
tag: pyarrow-v25.0.1-20260902125649
files:
Expand Down
Loading