]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix api test issue with pip 45880/head
authorErnesto Puerta <epuertat@redhat.com>
Fri, 25 Mar 2022 15:26:48 +0000 (16:26 +0100)
committerErnesto Puerta <epuertat@redhat.com>
Tue, 12 Apr 2022 16:13:39 +0000 (18:13 +0200)
commit9fc2b526cfc64a7b2bb8c6b6b5f9c1cc3fabd557
tree632ad10c99f73f732167e451767ad6345890385b
parentda38e90001f8d2c4bc8547ec1f477af4d87a0695
mgr/dashboard: fix api test issue with pip

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>
(cherry picked from commit 2289ad2bc327b0d86916a1c96f4af2967a80c1b9)

 Conflicts:
src/pybind/mgr/dashboard/constraints.txt
        - keep requests 2.26
src/pybind/mgr/dashboard/constraints.txt
src/pybind/mgr/dashboard/run-backend-api-tests.sh