Source: cwltool
Version: 3.1.20230201224320-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
cwltool could not be built reproducibly.

This is because it installs a file (with a nondeterminstic filename)
directly under the /usr/lib/python3/dist-packages directory.

A patch is attached that removes all files (NB. not directories) that
are installed directly under that location (which can never be right).
This, therefore, is a more generic solution to #1030713.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-

--- a/debian/rules      2023-02-06 08:37:40.811072429 -0800
--- b/debian/rules      2023-02-06 09:36:44.015013189 -0800
@@ -37,7 +37,8 @@
                --ignore-glob "*test_http_input.py" \
                -k 'not (test_http_path_mapping or test_get_subgraph or 
test_udocker_usage_should_not_write_cid_file or 
test_udocker_should_display_memory_usage or test_content_types or test_get_step 
or test_udocker_nobanner)' \
                -n auto --ignore cwltool/schemas/ -rs --pyargs cwltool" 
dh_auto_test
-       find .pybuild -name "out" -type f -delete
+       find .pybuild -name "out" -type f
+       find .pybuild/*/build -maxdepth 1 -type f -delete
 endif
 # test_http_path_mapping requires internet access (could be mocked?)
 # test_get_{subgraph,step} embedded local path isn't being cleaned properly

Reply via email to