From fb0aef086464a7acb4a42d2eae9f651fc7c64fd6 Mon Sep 17 00:00:00 2001 From: Donato Capitella Date: Mon, 9 Mar 2026 11:08:11 +0000 Subject: [PATCH] Downgrade Python to 3.12 and remove the `--no-deps` flag from a pip install command in the Dockerfile. --- Dockerfile | 4 ++-- scripts/install_deps.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9fea0c3..df1c427 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN chmod +x /tmp/install_rocm_sdk.sh && \ /tmp/install_rocm_sdk.sh # 4. Python Venv Setup -RUN /usr/bin/python3.13 -m venv /opt/venv +RUN /usr/bin/python3.12 -m venv /opt/venv ENV VIRTUAL_ENV=/opt/venv ENV PATH=/opt/venv/bin:$PATH ENV PIP_NO_CACHE_DIR=1 @@ -70,7 +70,7 @@ RUN export HIP_DEVICE_LIB_PATH=$(find /opt/rocm -type d -name bitcode -print -qu echo "Compiling with Bitcode: $HIP_DEVICE_LIB_PATH" && \ export CMAKE_ARGS="-DROCM_PATH=/opt/rocm -DHIP_PATH=/opt/rocm -DAMDGPU_TARGETS=gfx1151 -DHIP_ARCHITECTURES=gfx1151" && \ python -m pip wheel --no-build-isolation --no-deps -w /tmp/dist -v . && \ - python -m pip install --no-deps /tmp/dist/*.whl + python -m pip install /tmp/dist/*.whl RUN python -m pip install ray diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh index 7d92254..c164e6a 100755 --- a/scripts/install_deps.sh +++ b/scripts/install_deps.sh @@ -4,7 +4,7 @@ set -e # 1. System Base & Build Tools # Added 'gperftools-libs' for tcmalloc (fixes double-free) dnf -y install --setopt=install_weak_deps=False --nodocs \ - python3.13 python3.13-devel git rsync libatomic bash ca-certificates curl \ + python3.12 python3.12-devel git rsync libatomic bash ca-certificates curl \ gcc gcc-c++ binutils make ffmpeg-free \ cmake ninja-build aria2c tar xz vim nano dialog \ libdrm-devel zlib-devel openssl-devel pgrep \