#1126092 argparse-manpage: please make the output reproducible

#1126092#5
Date:
2026-01-21 18:18:13 UTC
From:
To:
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,

#1126092#10
Date:
2026-01-21 18:54:44 UTC
From:
To:
Chris Lamb wrote:

Non-empty patch now attached.


Regards,

#1126092#15
Date:
2026-09-23 21:29:09 UTC
From:
To:
...


I can confirm this issue is still present, and the patch fixes the
issue.

I would like to perform a Non-Maintainer Upload (NMU) applying this
patch in the next week or two.

Please let me know if there are any outstanding concerns.

live well,
  vagrant

#1126092#20
Date:
2026-10-14 18:59:53 UTC
From:
To:
...

I have uploaded an NMU to DELAYED/10, debdiff attached.

A merge request with the NMU updates also submitted at:

https://salsa.debian.org/freeipa-team/argparse-manpage/-/merge_requests/2

live well,
  vagrant