From 1c7fb66856d14a02bf9d4935c7e6bd1832bb3aae Mon Sep 17 00:00:00 2001 From: Ernesto Puerta Date: Thu, 23 Feb 2023 17:22:10 +0100 Subject: [PATCH] mgr/dashboard: fix constraints.txt again 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 --- src/pybind/mgr/dashboard/constraints.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pybind/mgr/dashboard/constraints.txt b/src/pybind/mgr/dashboard/constraints.txt index 1b4595e1d0d78..55f81c92dec06 100644 --- a/src/pybind/mgr/dashboard/constraints.txt +++ b/src/pybind/mgr/dashboard/constraints.txt @@ -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 -- 2.39.5