[Pkg-samba-maint] Bug#1064512: python3-samba: Tests should not be packaged

Michael Tokarev mjt at tls.msk.ru
Fri Feb 23 16:04:30 GMT 2024


Control: severity -1 wishlist

23.02.2024 16:58, Gregor Riepl wrote:
> Package: python3-samba
> Version: 2:4.19.5+dfsg-1
> Severity: normal
> X-Debbugs-Cc: onitake at gmail.com
> 
> Dear Maintainer,
> 
> It looks like the python3-samba package installs some unit tests into
> /usr/lib/python3/dist-packages/samba/tests
> 
> If this is the case, please exclude them from the package build. There is no
> value in installing unit tests along with a runtime library (or, as in this
> case, a Python module).

Lacking a way to exclude something from debian/install file,  I don't
have a good way to do that.  The tests should not be merely excluded,
it is part of samba-testsuite package.

samba-testsuite itself is a very questionable package, it has other
issues (like being non-reproducible as it embeds build paths in the
binary and has other problems in this area) and personally I don't see
a reason to ship this package in debian.  If it were removed, this an
other problems would just go away.  But some say it is useful. I dunno :)

/mjt



More information about the Pkg-samba-maint mailing list