Bug#1138800: borgbackup2 contains spurious cache files left over by the test suite

Gioele Barabucci gioele at svario.it
Wed Jun 3 22:48:42 BST 2026


Package: borgbackup2
Version: 2.0.0b20-5
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Dear borgbackup2 maintainers,

the binary package currently ships various cache files inside 
`usr/lib/borgbackup2/.pytest_cache`. These files are probably created 
during the build-time tests.

Please remove this whole directory from the binary package, also because 
this breaks the reproducibility of borgbackup2 under the <nocheck> profile.

cjwatson suggested the following fix on IRC:

> probably something like
> export PYBUILD_AFTER_TEST=rm -rf {build_dir}/.pytest_cache
> would fix it
Regards,

-- 
Gioele Barabucci



More information about the Reproducible-bugs mailing list