From: Alfredo Deza Date: Mon, 16 Apr 2018 20:59:48 +0000 (-0400) Subject: scripts: pin pip to 10.0.0 on missing BASH func X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cbae304f0805d4322031acfdcdee39fe63618891;p=ceph-build.git scripts: pin pip to 10.0.0 on missing BASH func Signed-off-by: Alfredo Deza --- diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index 2001b31e..05111582 100644 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -96,8 +96,10 @@ install_python_packages () { mkdir -p $PIP_SDIST_INDEX echo "Ensuring latest pip is installed" - - pip_download pip + # XXX This means we are now pinning to 10.0.0, to prevent issues on pip + # mismtaching versions, but also that we need to revisit this when newer + # options are needed + $VENV/pip install "pip==10.0.0" $VENV/pip install --upgrade --exists-action=i --find-links="file://$PIP_SDIST_INDEX" --no-index pip echo "Updating setuptools"