From: Kefu Chai Date: Sat, 1 Jun 2024 00:53:28 +0000 (+0800) Subject: ceph.spec.in: remove setuptools dependency X-Git-Tag: v20.0.0~1816^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F57812%2Fhead;p=ceph.git ceph.spec.in: remove setuptools dependency 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index 459bce9ea28d..fae1e390ebab 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -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 diff --git a/debian/ceph-mgr-modules-core.requires b/debian/ceph-mgr-modules-core.requires index b5d37b3a9ce8..eeeca20bcff5 100644 --- a/debian/ceph-mgr-modules-core.requires +++ b/debian/ceph-mgr-modules-core.requires @@ -4,5 +4,4 @@ packaging pecan werkzeug requests -pkg-resources python-dateutil diff --git a/src/pybind/mgr/requirements-required.txt b/src/pybind/mgr/requirements-required.txt index 76fef65dbe43..a51b18696bd6 100644 --- a/src/pybind/mgr/requirements-required.txt +++ b/src/pybind/mgr/requirements-required.txt @@ -12,7 +12,6 @@ pytest-cov==2.7.1 pyyaml requests-mock scipy -setuptools werkzeug natsort bcrypt