Package: in-toto / 2.0.0-1

Metadata

Package Version Patches format
in-toto 2.0.0-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01_use_python3_interpreter_in_tests.diff | (download)

tests/demo_files/demo.layout.template | 2 1 1 - 0 !
tests/test_in_toto_mock.py | 2 1 1 - 0 !
tests/test_in_toto_run.py | 18 9 9 - 0 !
tests/test_runlib.py | 34 17 17 - 0 !
tests/test_verifylib.py | 6 3 3 - 0 !
5 files changed, 31 insertions( ), 31 deletions(-)

 use python3 in tests
 Some upstream tests call the python interpreter in a subprocess, e.g. to test
 the custom `process` module or to run simple in-toto step or inspection
 commands. In debian, where we only build for python3, "python" is not
 available during build and thus makes those tests fail. This patch replaces
 "python" with "python3" where applicable.
02_use_python3_interpreter_in_dsse_layout.diff | (download)

tests/demo_dsse_files/demo.layout.template | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 use python3 in test fixture
  Update an inspection in an in-toto layout (base64 encoded), to specify python3
  instead of python as run command.