Commit c3407d45 authored by nimrod's avatar nimrod
Browse files

Workbench: Force the Python packaging version.

An older version than the one in Debian is being required and the Debian
version is being uninstalled. Removing the Debian package will remove
gyp and npm. The Python uninstallation fails so let's try to force the
version in Debian instead.
parent adec71fd
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -172,7 +172,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 \