summaryrefslogtreecommitdiffstats
path: root/debian/ceph-mgr-dashboard.requires
diff options
context:
space:
mode:
authorKefu Chai <tchaikov@gmail.com>2022-08-08 16:41:17 +0200
committerKefu Chai <tchaikov@gmail.com>2022-08-09 15:04:34 +0200
commit075b31c1c763286065f13be87c6ba987529b1206 (patch)
tree4d20ebffbc89161f7037ca7134bc76b2132c7554 /debian/ceph-mgr-dashboard.requires
parentMerge pull request #47475 from Huber-ming/stale_delete (diff)
downloadceph-075b31c1c763286065f13be87c6ba987529b1206.tar.xz
ceph-075b31c1c763286065f13be87c6ba987529b1206.zip
pybind/mgr/dashboard: do not use distutils.version.StrictVersion
replace `distutils.version.StrictVersion` with `pkg_resources.parse_version()` as the former is deprecated, see https://peps.python.org/pep-0632/. let's use `pkg_resources` instead. this change also addresses https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010894. we have this issue when testing with an ubuntu jammy test node. see https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1967139 Signed-off-by: Kefu Chai <tchaikov@gmail.com>
Diffstat (limited to 'debian/ceph-mgr-dashboard.requires')
-rw-r--r--debian/ceph-mgr-dashboard.requires1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/ceph-mgr-dashboard.requires b/debian/ceph-mgr-dashboard.requires
index 14db1240c92..eb7ed676546 100644
--- a/debian/ceph-mgr-dashboard.requires
+++ b/debian/ceph-mgr-dashboard.requires
@@ -5,6 +5,7 @@ PyJWT
pyopenssl
requests
Routes
+pkg-resources
prettytable
pytest
pyyaml