Source: towncrier
Version: 21.9.0-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
towncrier could not be built reproducibly.

This is because the testsuite generates a bunch of Python modules with
nondeterminstic contents, which then get installed into the binary
package.

Patch attached that cleans these up after running the tests.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-

--- a/debian/rules      2023-01-05 17:19:29.738137407 +0000
--- b/debian/rules      2023-01-05 17:26:37.048270769 +0000
@@ -39,3 +39,6 @@
 # mode: makefile
 # End:
 # vim: fileencoding=utf-8 filetype=make :
+
+execute_after_dh_auto_test:
+       rm -rf .pybuild/*/build/towncrier.test.*

Reply via email to