Source: pykafka Version: 2.7.0-2.1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpaths X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0] we noticed that pykafka could not be built reproducibly. This is because it ships coverage.xml and .coverage files in the binary package which contain non-deterministic contents. These files were also not included if the testsuite was not run, too. Patch attached that deletes these files after running the tests. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/rules 2022-11-18 07:54:00.259645896 +0000 --- b/debian/rules 2022-11-18 08:00:24.842832228 +0000 @@ -5,7 +5,7 @@ export PYBUILD_NAME=pykafka export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}/ -export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests +export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests {build_dir}/coverage.xml {build_dir}/.coverage export PYBUILD_DISABLE_python2=1 export PYBUILD_TEST_ARGS_python3=tests \ --ignore=tests/pykafka/rdkafka/test_rd_kafka_consumer.py \