]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: add "packaging" to install_requires 59201/head
authorKefu Chai <tchaikov@gmail.com>
Tue, 13 Aug 2024 22:37:57 +0000 (06:37 +0800)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Fri, 6 Sep 2024 10:33:49 +0000 (17:33 +0700)
commit39366e803c6499b65ba9d8fdd0d70af24ef4c310
treefd01d193a2b7db9af9e70edd6cc67b7bbe96c58a
parent3653a5d80b3a7d0af934e08e2c6460dd52f06379
ceph-volume: add "packaging" to install_requires

in 0985e201, "packaging" was introduced as a runtime dependency of
ceph-volume, and `ceph.spec.in` was updated accordingly to note
this new dependency. but the debian packaging was not updated.

in 80edcd40, the missing dependency was added to debian/control as
one of ceph-volume's runtime dependency.

but dh_python3 is able to figure out the dependencies by reading
the egg's metadata of the ceph-volume python module. and as a
python project, ceph-volume is using its `setup.py` for
tracking its dependencies.

so in order to be more consistent, and keep all of its dependencies
in one place, let's move this dependency to setup.py . as the
packagings in both distros are able to figure the dependencies
from egg-info.

see also
- https://manpages.debian.org/testing/dh-python/dh_python3.1.en.html#dependencies
- https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_201x/#_automatically_generated_dependencies

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 729fd8e25ff2bfbcf99790d6cd08489d1c4e2ede)
ceph.spec.in
debian/control
src/ceph-volume/setup.py