#1152772 tomobase: FTBFS with latest dh-python (failed to merge top_level.txt)

Package:
src:tomobase
Source:
src:tomobase
Submitter:
Margarita Manterola
Date:
2026-11-02 13:23:03 UTC
Severity:
normal
Tags:
#1152772#5
Date:
2026-11-01 13:37:11 UTC
From:
To:
Hi!

While preparing the Python 3.15 migration we realized that some Python packages
were shipping broken metadata directories, which leads to errors when trying to
import these directories with code running on Python 3.15.

To avoid shipping any additional broken directories, dh-python now throws an
error at build-time.

Unfortunately, tomobase is one of the affected packages and fails to build with
the latest dh-python.

https://debusine.debian.net/debian/r-python-python3.15/artifact/5242237/

E: dh_python3 fs:184: Not everything in 'debian/python3-tomobase/usr/lib/python3.15/dist-packages/tomobase-0.0.0.dev1.dist-info' was able to be merged into 'debian/python3-tomobase/usr/lib/python3/dist-packages/tomobase-0.0.0.dev1.dist-info'.
I: dh_python3 fs:191: Remaining files: debian/python3-tomobase/usr/lib/python3.15/dist-packages/tomobase-0.0.0.dev1.dist-info/top_level.txt

And this is now a release critical issue, because we need to rebuild the package
for the 3.15 transition.

Most of these errors can be fixed by being more strict with the files considered
for installation.

#1152772#10
Date:
2026-11-02 13:19:28 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
tomobase, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1152772@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stuart Prescott <stuart@debian.org> (supplier of updated tomobase package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 02 Nov 2026 18:34:40 +1100
Source: tomobase
Architecture: source
Version: 0.0.0~dev1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian PaN Maintainers <debian-pan-maintainers@alioth-lists.debian.net>
Changed-By: Stuart Prescott <stuart@debian.org>
Closes: 1152772
Changes:
 tomobase (0.0.0~dev1-3) unstable; urgency=medium
 .
   * Team upload.
   * Patch pyproject.toml to keep stray directories out of the module, fixing
     FTBFS with recent dh-python (Closes: #1152772).
Checksums-Sha1:
 29a3fcb25756acf916cdcedeef0032a740b185a4 2541 tomobase_0.0.0~dev1-3.dsc
 ed81c406ebc664eae9c1844e73b81c26dae8452d 2548 tomobase_0.0.0~dev1-3.debian.tar.xz
 12c7b106c6d01a44a05822a6870183cbf7202436 50124 tomobase_0.0.0~dev1-3.git.tar.xz
 b3f556c76ac398f2ac015f40fb05fbd43d15ba3c 17761 tomobase_0.0.0~dev1-3_source.buildinfo
Checksums-Sha256:
 6c5faee6c22128d513925d4d5beeb6dc5baa4bebf9d35400e84811854352b1c2 2541 tomobase_0.0.0~dev1-3.dsc
 def7ad3ee7b8d21a0d15bfa2dc2da51afddeed584a1fa626029d18287325bd49 2548 tomobase_0.0.0~dev1-3.debian.tar.xz
 10166db1115405b6208337eb04378a0f90e2bf7d19282606cb229ad0c653f67f 50124 tomobase_0.0.0~dev1-3.git.tar.xz
 581b8703a7bba0e6905e21839f02d58b19541e9c8bab5de1c088bfce38509a09 17761 tomobase_0.0.0~dev1-3_source.buildinfo
Files:
 40c4c5831792dde35a8761cd9d01c89a 2541 python optional tomobase_0.0.0~dev1-3.dsc
 422e246e0a036a51062e2f76d64d0d56 2548 python optional tomobase_0.0.0~dev1-3.debian.tar.xz
 f95d36acdc84f49fcec584d81bf50b51 50124 python None tomobase_0.0.0~dev1-3.git.tar.xz
 eee46846c862e3fcd1b0e2ab57243622 17761 python optional tomobase_0.0.0~dev1-3_source.buildinfo
Git-Tag-Info: tag=5bd150be3fac404434ece530c67f4d27affc707b fp=90e2d2c1ad146a1b7ebb891dbbc17ebb1396f2f7
Git-Tag-Tagger: Stuart Prescott <stuart@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmroi1AACgkQYG0ITkaD
wHkLvRAAoRhcXwryM4UZeO9pEQjUrzScvHNDiReYEtIFBQBCSNP3gU/LYQ6CaKzu
Uq57ijptj/vg44rDQsBRNNDUw1fOsKL1oY+/VPLqWIaA0ubcE155Ohi5x9Hm007x
G9Sai3LeLa62CBs9ycJXDjSoWTJeZrVkBXOTj4ZZi/wey9D+yGvOthceU39Kc/Cr
7o2G5HIOEY8LemneSOVomwlgKB7Ehopi+hTkCSVoH6OzV4RIFMLhYLIbNw22LSeo
cebBsD9YJIjrV50xHSW9WqqDWxcQx0ocI2aj6vmnv8x4iBUgL/5uv34aQffxGN/q
KcPVa6iNbMi9cyezjVaLwe33ZAKNWW1FfSMVWiy/w7HV6UKEDEXxWHNTYU4pAcGP
FMauBRr4VoLEzEiEBe3nhPxwBH2VmLKhR7wFOaVsK2+rwa2+1y5nzVx6lm6Hw2l+
YLITshZZL8v4J6/7aq++pxUvPzOxD08ZBfDzrKW2o5j0qzu/0uWgrGPMtqalcbcQ
xrPSsrppN9+oA0AZXlbZrtUdrI9YfWULA7vy27go3hvW+30MDqnXU9YsP9nwR5xI
uwcVGtZpsOT9fPey7Nwh8ZBRr0lLHt9FxTgv3zuKhZnPGcfLdrfjCw50muWEsxC6
zDIZk2dR9PNhCsfxUIUPscuGfiEbzz6OC5jouvprIIxyKjVzFSU=
=SWQ8
-----END PGP SIGNATURE-----