Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Ignore false-neg ShellCheck SC2154 unused vars
[releng/global-jjb.git]
/
shell
/
python-tools-install.sh
diff --git
a/shell/python-tools-install.sh
b/shell/python-tools-install.sh
index
02070b4
..
4506062
100644
(file)
--- a/
shell/python-tools-install.sh
+++ b/
shell/python-tools-install.sh
@@
-14,11
+14,13
@@
set -eux -o pipefail
REQUIREMENTS_FILE=$(mktemp /tmp/requirements-XXXX.txt)
cat << EOF > "$REQUIREMENTS_FILE"
REQUIREMENTS_FILE=$(mktemp /tmp/requirements-XXXX.txt)
cat << EOF > "$REQUIREMENTS_FILE"
-lftools
~=0.17.1
+lftools
[openstack]~=0.18.0
python-heatclient~=1.16.1
python-openstackclient~=3.16.0
EOF
python-heatclient~=1.16.1
python-openstackclient~=3.16.0
EOF
-python -m pip install --user --quiet --upgrade pip~=18.0 setuptools~=40.2.0
+# Use `python -m pip` to ensure we are using the latest version of pip
+python -m pip install --user --quiet --upgrade pip
+python -m pip install --user --quiet --upgrade setuptools
python -m pip install --user --quiet --upgrade -r "$REQUIREMENTS_FILE"
pip freeze
python -m pip install --user --quiet --upgrade -r "$REQUIREMENTS_FILE"
pip freeze