X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fpython-tools-install.sh;h=2e514d5b4700cb26f15899611ef46b4219fe3364;hb=33360fbae380bd61fe215f103d7547c9faccd49d;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..2e514d5b 100644 --- a/shell/python-tools-install.sh +++ b/shell/python-tools-install.sh @@ -13,12 +13,24 @@ 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.22.0 python-heatclient~=1.16.1 python-openstackclient~=3.16.0 +dogpile.cache~=0.6.8 # Version 0.7.[01] seems to break openstackclient +niet~=1.4.2 # Extract values from yaml 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