]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
bootstrap: s/python-pip/python3-pip/ for python3 on debian derivatives 1496/head
authorKefu Chai <kchai@redhat.com>
Wed, 27 May 2020 12:10:44 +0000 (20:10 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 27 May 2020 12:21:04 +0000 (20:21 +0800)
python-pip was removed in debian/bullseye and ubuntu/focal, so let's
replace it with python3-pip. and more importantly, for python3 support
we should install python3-pip instead.

Fixes: https://tracker.ceph.com/issues/45384
Signed-off-by: Kefu Chai <kchai@redhat.com>
bootstrap

index 2c7ff27f1058e22bf429f0f312c8c18eb7a744dc..d1c3dadcbbaad204c2e38f1a7592359c87c58088 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -23,7 +23,7 @@ Linux)
         if [[ "$PYTHON" =~ "python2" ]]; then
             deps=(qemu-utils python-dev libssl-dev python-pip python-virtualenv libev-dev libvirt-dev libmysqlclient-dev libffi-dev libyaml-dev)
         else
-            deps=(qemu-utils python3-dev libssl-dev python-pip python3-virtualenv libev-dev libvirt-dev libmysqlclient-dev libffi-dev libyaml-dev)
+            deps=(qemu-utils python3-dev libssl-dev python3-pip python3-virtualenv libev-dev libvirt-dev libmysqlclient-dev libffi-dev libyaml-dev)
         fi
         for package in ${deps[@]}; do
             if [ "$(dpkg --status -- $package|sed -n 's/^Status: //p')" != "install ok installed" ]; then