Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Pipeline #4082 passed
......@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment