Re: [PATCH 1/3] debian: Drop unused dh-python from Build-Depends

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 05, 2021 at 07:05:12PM +0100, Bastian Germann wrote:
> Am 05.02.21 um 01:51 schrieb Darrick J. Wong:
> > On Fri, Feb 05, 2021 at 01:31:23AM +0100, Bastian Germann wrote:
> > > 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@xxxxxxxxxx>

--D


> 
> > --D
> > 
> > > 
> > > Reported-by: Helmut Grohne <helmut@xxxxxxxxxx>
> > > Signed-off-by: Bastian Germann <bastiangermann@xxxxxxxxxxx>



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux