From 7ad73640a89f840e91da3769d40c7df78cce1b94 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Fri, 20 Sep 2024 16:26:47 +0300 Subject: [PATCH] Revert "Workbench: Remove the Pyhon packaging constraint." This reverts commit 86e0e33ad324f881384b8316b9bc6f118b6c8feb. # Conflicts: # workbench/Dockerfile --- workbench/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/workbench/Dockerfile b/workbench/Dockerfile index 5d0d1ab..d8f65eb 100644 --- a/workbench/Dockerfile +++ b/workbench/Dockerfile @@ -173,7 +173,9 @@ RUN apt-get update && \ ENV PIPX_HOME /opt/pipx ENV PIPX_BIN_DIR /opt/pipx/bin # hadolint ignore=DL3013 -RUN python3 -m pip install --no-cache-dir --break-system-packages \ +RUN export PIP_CONSTRAINT=/tmp/constraint.txt && \ + echo 'packaging==24.1' >> "$PIP_CONSTRAINT" && \ + python3 -m pip install --no-cache-dir --break-system-packages \ Glances \ PyGObject \ PyMySQL \ -- GitLab