]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
bootstrap: Use --use-pep517 when installing reqs
authorZack Cerza <zack@redhat.com>
Fri, 2 Dec 2022 20:25:20 +0000 (13:25 -0700)
committerZack Cerza <zack@redhat.com>
Fri, 2 Dec 2022 20:26:09 +0000 (13:26 -0700)
See https://github.com/pypa/pip/issues/8559

Signed-off-by: Zack Cerza <zack@redhat.com>
bootstrap

index 46c81bb2b8b6307b7ca35025d5981590ad9ddb8a..53266cba3be2b86948e66a119cee0ac547e15d81 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -28,7 +28,7 @@ case "$(uname -s)" in
 Linux)
     case "$(lsb_release --id --short)" in
     Ubuntu|Debian|LinuxMint)
-        deps=(qemu-utils python3-dev libssl-dev python3-pip $PYTHON-venv libev-dev libvirt-dev libffi-dev libyaml-dev)
+        deps=(qemu-utils python3-dev libssl-dev python3-pip python3-wheel $PYTHON-venv libev-dev libvirt-dev libffi-dev libyaml-dev)
         for package in ${deps[@]}; do
             if [ "$(dpkg --status -- $package|sed -n 's/^Status: //p')" != "install ok installed" ]; then
                 # add a space after old values
@@ -190,6 +190,9 @@ fi
 # First, upgrade pip
 ./$VENV/bin/pip install --upgrade pip
 
+# See https://github.com/pypa/pip/issues/8559
+./$VENV/bin/pip install -r requirements.txt --use-pep517
+
 # By default, install teuthology in editable mode
 ./$VENV/bin/pip install ${PIP_INSTALL_FLAGS:---editable '.[test]'}