Source: argparse-manpage
Version: 4.7-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps toolchain
X-Debbugs-Cc: [email protected]

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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-


Reply via email to