X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fpypi-dist-build.sh;h=b2be4af0562d8678379e5c582b9d0e4067640e75;hb=refs%2Fchanges%2F50%2F72650%2F2;hp=9341a1ff6f066ccf1dda3c2783709889e92fde6f;hpb=c53e11db14ab7abede74c74801bec9ca381c8cc6;p=releng%2Fglobal-jjb.git diff --git a/shell/pypi-dist-build.sh b/shell/pypi-dist-build.sh index 9341a1ff..b2be4af0 100644 --- a/shell/pypi-dist-build.sh +++ b/shell/pypi-dist-build.sh @@ -16,12 +16,11 @@ echo "---> pypi-dist-build.sh" # Ensure we fail the job if any steps fail. set -eu -o pipefail -echo "INFO: creating virtual environment" -virtualenv -p python3 /tmp/pypi -PATH=/tmp/pypi/bin:$PATH -pipup="python -m pip install -q --upgrade setuptools twine wheel" -echo "INFO: $pipup" -$pipup +# shellcheck disable=SC1090 +source ~/lf-env.sh + +# Version controlled by JJB_VERSION +lf-activate-venv setuptools==65.7.0 urllib3~=1.26.15 twine wheel readline bdist="" if $BUILD_BDIST_WHEEL; then