Bug#1147674: python-vermin: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Sep 14 12:08:10 BST 2026


Source: python-vermin
Version: 1.8.0-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

This is because the generated documentation is generated from the --help
output, which itself contains nondeterministic text. Specifically, it
helpfully mentions the current number of CPU cores as an example, but
this makes the package unreproducible across build machines.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/reproducible-build.patch	1969-12-31 20:00:00.000000000 -0400
--- b/debian/patches/reproducible-build.patch	2026-09-14 08:04:35.462833410 -0300
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2026-09-14
+
+--- python-vermin-1.8.0.orig/vermin/arguments.py
++++ python-vermin-1.8.0/vermin/arguments.py
+@@ -73,7 +73,7 @@ class Arguments:
+             "        Don't expect certain target version(s).\n")
+       print("  --processes=N | -p=N\n"
+             "        Use N concurrent processes to detect and analyze files. Defaults to all\n"
+-            "        cores ({}).\n".format(DEFAULT_PROCESSES))
++            "        cores (automatically calculated).\n")
+       print("  --ignore | -i\n"
+             "        Ignore incompatible versions and warnings. However, if no compatible\n"
+             "        versions are found then incompatible versions will be shown in the end to\n"
--- a/debian/patches/series	1969-12-31 20:00:00.000000000 -0400
--- b/debian/patches/series	2026-09-14 08:04:34.565926163 -0300
@@ -0,0 +1 @@
+reproducible-build.patch


More information about the Reproducible-bugs mailing list