]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
scripts: pin pip to 10.0.0 on missing BASH func 1008/head
authorAlfredo Deza <adeza@redhat.com>
Mon, 16 Apr 2018 20:59:48 +0000 (16:59 -0400)
committerAlfredo Deza <adeza@redhat.com>
Mon, 16 Apr 2018 20:59:48 +0000 (16:59 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
scripts/build_utils.sh

index 2001b31ea9ec071763c3f47dc050bec20b3d2e09..0511158286e1793ec289a9707a594b8b0a91c888 100644 (file)
@@ -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"