Skip to content

Commit 162b792

Browse files
committed
RHAIENG-2420: chore(deps): update ONNX and Arrow versions for from-source compilation (opendatahub-io#1817)
This is a follow-up to * red-hat-data-services#1813 and * red-hat-data-services#1812
1 parent 6859b5a commit 162b792

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ if [ "$TARGETARCH" = "ppc64le" ] || [ "$TARGETARCH" = "s390x" ]; then
153153
dnf install -y "${packages[@]}"
154154
dnf clean all
155155
# Build and collect pyarrow wheel
156-
git clone --depth 1 --branch "apache-arrow-17.0.0" https://github.com/apache/arrow.git
156+
git clone --depth 1 --branch "apache-arrow-21.0.0" https://github.com/apache/arrow.git
157157
cd arrow/cpp
158158
mkdir release && cd release
159159
ARROW_S3_FLAG=""
@@ -221,7 +221,7 @@ EOF
221221
#######################################################
222222
FROM common-builder AS onnx-builder
223223
ARG TARGETARCH
224-
ARG ONNX_VERSION=v1.19.0
224+
ARG ONNX_VERSION=v1.20.0
225225
WORKDIR /root
226226
RUN <<'EOF'
227227
set -Eeuxo pipefail

runtimes/datascience/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ if [ "$TARGETARCH" = "ppc64le" ]; then cat > /etc/profile.d/ppc64le.sh <<'PROFIL
8787
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
8888
export LD_LIBRARY_PATH=/usr/local/lib64:/usr/local/lib:/usr/lib64:/usr/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
8989
export OPENBLAS_VERSION=0.3.30
90-
export ONNX_VERSION=1.19.0
91-
export PYARROW_VERSION=17.0.0
90+
export ONNX_VERSION=1.20.0
91+
export PYARROW_VERSION=21.0.0
9292
export PATH="$HOME/.cargo/bin:$PATH"
9393
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
9494
PROFILE_EOF
@@ -159,7 +159,7 @@ WORKDIR /tmp/build-wheels
159159
RUN /bin/bash <<'EOF'
160160
set -Eeuxo pipefail
161161
if [ "$TARGETARCH" = "s390x" ]; then
162-
echo 'export PYARROW_VERSION=17.0.0' >> /etc/profile.d/s390x.sh
162+
echo 'export PYARROW_VERSION=21.0.0' >> /etc/profile.d/s390x.sh
163163
fi
164164
EOF
165165

@@ -269,7 +269,7 @@ USER root
269269
WORKDIR /root
270270

271271
ARG TARGETARCH
272-
ENV ONNX_VERSION=1.19.0
272+
ENV ONNX_VERSION=1.20.0
273273

274274
RUN echo "onnx-builder stage TARGETARCH: ${TARGETARCH}"
275275

@@ -300,7 +300,7 @@ USER root
300300
WORKDIR /root
301301

302302
ARG TARGETARCH
303-
ENV PYARROW_VERSION=17.0.0
303+
ENV PYARROW_VERSION=21.0.0
304304

305305
RUN echo "arrow-builder stage TARGETARCH: ${TARGETARCH}"
306306

0 commit comments

Comments
 (0)