Source: bidict
Version: 0.22.1-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
bidict could not be built reproducibly.
This was because the binary package embeds files generated by the Python
"Hypothesis" package during the tests.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2023-11-14 09:26:04.585510834 +0000
--- b/debian/rules 2023-11-14 09:32:18.630291811 +0000
@@ -14,3 +14,6 @@
$(CURDIR)/debian/python-bidict-doc/usr/share/doc/python-bidict-doc/html
dh_sphinxdoc
endif
+
+execute_after_dh_auto_test:
+ find .pybuild -type d -name .pytest_cache -print0 | xargs -0r rm -rfv