diff --git a/workbench/Dockerfile b/workbench/Dockerfile
index 5d0d1ab42f695d56f81f8c1e5d281f909e54a623..d8f65eb8e8263f1fc3c16c1e56e241ae61b15c0c 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 \