]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix constraints.txt again 50238/head
authorErnesto Puerta <epuertat@redhat.com>
Thu, 23 Feb 2023 16:22:10 +0000 (17:22 +0100)
committerErnesto Puerta <epuertat@redhat.com>
Thu, 23 Feb 2023 16:22:10 +0000 (17:22 +0100)
The previous attempt to fix this issue
(https://github.com/ceph/ceph/pull/50207) was not successful, since the
PIP syntax for compatible versions (~=) behaves differently compared to
other package management tools (e.g.: npm).

In this case, package~=x.y.z equasl to package>=x.y.z;package==x.y.*,
instead of the desired package>=x.y.z;package==x.*.

Fixes: tracker.ceph.com/issues/58827
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
src/pybind/mgr/dashboard/constraints.txt

index 1b4595e1d0d78bb80780f9c472f13bff00955089..55f81c92dec0616eb9329a85381e7ea93e5b6e1f 100644 (file)
@@ -1,7 +1,7 @@
-CherryPy~=13.1.0
-more-itertools~=8.14.0
-PyJWT~=2.0.1
-bcrypt~=3.1.4
-python3-saml~=1.4.1
+CherryPy~=13.1
+more-itertools~=8.14
+PyJWT~=2.0
+bcrypt~=3.1
+python3-saml~=1.4
 requests~=2.26
-Routes~=2.4.1
+Routes~=2.4