Ci/py314#797
Open
hongzhi-gao wants to merge 3 commits into
Open
Conversation
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.
Contributor
There was a problem hiding this comment.
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' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
manylinux2014for Linux Python 3.9-3.13 wheels.manylinux_2_28.