Skip to content

Commit

Permalink
[python-requirements] Pin setuptools version to < 66.0.0
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
vogelpi committed Jan 17, 2023
1 parent 590d196 commit f8dd3d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/install-build-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f8dd3d8

Please sign in to comment.