Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1279261

Bug#1126092: argparse-manpage: please make the output reproducible

From "Chris Lamb" <lamby@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1126092: argparse-manpage: please make the output reproducible
Date 2026-01-21 21:00 +0100
Message-ID <MfLUe-cfB2-19@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Source: argparse-manpage
Version: 4.7-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps toolchain
X-Debbugs-Cc: reproducible-bugs@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@debian.org / chris-lamb.co.uk
       `-

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1126092: argparse-manpage: please make the output reproducible "Chris Lamb" <lamby@debian.org> - 2026-01-21 21:00 +0100

csiph-web