Source: smart-open
Version: 7.1.0-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]

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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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

Reply via email to