Bug#1126092: argparse-manpage: please make the output reproducible
Chris Lamb
lamby at debian.org
Wed Jan 21 18:18:13 GMT 2026
Source: argparse-manpage
Version: 4.7-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps toolchain
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
argparse-manpage generates nondeterministic manpages.
This appears to be a regression from version 4.5 which correctly used
utcfromtimestamp to parse SOURCE_DATE_EPOCH to a Python datetime
object. However, 4.7 uses fromtimestamp (cf. "utcfromtimestamp"), so
the generated manual pages differ depending on the surrounding timezone.
This is affecting at least the src:psutils and src:virtme-ng packages,
but there are likely more.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
More information about the Reproducible-bugs
mailing list