]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: s/pkg_resources.packaging/packaging/ 58623/head
authorKefu Chai <tchaikov@gmail.com>
Sat, 25 May 2024 05:50:43 +0000 (13:50 +0800)
committerAdam King <adking@redhat.com>
Tue, 16 Jul 2024 14:52:17 +0000 (10:52 -0400)
commitd1d8df6fafbb744d50787d3ffcd5c572397e421f
tree5d50635fdc763224b4d50e1e8d0c1dd9a713f3f6
parent02450af03a5932525016f5110da16260a067bb42
mgr/prometheus: s/pkg_resources.packaging/packaging/

instead of relying on the internal implementation of pkg_resources,
let's import packaging directly.

in this change, we also add the dependency to the packaging module
in the packaging recipes.

See also https://github.com/pypa/setuptools/issues/4385

Fixes https://tracker.ceph.com/issues/66201
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 844b66de419d7bf5f622980b0de3c69b5ad8bc9c)
ceph.spec.in
debian/ceph-mgr-modules-core.requires
src/pybind/mgr/prometheus/module.py