From 2ce66d4fd84b60b0446b0f89644aaa00c6c6e587 Mon Sep 17 00:00:00 2001 From: Paul Schweigert Date: Tue, 6 Aug 2024 15:41:44 -0400 Subject: [PATCH] Upgrade packages in Ray node (#1441) * update packages Signed-off-by: Paul S. Schweigert * upgrade pip and setuptools Signed-off-by: Paul S. Schweigert * updating pip and setuptools Signed-off-by: Paul S. Schweigert --------- Signed-off-by: Paul S. Schweigert --- Dockerfile-ray-node | 8 +++++++- client/requirements.txt | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile-ray-node b/Dockerfile-ray-node index 80e320b78..a611adb7d 100644 --- a/Dockerfile-ray-node +++ b/Dockerfile-ray-node @@ -1,5 +1,5 @@ FROM registry.access.redhat.com/ubi9-minimal:9.4@sha256:104cf11d890aeb7dd5728b7d7732e175a0e4018f1bb00d2faebcc8f6bf29bd52 -RUN microdnf install -y python3.11-3.11.7 python3.11-pip-22.3.1 python3.11-devel-3.11.7 vim-enhanced-8.2.2637 wget-1.21.1 &&\ +RUN microdnf install -y python3.11-3.11.7 python3.11-devel-3.11.7 vim-enhanced-8.2.2637 wget-1.21.1 &&\ microdnf clean all RUN ln -s /usr/bin/python3.11 /usr/local/bin/python3 && \ ln -s /usr/bin/python3.11 /usr/local/bin/python &&\ @@ -16,6 +16,12 @@ RUN mkdir /data && chown 1000:1000 /data COPY client ./qs WORKDIR /qs +# Need versions of pip/setuptools more recent than provided by UBI image +RUN python3.11 -m ensurepip --upgrade + +RUN pip install --upgrade --no-cache-dir pip>=24.2 &&\ + pip install --upgrade --no-cache-dir setuptools>=72.1.0 + RUN pip install -r requirements.txt --no-cache-dir &&\ pip install . --no-cache-dir &&\ pip install --no-cache-dir pyarrow==14.0.1 &&\ diff --git a/client/requirements.txt b/client/requirements.txt index 970a872d8..fc8f28e86 100644 --- a/client/requirements.txt +++ b/client/requirements.txt @@ -15,3 +15,4 @@ opentelemetry.instrumentation.requests>=0.40b0 ipywidgets>=8.1.2 ipython>=8.10.0 numpy>=1.26.4,<2 +aiohttp>=3.10.0