Debian Bug report logs - #1120881
python-genson: please make the build reproducible

version graph

Package: src:python-genson; Maintainer for src:python-genson is Debian Python Team <team+python@tracker.debian.org>;

Reported by: "Chris Lamb" <lamby@debian.org>

Date: Mon, 17 Nov 2025 20:33:10 UTC

Severity: wishlist

Tags: patch

Found in version python-genson/1.3.0-2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org (additional cc recipient for {1120881}), Debian Python Team <team+python@tracker.debian.org> (src:python-genson for {1120881}):
Bug#1120881; Package src:python-genson. (Mon, 17 Nov 2025 20:33:11 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, team+python@tracker.debian.org. (Mon, 17 Nov 2025 20:33:11 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Chris Lamb" <lamby@debian.org>
To: submit@bugs.debian.org
Subject: python-genson: please make the build reproducible
Date: Mon, 17 Nov 2025 12:31:59 -0800
[Message part 1 (text/plain, inline)]
Source: python-genson
Version: 1.3.0-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

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

This is because it ships a different binary package depending on
whether the testsuite is run or not.

Specifically, it does not remove the "schema" directory that is added
via PYBUILD_BEFORE_TEST. A patch is attached that will remove this
directory, but if the binary package really does need this directory
at runtime for whatever reason (e.g. for autopkgtests), then the
package needs to ensure that this directory exists regardless of whether
nocheck is specified.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[python-genson.diff.txt (text/plain, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 2 09:26:22 2026; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.