From 7f064ed20dd2fdf8ed25976b840afa250023e657 Mon Sep 17 00:00:00 2001 From: Eric Ball Date: Thu, 15 Jul 2021 11:41:22 -0700 Subject: [PATCH] Fix: Install lftools before other packages lftools has an incompatibility with python-docker >4.2, and this requirement seems to be causing a conflict with other packages that python-tools-install is installing. This causes an older version of lftools to be installed (0.31.1, the last version when docker was not pinned). By installing lftools first, its requirements will take precedence over other packages. Issue: RELENG-3792 Change-Id: I0d3ca88dbe51c97ce495f6db0eb66829a61ad3bc Signed-off-by: Eric Ball --- shell/python-tools-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/python-tools-install.sh b/shell/python-tools-install.sh index e2a84a52..7abaed9e 100644 --- a/shell/python-tools-install.sh +++ b/shell/python-tools-install.sh @@ -23,7 +23,6 @@ if [[ ! -f /tmp/pre-build-complete ]]; then echo "Generating Requirements File" cat << 'EOF' > "$requirements_file" -lftools[openstack] python-heatclient python-openstackclient python-magnumclient @@ -53,6 +52,7 @@ EOF python3 -m pip install --user --quiet --upgrade pip python3 -m pip install --user --quiet --no-warn-script-location --upgrade setuptools + python3 -m pip install --user --quiet --no-warn-script-location --upgrade lftools[openstack] python3 -m pip install --user --quiet --no-warn-script-location --upgrade \ --upgrade-strategy eager -r "$requirements_file" # installs are silent, show version details in log -- 2.16.6