From 2b06e9d0e59cb3af7f01f4c251dec73e38396e22 Mon Sep 17 00:00:00 2001 From: Sai Kiran Nukala Date: Wed, 21 Jan 2026 11:51:13 +0530 Subject: [PATCH 1/4] added pytest pinning version and updated pyarrow_19.0.0_ubi_9.3.sh --- p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh b/p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh index 79f5215042..0ed7b3ea58 100644 --- a/p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh +++ b/p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh @@ -814,7 +814,7 @@ echo "testing pyarrow...." cd .. export LD_LIBRARY_PATH=${SNAPPY_PREFIX}/lib:${C_ARES_PREFIX}/lib:${THRIFT_PREFIX}/lib:${UTF8PROC_PREFIX}/lib:${RE2_PREFIX}/lib:${LIBPROTO_INSTALL}/lib64:${GRPC_PREFIX}/lib:${ORC_PREFIX}/lib:${OpenBLASInstallPATH}/lib -pip install -r python/requirements-test.txt +pip install -r python/requirements-test.txt "pytest<9" PYARROW_LOCATION=$(python -c "import os; import pyarrow; print(os.path.dirname(pyarrow.__file__))") export PARQUET_TEST_DATA="$(pwd)/cpp/submodules/parquet-testing/data" From d3a99d511b509390517cf618974fc0768bc08324 Mon Sep 17 00:00:00 2001 From: Sai Kiran Nukala Date: Wed, 21 Jan 2026 14:54:27 +0530 Subject: [PATCH 2/4] added ld_library_path and updated pyarrow_19.0.0_ubi_9.3.sh --- p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh b/p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh index 0ed7b3ea58..b7fa6ffaba 100644 --- a/p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh +++ b/p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh @@ -24,6 +24,7 @@ PACKAGE_DIR=arrow/python PACKAGE_VERSION=${1:-apache-arrow-19.0.0} PACKAGE_URL=https://github.com/apache/arrow version=$(echo "$PACKAGE_VERSION" | sed 's/^apache-arrow-//') +CURRENT_DIR="${PWD}" echo "Install dependencies and tools." yum install -y python python-pip python-devel wget git make python-devel xz-devel openssl-devel cmake zlib-devel libjpeg-devel gcc-toolset-13 cmake libevent libtool pkg-config brotli-devel.ppc64le bzip2-devel lz4-devel @@ -791,6 +792,8 @@ else export PYARROW_WITH_CUDA=0 fi +export LD_LIBRARY_PATH=${CURRENT_DIR}/pyarrow_prefix/lib/:$LD_LIBRARY_PATH + cd python if ! pip install . ; then From 8b3833bfabca98184113b5a32b6d39d9cb94fb72 Mon Sep 17 00:00:00 2001 From: Sai Kiran Nukala Date: Wed, 21 Jan 2026 14:59:08 +0530 Subject: [PATCH 3/4] added cython version and updated pyarrow_19.0.0_ubi_9.3.sh --- p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh b/p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh index b7fa6ffaba..2ff7d8e1cf 100644 --- a/p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh +++ b/p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh @@ -757,7 +757,7 @@ popd cd $SCRIPT_DIR echo "Installing prerequisite for arrow..." -pip install setuptools-scm Cython +pip install setuptools-scm "cython<3" pip install numpy==2.0.2 export PYARROW_BUNDLE_ARROW_CPP=1 From df794bfcd2f54b476fb39c1e3b761ff30e78724a Mon Sep 17 00:00:00 2001 From: Sai Kiran Nukala Date: Wed, 21 Jan 2026 15:08:48 +0530 Subject: [PATCH 4/4] Update pyarrow_19.0.0_ubi_9.3.sh --- p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh b/p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh index 2ff7d8e1cf..3902b4db2b 100644 --- a/p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh +++ b/p/pyarrow/pyarrow_19.0.0_ubi_9.3.sh @@ -28,7 +28,6 @@ CURRENT_DIR="${PWD}" echo "Install dependencies and tools." yum install -y python python-pip python-devel wget git make python-devel xz-devel openssl-devel cmake zlib-devel libjpeg-devel gcc-toolset-13 cmake libevent libtool pkg-config brotli-devel.ppc64le bzip2-devel lz4-devel - export PATH=/opt/rh/gcc-toolset-13/root/usr/bin:$PATH SCRIPT_DIR=$(pwd)