]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph.spec.in: remove setuptools dependency
authorKefu Chai <tchaikov@gmail.com>
Sat, 1 Jun 2024 00:53:28 +0000 (08:53 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sun, 2 Jun 2024 08:55:29 +0000 (16:55 +0800)
in 844b66de, we stopped using pkg_resources for import packaging.
and the exact reason why we introduced pkg_resources was for using
the packaging python module, see cf608920.

so, let's partially revert cf608920.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
ceph.spec.in
debian/ceph-mgr-modules-core.requires
src/pybind/mgr/requirements-required.txt

index 459bce9ea28d6d6d21f270623335a9d5c16d5c13..fae1e390ebab76303554088ced247cadcdb02e1f 100644 (file)
@@ -672,7 +672,6 @@ Group:          System/Filesystems
 Requires:       ceph-mgr = %{_epoch_prefix}%{version}-%{release}
 Requires:       ceph-grafana-dashboards = %{_epoch_prefix}%{version}-%{release}
 Requires:       ceph-prometheus-alerts = %{_epoch_prefix}%{version}-%{release}
-Requires:       python%{python3_pkgversion}-setuptools
 %if 0%{?fedora} || 0%{?rhel} >= 9
 Requires:       python%{python3_pkgversion}-grpcio
 Requires:       python%{python3_pkgversion}-grpcio-tools
index b5d37b3a9ce8c44b315f7e7d4679baa3fddc940a..eeeca20bcff5ad1999cee6c8645614a3ceb7e2e3 100644 (file)
@@ -4,5 +4,4 @@ packaging
 pecan
 werkzeug
 requests
-pkg-resources
 python-dateutil
index 76fef65dbe430dd49bc18091f06839ebcb32c3da..a51b18696bd69469ac506e6d88ad40ce05d257cc 100644 (file)
@@ -12,7 +12,6 @@ pytest-cov==2.7.1
 pyyaml
 requests-mock
 scipy
-setuptools
 werkzeug
 natsort
 bcrypt