From 2ebeecec48a0f5bb2fe9b8fd0fa344b801fbc987 Mon Sep 17 00:00:00 2001 From: Francesco Canovai Date: Mon, 28 Apr 2025 12:50:15 +0100 Subject: [PATCH] ci: pin pip version (#171) Pip 25.1 breaks the creation of the requirements.txt. Pin to a lower version. Closes #169 Signed-off-by: Francesco Canovai --- .github/workflows/update.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 45ade9de..0f871c43 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -29,7 +29,8 @@ jobs: max_attempts: 3 command: | # pip-tools provides pip-compile used by update.sh - pip3 install --upgrade pip-tools pip + # TODO: Pinning pip due to https://github.com/jazzband/pip-tools/issues/2176, remove when fixed + pip3 install --upgrade pip-tools pip\<25.1 export PATH=$HOME/.local/bin:$PATH echo "Updating Debian bullseye images" ./Debian/update.sh -d bullseye @@ -45,7 +46,8 @@ jobs: max_attempts: 3 command: | # pip-tools provides pip-compile used by update.sh - pip3 install --upgrade pip-tools pip + # TODO: Pinning pip due to https://github.com/jazzband/pip-tools/issues/2176, remove when fixed + pip3 install --upgrade pip-tools pip\<25.1 export PATH=$HOME/.local/bin:$PATH echo "Updating Debian bookworm images" ./Debian/update.sh -d bookworm