]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr/dashboard/run-backend-api-tests: Older setuptools 44377/head
authorDavid Galloway <dgallowa@redhat.com>
Mon, 20 Dec 2021 15:44:23 +0000 (10:44 -0500)
committerNizamudeen A <nia@redhat.com>
Tue, 21 Dec 2021 13:08:08 +0000 (18:38 +0530)
https://github.com/pypa/setuptools/issues/2353

Signed-off-by: David Galloway <dgallowa@redhat.com>
(cherry picked from commit 4ab2df179b0bf0b123a59c649b779bba41e4bb3d)

src/pybind/mgr/dashboard/run-backend-api-tests.sh

index c9653e3c18bbb763ebb0cb6fc7e4e24a5e380684..0bc66d60a545aea73b640f0fbcb8359f80a7a503 100755 (executable)
@@ -43,7 +43,7 @@ setup_teuthology() {
 
     ${TEUTHOLOGY_PYTHON_BIN:-/usr/bin/python3} -m venv venv
     source venv/bin/activate
-    pip install -U pip 'setuptools >= 12'
+    pip install -U pip 'setuptools>=12,<60'
     pip install git+https://github.com/ceph/teuthology#egg=teuthology[test]
     pushd $CURR_DIR
     pip install -r requirements.txt -c constraints.txt