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

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