From 12f777ef70420c4c49edd11440cf5aa993740b37 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Fri, 5 Sep 2025 13:58:43 -0400 Subject: [PATCH] pybind/mgr/dashboard: Use teuthology's actual requirements Signed-off-by: David Galloway (cherry picked from commit 22a87d959bca74478de1e2d9f86859676385491d) --- src/pybind/mgr/dashboard/run-backend-api-tests.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/run-backend-api-tests.sh b/src/pybind/mgr/dashboard/run-backend-api-tests.sh index 981b331df19..a42df6b4cbe 100755 --- a/src/pybind/mgr/dashboard/run-backend-api-tests.sh +++ b/src/pybind/mgr/dashboard/run-backend-api-tests.sh @@ -47,7 +47,15 @@ setup_teuthology() { ${TEUTHOLOGY_PYTHON_BIN:-/usr/bin/python3} -m venv venv source venv/bin/activate pip install -U pip 'setuptools>=12,<60' - pip install "git+https://github.com/ceph/teuthology@2ef0dcd#egg=teuthology[test]" + + local TEUTH_REF="${TEUTH_REF:-3ae1592c30adc5875a8aeb1f50a30ed9dd04dc04}" + git clone https://github.com/ceph/teuthology + pushd teuthology + git checkout -q "$TEUTH_REF" + pip install -r requirements.txt + pip install -e '.[test]' + popd + pushd $CURR_DIR pip install -r requirements.txt -c constraints.txt popd -- 2.39.5