X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fpython-tools-install.sh;h=e0b04dbe6218908445448172289b8020ccc2fb9a;hb=refs%2Fchanges%2F52%2F13852%2F1;hp=74807dc5de50c38a5217db13e25e635728eac211;hpb=f68122d22bc4007d472cd5daff30824e732a91bc;p=releng%2Fglobal-jjb.git diff --git a/shell/python-tools-install.sh b/shell/python-tools-install.sh index 74807dc5..e0b04dbe 100644 --- a/shell/python-tools-install.sh +++ b/shell/python-tools-install.sh @@ -13,12 +13,22 @@ set -eux -o pipefail REQUIREMENTS_FILE=$(mktemp /tmp/requirements-XXXX.txt) +# Note: To test lftools master branch change the lftools configuration below in +# the requirements file from "lftools[openstack]~=#.##.#" to +# git+https://github.com/lfit/releng-lftools.git#egg=lftools[openstack] + cat << EOF > "$REQUIREMENTS_FILE" -lftools~=0.17.1 +lftools[openstack]~=0.19.1 python-heatclient~=1.16.1 python-openstackclient~=3.16.0 EOF -pip install --user --quiet --upgrade pip==18.0 setuptools==40.0.0 -pip install --user --quiet --upgrade -r "$REQUIREMENTS_FILE" +echo "Requirements file" +echo "-----------------" +cat "$REQUIREMENTS_FILE" + +# 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