Source: tox Version: 4.13.0-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that tox could not be built reproducibly. This is because the build system cannot find ~/.config/tox/config.ini and a warning message to this effect is included in the documentation: │ │ │ ├── ./usr/share/doc/tox/html/cli_interface.html │ │ │ │ @@ -705,15 +705,15 @@ │ │ │ │ -config file ‘/nonexistent/first-build/.config/tox/config.ini’ missing (change via env var TOX_USER_CONFIG_FILE)</p> │ │ │ │ +config file ‘/nonexistent/second-build/.config/tox/config.ini’ missing (change via env var TOX_USER_CONFIG_FILE)</p> │ │ │ │ </section> Patch attached that makes the build system uses the empty (but very determinstistic!) /dev/null as the config file. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/rules 2024-03-12 10:05:10.540815841 +0000 --- b/debian/rules 2024-03-12 10:25:47.884699097 +0000 @@ -10,6 +10,8 @@ # through the git tag, and in turn writing it to version.py. export SETUPTOOLS_SCM_PRETEND_VERSION = $(DEB_VERSION_UPSTREAM) +export TOX_USER_CONFIG_FILE = /dev/null + %: dh $@ --buildsystem=pybuild