diff options
author | Kefu Chai <tchaikov@gmail.com> | 2024-08-14 00:37:57 +0200 |
---|---|---|
committer | Kefu Chai <tchaikov@gmail.com> | 2024-08-14 01:04:00 +0200 |
commit | 729fd8e25ff2bfbcf99790d6cd08489d1c4e2ede (patch) | |
tree | d2de61e81e845923d58e8f0356ff5c6d80612675 /debian/control | |
parent | Merge pull request #58140 from guits/cv-tpm2-support (diff) | |
download | ceph-729fd8e25ff2bfbcf99790d6cd08489d1c4e2ede.tar.xz ceph-729fd8e25ff2bfbcf99790d6cd08489d1c4e2ede.zip |
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>
Diffstat (limited to 'debian/control')
-rw-r--r-- | debian/control | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/debian/control b/debian/control index 37b940ac633..b1910b624d7 100644 --- a/debian/control +++ b/debian/control @@ -456,7 +456,6 @@ Depends: ceph-osd (= ${binary:Version}), e2fsprogs, lvm2, parted, - python3-packaging, xfsprogs, ${misc:Depends}, ${python3:Depends} |