#1146687 lektor: please make the build reproducible

#1146687#5
Date:
2026-09-04 11:03:22 UTC
From:
To:
Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
lektor could not be built reproducibly.

This is because the package contents differ if the testsuite is run or
not. Specifically, a number of files are 'missing' from the .deb if
the testsuite is skipped, as they are movied into place via the
PYBUILD_BEFORE_TEST environment variable.

Patch attached that removes these files after running the tests. However,
if the package needs these files at runtime, then the packaging will
need to be rejigged (likely replacing PYBUILD_BEFORE_TEST with something
like PYBUILD_AFTER_BUILD).

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


Regards,