X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fpython-tools-install.sh;h=d652763c911fa91664d773120fbe402a1ea33559;hb=refs%2Fchanges%2F84%2F15284%2F1;hp=c57609ca9efbd2a0be3f340f1c6b4ab1934fe963;hpb=0ea259773ff37f8a8fdade2424548a31c0bd6590;p=releng%2Fglobal-jjb.git diff --git a/shell/python-tools-install.sh b/shell/python-tools-install.sh index c57609ca..d652763c 100644 --- a/shell/python-tools-install.sh +++ b/shell/python-tools-install.sh @@ -8,17 +8,30 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## +echo "---> python-tools-install.sh" 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.15.0 +lftools[openstack]~=0.23.1 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 -python -m pip install --user --quiet --upgrade pip~=18.0 setuptools~=40.2.0 +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