Bug#1064512: python3-samba: Tests should not be packaged

2024-02-23 Thread Michael Tokarev

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: onit...@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



Bug#1064512: python3-samba: Tests should not be packaged

2024-02-23 Thread Gregor Riepl
Package: python3-samba
Version: 2:4.19.5+dfsg-1
Severity: normal
X-Debbugs-Cc: onit...@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).

Thank you!


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.13-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-samba depends on:
ii  libbsd0   0.11.8-1
ii  libc6 2.37-15
ii  libgnutls30   3.8.3-1
ii  libldb2   2:2.8.0+samba4.19.5+dfsg-1
ii  libpython3.11 3.11.8-1
ii  libtalloc22.4.2-1
ii  libtevent00.16.1-1
ii  python3   3.11.6-1
ii  python3-ldb   2:2.8.0+samba4.19.5+dfsg-1
ii  python3-talloc2.4.2-1
ii  python3-tdb   1.4.10-1
ii  samba-libs [libndr3]  2:4.19.5+dfsg-1

Versions of packages python3-samba recommends:
ii  python3-gpg  1.18.0-4+b2

python3-samba suggests no packages.

-- no debconf information