Bug#1120121: smart-open: please make the build reproducible
Chris Lamb
lamby at debian.org
Wed Nov 5 18:22:33 GMT 2025
Source: smart-open
Version: 7.1.0-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
smart-open could not be built reproducibly.
This is because it ships different files if the tests are run or not.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-11-05 09:39:12.096324619 -0800
--- b/debian/rules 2025-11-05 09:44:00.848378287 -0800
@@ -2,6 +2,7 @@
export PYBUILD_NAME=smart-open
export PYBUILD_BEFORE_TEST := cp -a smart_open/tests {build_dir}/smart_open
+export PYBUILD_AFTER_TEST := rm -rf {build_dir}/smart_open/tests
export PYBUILD_TEST_ARGS=smart_open/tests -k 'not test_gs_uri and not test_scheme'
export http_proxy=127.0.0.1:9
More information about the Reproducible-bugs
mailing list