Source: pytds Version: 1.11.0-1 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 pytds could not be built reproducibly. This is because the tests do not correctly cleanup after themselves, resulting in a bunch of files being installed to the global Python library directory. For example: /usr/lib/python3/dist-packages/.test-cache/badnamecert.pem ^^^^^^^^^^^^^^^^^^^^^^^^^ A patch is attached that cleans up after running the tests. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/rules 2023-08-23 09:19:18.509726887 -0700 --- b/debian/rules 2023-08-23 09:23:56.669494831 -0700 @@ -15,3 +15,7 @@ override_dh_installdocs: dh_installdocs --doc-main-package=python-tds-doc -p python-tds-doc dh_installdocs --remaining-packages + +override_dh_auto_test: + dh_auto_test + find -type d -name .test-cache -print0 | xargs -0r rm -rf