From e0b407d13495c8d06cefd4320071619c21e4ca16 Mon Sep 17 00:00:00 2001 From: Pirmin Vogel Date: Tue, 17 Jan 2023 13:43:05 +0100 Subject: [PATCH] [python-requirements] Pin setuptools version to < 66.0.0 Starting with setuptools version 66.0.0, legacy package version names such as 0.23ubuntu1 are no longer supported. Since some of our Python dependencies use this format, we pin the setuptools version to the last version before this change. This unblocks CI and gives us time to upgrade/rebase our dependencies. Signed-off-by: Pirmin Vogel --- ci/install-build-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/install-build-deps.sh b/ci/install-build-deps.sh index a999fe30aa..4a2faa0857 100755 --- a/ci/install-build-deps.sh +++ b/ci/install-build-deps.sh @@ -69,7 +69,7 @@ case "$ID-$VERSION_ID" in # an older version of a package must be used for a certain Python version. # If that information is not read, pip installs the latest version, which # then fails to run. - $SUDO_CMD pip3 install -U pip setuptools + $SUDO_CMD pip3 install -U pip "setuptools<66.0.0" $SUDO_CMD pip3 install -r python-requirements.txt