]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix api test issue with pip 45647/head
authorErnesto Puerta <epuertat@redhat.com>
Fri, 25 Mar 2022 15:26:48 +0000 (16:26 +0100)
committerErnesto Puerta <epuertat@redhat.com>
Mon, 28 Mar 2022 09:28:36 +0000 (11:28 +0200)
Fix
```
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
apache-libcloud 3.5.0 requires requests>=2.26.0, but you have requests 2.25.1 which is incompatible.
Successfully installed CherryPy-13.1.0 PyJWT-2.0.1 Routes-2.4.1 bcrypt-3.1.4 ceph-1.0.0 chardet-4.0.0 cheroot-8.6.0 idna-2.10 jaraco.functools-3.5.0 more-itertools-4.1.0 natsort-8.1.0 portend-3.1.0 pyopenssl-22.0.0 pytz-2022.1 repoze.lru-0.7 requests-2.25.1 tempora-5.0.1
```

Fixes: https://tracker.ceph.com/issues/55060
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
src/pybind/mgr/dashboard/constraints.txt
src/pybind/mgr/dashboard/run-backend-api-tests.sh

index bd5ec4a0a729a3df24880113d6a56406404b2453..75af032326c093eff683356e9b45c50d0c8f98ec 100644 (file)
@@ -3,5 +3,5 @@ more-itertools==4.1.0
 PyJWT==2.0.1
 bcrypt==3.1.4
 python3-saml==1.4.1
-requests==2.25.1
+requests==2.26
 Routes==2.4.1
index 0bc66d60a545aea73b640f0fbcb8359f80a7a503..bd2f677e0f0fb07fa2acd35a411b42610e6fa2c7 100755 (executable)
@@ -44,7 +44,7 @@ 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#egg=teuthology[test]
+    pip install "git+https://github.com/ceph/teuthology@7039075#egg=teuthology[test]"
     pushd $CURR_DIR
     pip install -r requirements.txt -c constraints.txt
     popd