]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
build_utils.sh: Don't update pip after installing 1031/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 16 May 2018 16:21:29 +0000 (12:21 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 16 May 2018 16:47:53 +0000 (12:47 -0400)
Attempting to update pip was resulting in job failures because the wheel
wasn't present in the local pip cache.

Since we pinned pip to 10.0.0 in
https://github.com/ceph/ceph-build/pull/1007, we don't need to update
pip immediately after.

Signed-off-by: David Galloway <dgallowa@redhat.com>
scripts/build_utils.sh

index 88202424a03e1ab4c50278ce4c08a645657fe3d5..540548dfd335ffb278b65d623f8888fd1ad0063a 100644 (file)
@@ -67,7 +67,6 @@ install_python_packages_no_binary () {
     # circumvents the problem
     $VENV/easy_install --upgrade pip
     $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"
     pip_download setuptools
@@ -108,7 +107,6 @@ install_python_packages () {
     # circumvents the problem
     $VENV/easy_install --upgrade pip
     $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"
     pip_download setuptools