]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: ceph-disk tests need to install pip > 6.1 4921/head
authorLoic Dachary <ldachary@redhat.com>
Wed, 10 Jun 2015 19:00:42 +0000 (21:00 +0200)
committerLoic Dachary <ldachary@redhat.com>
Wed, 10 Jun 2015 19:00:42 +0000 (21:00 +0200)
Otherwise it will not be able to use the wheelhouse.

http://tracker.ceph.com/issues/11952 Fixes: #11952

Signed-off-by: Loic Dachary <loic@dachary.org>
src/test/ceph-disk.sh

index 9ae6de7fada9c94345b51e633067f28f7b0bf54a..ce00e948f7b63c65efda700f2e1bd6d2458d21b2 100755 (executable)
@@ -24,6 +24,9 @@ DIR=test-ceph-disk
 virtualenv virtualenv-$DIR
 . virtualenv-$DIR/bin/activate
 (
+    # older versions of pip will not install wrap_console scripts
+    # when using wheel packages
+    pip install --upgrade 'pip >= 6.1'
     if test -d ceph-detect-init/wheelhouse ; then
         wheelhouse="--no-index --use-wheel --find-links=ceph-detect-init/wheelhouse"
     fi