#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,

#1146687#10
Date:
2026-09-27 05:30:10 UTC
From:
To:
Control: retitle -1 lektor: Temporary testing files not removed after test suite

I have created a merge request against this package's Salsa repository
<URL:https://salsa.debian.org/debian/lektor/-/merge_requests/3> that
implements this change. Chris Lamb's change is committed with his email
address as author.