]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: s/pkg_resources.packaging/packaging/ 57700/head
authorKefu Chai <tchaikov@gmail.com>
Sat, 25 May 2024 05:50:43 +0000 (13:50 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sat, 25 May 2024 07:22:32 +0000 (15:22 +0800)
commit844b66de419d7bf5f622980b0de3c69b5ad8bc9c
treedcfbb17ccdfc686b626906a68bc8dfc709cc7004
parent15eaef742e860d9f0538671776ed4151d437ea63
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>
ceph.spec.in
debian/ceph-mgr-modules-core.requires
src/pybind/mgr/prometheus/module.py