Re: [PATCH 1/3] debian: Drop unused dh-python from Build-Depends
From: "Darrick J. Wong" <djwong@kernel.org>
Date: 2021-02-05 18:24:20
On Fri, Feb 05, 2021 at 07:05:12PM +0100, Bastian Germann wrote:
Am 05.02.21 um 01:51 schrieb Darrick J. Wong:quoted
On Fri, Feb 05, 2021 at 01:31:23AM +0100, Bastian Germann wrote:quoted
xfsprogs participates in dependency loops relevant to architecture bootstrap. Identifying easily droppable dependencies, it was found that xfsprogs does not use dh-python in any way.scrub/xfs_scrub_all.in and tools/xfsbuflock.py are the only python scripts in xfsprogs. We ship the first one as-is in the xfsprogs package and we don't ship the second one at all (it's a debugger tool). AFAICT neither of them really use dh-python, right?That is right. dh-python is generally used at build time to generate packages with Python modules, i.e., with files in /usr/lib/python3/dist-packages. That is not the case in xfsprogs. For xfsprogs, python3 is only a runtime dependency and that is defined in the control file as well.
<nod> /me finally figures out exactly what dh_python does--I thought it was required for any package shipping any python anything, but I guess it's only for building and prepping library code and hence not needed for our single python script in /usr/sbin, so: Reviewed-by: Darrick J. Wong <djwong@kernel.org> --D
quoted
--Dquoted
Reported-by: Helmut Grohne <redacted> Signed-off-by: Bastian Germann <redacted>