From: Alfredo Deza Date: Mon, 16 Apr 2018 20:10:08 +0000 (-0400) Subject: scripts: pin pip to 10.0.0 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1007%2Fhead;p=ceph-build.git scripts: pin pip to 10.0.0 Signed-off-by: Alfredo Deza --- diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index e4762265..2001b31e 100644 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -59,7 +59,10 @@ install_python_packages_no_binary () { 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"