#1120068 python-biom-format: please make the build reproducible

#1120068#5
Date:
2025-11-04 19:01:57 UTC
From:
To:
Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
python-biom-format could not be built reproducibly.

This is because it generates different content whether the tests are
run, and, relatedly, it installs an "examples/" directory directly
under dist-packages.

I believe it is this line that is the 'cause':

   export PYBUILD_BEFORE_TEST=cp -r {dir}/examples {build_dir}

... and a patch is attached that cleans up with:

   export PYBUILD_AFTER_TEST=rm -rf {build_dir}/examples


 [0] https://reproducible-builds.org/


Regards,

#1120068#10
Date:
2025-11-04 21:07:40 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-biom-format, 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 1120068@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Étienne Mollier <emollier@debian.org> (supplier of updated python-biom-format 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: Tue, 04 Nov 2025 21:39:49 +0100
Source: python-biom-format
Architecture: source
Version: 2.1.17-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Étienne Mollier <emollier@debian.org>
Closes: 1102990 1120068
Changes:
 python-biom-format (2.1.17-1) unstable; urgency=medium
 .
   [ Étienne Mollier ]
   * New upstream version 2.1.17
   * d/watch: converto to v5 Github template.
   * d/copyright: bump upstream copyright year.
   * d/control: drop redundant Rules-Requires-Root: no.
   * d/control: declare compliance to standards version 4.7.2.
   * d/copyright: remove reference to the old fsf address.
   * d/patches/*: normalize Last-Update timestamps.
   * d/{rules,control}: streamline dh_numpy3 integration.
     This addresses supplemental comments in #1102990.
 .
   [ Chris Lamb ]
   * d/rules: remove examples from dist-packages.
     This makes the build reproducible.  (Closes: #1120068, #1102990)
Checksums-Sha1:
 7f3772fc3ca6588bb59ace2f535786e61bce647a 2673 python-biom-format_2.1.17-1.dsc
 8f0e04e2bb41dd0cf03845367e05a146b2dcf6a3 11894239 python-biom-format_2.1.17.orig.tar.gz
 d82352fcea9665d7b843b45cd2dc3fa3637fa624 11596 python-biom-format_2.1.17-1.debian.tar.xz
Checksums-Sha256:
 114d734cda228753ba5989cd552ff78cf1027a9f1529ba451fc9afffe84265ec 2673 python-biom-format_2.1.17-1.dsc
 1e2fc12e615e4272b4c906cd01c0ed4fb3388d776ccdc649a1ee6a621395cfc4 11894239 python-biom-format_2.1.17.orig.tar.gz
 1322490d1134c8482ef776a1bdc4fe97f27cad228cc81dab21a946457168d0f8 11596 python-biom-format_2.1.17-1.debian.tar.xz
Files:
 7664e3bb3336eae7605dfb1d4b903a5d 2673 python optional python-biom-format_2.1.17-1.dsc
 ef454e493716fdb0714d707c49e7579f 11894239 python optional python-biom-format_2.1.17.orig.tar.gz
 7b5ab80fd6fbddf71e2d420407468ad5 11596 python optional python-biom-format_2.1.17-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmkKZlgUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdoOtg//f3m/N1E58DBrHEK7YgItprnPGdYj
8sznXqcARk0q82GiJvyOJ+siW1HGkBFZOJLL4opODEN6CNRP5ltkmfBl6RddrhZs
y3QsF8VPnAgNwjW5m4ReVi5yrWDk2RM/m7I+NAkX1YZDfPMaLEPFXE3cflB7dKll
FopFbBwoTYgYgf4QOvB9+o7Dp13nZO1GwPBZ/sxcOpPOPsqfjxY7P5VEk5w5zln+
9hK2aoJh/Ymqe5Ip2TIOg2iIUkU6ZoEJre4Pf5hnJ8TUS/wSIllLCC/meUAqRPQE
Ou7HxRKkx031l+DlEGKJHnluiggh/OnlnwCcAANfsdfvMOWQvh6mBmmWztKacFk8
8zLBxTHwO9a+b6cY1NbISuHsENjEonV3oQGBEv9RQA28oFmJVo4hzaLsbrQF1tQ3
gBggP1YyiuyEpgIDijzm4lYByv0fFljY8vS5NFrRHD/HfHWSxC4ei1utCkhrRD9u
H9pDEpHCQ93YRUYGRQfv3XuHcGy9Xd2aDeox95+lAKxI2CZOBBxVNr8WNiIo0RrL
uZSwAwjMEb2n6YedJSZP5QQJvrC2IlM85FERFEjQPGN49CakBJaJKKL/wr9b5ZAX
6YP94psGrRHiu+U3H9BgTEKx5yn7FI5lIYWcZeY6gnOdj9b9c0niuZ/noYDQA/Wi
UKT8VHBOLZACn/g=
=atX5
-----END PGP SIGNATURE-----

#1120068#21
Date:
2026-03-02 18:26:18 UTC
From:
To:
found 1120068 2.1.17-1
found 1102990 2.1.17-1
thanks

Unfortunately, I think that the interaction of some of the changes
to this bug with the changes made for #1102990 have meant that neither
is actually fixed. As in, the package remains unreproducible, and I
think the examples/ are still shipped under dist-packages.

(Probably related, but is it right that you are installing examples
via the debian/python3-biom-format.examples file? Should that not be
debian/python-biom-format-doc.examples? :)


Regards,

#1120068#26
Date:
2026-08-13 18:09:32 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-biom-format, 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 1120068@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Karsten Schöke <karsten.schoeke@geobasis-bb.de> (supplier of updated python-biom-format 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: Thu, 13 Aug 2026 18:55:44 +0200
Source: python-biom-format
Architecture: source
Version: 2.1.17-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Karsten Schöke <karsten.schoeke@geobasis-bb.de>
Closes: 1102990 1120068
Changes:
 python-biom-format (2.1.17-5) unstable; urgency=medium
 .
   * Team upload.
   * d/rules: Remove unnecessary example copies.
     Closes: #1120068, #1102990
Checksums-Sha1:
 9b1d5ffea622b92d8dec9349c9802a305c7b567c 2542 python-biom-format_2.1.17-5.dsc
 81414df7a2bdfeea103ca39e5e59659d98eb7a6d 10776 python-biom-format_2.1.17-5.debian.tar.xz
 efbd76c4ed486bb57aeb7d68e8896497f7d40f36 11958 python-biom-format_2.1.17-5_amd64.buildinfo
Checksums-Sha256:
 3dc7fbb57d4c396d4de17bc1e0dc1184e2bab496dde6faa94fa587a9e119de19 2542 python-biom-format_2.1.17-5.dsc
 3556005fed45d7046603d61a2c9451eecde850f995486b1d99e6cc42882b8805 10776 python-biom-format_2.1.17-5.debian.tar.xz
 0e6589964a957e53a2f0252f699b35cdfd594df73c94d20b2f1b461f0a2f436c 11958 python-biom-format_2.1.17-5_amd64.buildinfo
Files:
 4035fd26784a22d20e6fad1e66271fe0 2542 python optional python-biom-format_2.1.17-5.dsc
 c253b1f1d877f225b2ccb4fb9c0d67c0 10776 python optional python-biom-format_2.1.17-5.debian.tar.xz
 ae1d46cd10e44a52112a3869d0ee68a4 11958 python optional python-biom-format_2.1.17-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEESJcY4TbXsC5S1RQ8jT4KJgRDZUgFAmp+ARoACgkQjT4KJgRD
ZUh87Q/+J0YoPqE+i1dGQ1j6LN6DlyXVK1oyCdYLcDpYlgx6IKZJMw/qFzXpDrc6
K/Tq69oM4UdcAdizGCcfcczwMFGw375TGatkRZoCmU+tHHeUE0DYKaWRXBlqDERU
6oHArwEe4cCXPhg28Ugx0KnqXOwHcGvqYV4Yj+CaHeWaVRSqbgXBCWW6Yld/84lk
wNJYTVT5waE/w9ZT/AFR927sdN/PRcyaRvOGDRmEzRdRp1KWgD1diRYBYwEqtGuG
z5gzi2ffIMAHGcrKA6PT+N1LbPa3fcaCBXlteasGP+uUBFM64Sk8DEpv8EUzbIyL
I5V9qPsl/027P5yWs5KsJ/JZN9UeTvMdQR+G7JGL3LF50vrjfTGDe5dcBOQ8FWto
mlRf1QSm45k6PyYSYFY87Mks+MBp+sriaWysOaO9KnQ4urwVXyEj+rpXfhPfqSiE
d6zyFyYQKMrXrg2rgQb16/rRK+KAlbNbcM51i8AJjQVAWucWuJcyn5O1uuTB+B3C
Mwq4bREZ31ZldVo+hUzoGHxPW6usul1yOh/4xfBu7jVomLxgACVK5V7zcDcWRd3s
INYuipqn0cOFbeOHl14zL0fiHNhCPcbLVm/qzmxZ3SRt4Sp9z/k3mDcssnIWrFbD
6yFERcxNsdRrYFAQXDDD27Dqlt+YomRSGDdPylJ3adJQ9J0jlXk=
=o/h1
-----END PGP SIGNATURE-----