[rhoai-2.25][RHAIENG-6197] fix(datascience): restore Feast on ppc64le/s390x by enabling Arrow S3/Substrait in PyArrow build#2503
Conversation
Signed-off-by: puneetsharma21 <puneet.sharma21@ibm.com>
📝 WalkthroughWalkthroughChangesPyArrow build configuration
Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: atheo89 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Tracked in RHAIENG-6197 — reproduced on |
|
/build-konflux |
|
/hold this needs the fix discussed on slack, otherwise s390x build is failing |
Fixes RHAIENG-6197.
Problem
On RHOAI 2.25 Data Science images (
quay.io/rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:rhoai-2.25), Feast is installed but broken on ppc64le and s390x:Reproduced on 2026-07-10 against the published
rhoai-2.25image:pyarrow 17.0.0,pyarrow._s3fsmissing, Feast import/CLI failspyarrow._s3fspresent,feast versionworksRoot cause: on Power/Z, PyArrow is source-built in
Dockerfile.konflux.cpuwithout S3/Substrait enabled. On amd64/arm64, prebuilt wheels already include those modules.Fix
Cherry-pick for
rhoai-2.25of the Konflux-side PyArrow build fix originally merged tomainin #1630 (upstream equivalent: opendatahub-io#2570).Replaces #1655, which became unmergeable after
rhoai-2.25advanced and its head branch could not be retargeted fromodh-on-pz/notebooks-downstream.Adds two CMake flags to the source-built PyArrow on
ppc64leands390xinDockerfile.konflux.cpu:-DARROW_S3=ON— enablespyarrow._s3fs, required by Feast file/offline store code paths-DARROW_SUBSTRAIT=ON— enables Substrait support required by Feast / ibis-substrait integrationsContext
The Data Science image ships Feast (
feast~=0.54.1injupyter/datascience/ubi9-python-3.12/pyproject.toml).Same class of bug previously seen on newer streams:
pyarrow._s3fson RHOAI 3.4s3fsandsubstraitso Feast CLI can startpyarrow < 20.0.0under gcc-toolset-14Scope
Only
jupyter/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu, in thepyarrow-builderstage used forppc64leands390x.Test plan
/build-konfluxfor datascience onppc64leands390xpython -c "from pyarrow._s3fs import S3FileSystem"feast versionsucceeds