From 991097f4b240cdc1587735c4549b4418e32d6d8d Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Fri, 12 Apr 2024 09:47:24 +0300 Subject: [PATCH] Workbench: Pin the Python packaing package. Otherwise pip tries to uninstall it and fails because it was installed by APT. --- workbench/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/workbench/Dockerfile b/workbench/Dockerfile index eaca6d1..69d8ddd 100644 --- a/workbench/Dockerfile +++ b/workbench/Dockerfile @@ -164,8 +164,9 @@ ENV PIPX_HOME /opt/pipx ENV PIPX_BIN_DIR /opt/pipx/bin # hadolint ignore=DL3013 RUN export PIP_CONSTRAINT=/tmp/constraint.txt && \ - echo 'resolvelib==0.5.4' > "$PIP_CONSTRAINT" && \ echo 'Cython < 3.0' >> "$PIP_CONSTRAINT" && \ + echo 'packaging==24.0' >> "$PIP_CONSTRAINT" && \ + echo 'resolvelib==0.5.4' >> "$PIP_CONSTRAINT" && \ python3 -m pip install --no-cache-dir --break-system-packages \ https://github.com/aws/aws-cli/archive/refs/heads/v2.zip \ Glances \ -- GitLab