Skip to content

Ci/py314#797

Open
hongzhi-gao wants to merge 3 commits into
apache:developfrom
hongzhi-gao:ci/py314
Open

Ci/py314#797
hongzhi-gao wants to merge 3 commits into
apache:developfrom
hongzhi-gao:ci/py314

Conversation

@hongzhi-gao
Copy link
Copy Markdown
Contributor

Summary

  • Use manylinux2014 for Linux Python 3.9-3.13 wheels.
  • Build Python 3.14 wheels separately with manylinux_2_28.

Build Python 3.9-3.13 wheels on manylinux2014 and move Python 3.14 to a separate manylinux_2_28 job.
Restore pyarrow version constraints in Python packaging files without changing CI workflow updates.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the GitHub Actions wheel build workflow to use different manylinux images depending on the Python ABI, keeping older Python wheels compatible with manylinux2014 while building Python 3.14 wheels with a newer manylinux_2_28 image.

Changes:

  • Split Linux cibuildwheel runs into two steps: cp39–cp313 (manylinux2014) and cp314 (manylinux_2_28).
  • Adjust Linux manylinux image selection accordingly while keeping the existing macOS build behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +165 to +181
yum install -y wget tar gzip pkgconfig libuuid-devel libblkid-devel
elif command -v dnf >/dev/null 2>&1; then
dnf install -y wget tar gzip pkgconfig libuuid-devel libblkid-devel
else
echo "No supported package manager found (expected yum or dnf)." ; exit 1
fi
ARCH="$(uname -m)"
mkdir -p /opt/java
if [ "$ARCH" = "x86_64" ]; then
JDK_URL="https://download.oracle.com/java/17/archive/jdk-17.0.12_linux-x64_bin.tar.gz"
else
# aarch64
JDK_URL="https://download.oracle.com/java/17/archive/jdk-17.0.12_linux-aarch64_bin.tar.gz"
fi
curl -L -o /tmp/jdk17.tar.gz "$JDK_URL"
tar -xzf /tmp/jdk17.tar.gz -C /opt/java
export JAVA_HOME=$(echo /opt/java/jdk-17.0.12*)
Comment on lines +162 to +170
CIBW_BEFORE_ALL_LINUX: |
set -euxo pipefail
if command -v yum >/dev/null 2>&1; then
yum install -y wget tar gzip pkgconfig libuuid-devel libblkid-devel
elif command -v dnf >/dev/null 2>&1; then
dnf install -y wget tar gzip pkgconfig libuuid-devel libblkid-devel
else
echo "No supported package manager found (expected yum or dnf)." ; exit 1
fi
run: cibuildwheel --output-dir wheelhouse python

- name: Build wheels via cibuildwheel (Linux cp314)
if: matrix.platform != 'macos'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants