X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fpython-tools-install.sh;h=c81736092f7e05e55ac721ca7fb8d2301ea53ab9;hb=621934533e5283057f15d573e765aa8727d2ca19;hp=8251487d9c3639dc2195ec919fc75184003c4033;hpb=1a7660851f6e1a32ff2485b75042c65fa8c6e611;p=releng%2Fglobal-jjb.git diff --git a/shell/python-tools-install.sh b/shell/python-tools-install.sh index 8251487d..c8173609 100644 --- a/shell/python-tools-install.sh +++ b/shell/python-tools-install.sh @@ -13,7 +13,7 @@ echo "---> python-tools-install.sh" set -eufo pipefail # Souce the python version from lf-env.sh if available. -python="python3.8.13" +python="python3" if [[ -f ~/lf-env.sh ]]; then source ~/lf-env.sh lf-activate-venv --python "$python" lftools @@ -68,10 +68,10 @@ EOF fi fi - 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 \ + python3 -m pip install --quiet --upgrade pip + python3 -m pip install --quiet --no-warn-script-location --upgrade setuptools + python3 -m pip install --quiet --no-warn-script-location --upgrade lftools[openstack] + python3 -m pip install --quiet --no-warn-script-location --upgrade \ --upgrade-strategy eager -r "$requirements_file" # installs are silent, show version details in log python3 --version