]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix constraints.txt again 50234/head
authorErnesto Puerta <epuertat@redhat.com>
Thu, 23 Feb 2023 16:22:10 +0000 (17:22 +0100)
committerNizamudeen A <nia@redhat.com>
Mon, 27 Feb 2023 04:45:28 +0000 (10:15 +0530)
commit701fe8c28b3efd8b83ca87111c83d433c9ee5c7a
treed066cfa545463122f01285fd675879b3d4f443fa
parent12cf202f0dd89ba46c0e8cda3b2155d6f7dad23b
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 <epuertat@redhat.com>
(cherry picked from commit 1c7fb66856d14a02bf9d4935c7e6bd1832bb3aae)
src/pybind/mgr/dashboard/constraints.txt