Debian Bug report logs - #825968
epydoc: nondeterminism caused by list and file ordering

version graph

Package: src:epydoc; Maintainer for src:epydoc is Kenneth J. Pronovici <pronovic@debian.org>;

Reported by: Sascha Steinbiss <satta@debian.org>

Date: Tue, 31 May 2016 21:24:02 UTC

Severity: wishlist

Tags: patch

Found in version epydoc/3.0.1+dfsg-12

Fixed in version epydoc/3.0.1+dfsg-13

Done: pronovic@debian.org (Kenneth J. Pronovici)

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, Kenneth J. Pronovici <pronovic@debian.org>:
Bug#825968; Package src:epydoc. (Tue, 31 May 2016 21:24:05 GMT) (full text, mbox, link).


Acknowledgement sent to Sascha Steinbiss <sascha@steinbiss.name>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, Kenneth J. Pronovici <pronovic@debian.org>. (Tue, 31 May 2016 21:24:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Sascha Steinbiss <sascha@steinbiss.name>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: epydoc: nondeterminism caused by list and file ordering
Date: Tue, 31 May 2016 21:20:23 +0000
[Message part 1 (text/plain, inline)]
Source: epydoc
Version: 3.0.1+dfsg-12
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness fileordering

Dear Maintainer,

while working on the “reproducible builds” effort [1], we have noticed
that documentation written by epydoc list several items in an order that varies
across builds.

Tha attached patch makes sure that subclass lists are traversed in a sorted
fashion, as well as that input files are processed in a deterministic way.

Once applied, more packages using epydoc, e.g. python-csb [2], can be built
reproducibly in our current experimental framework.

Please note that there are also a few more packages [3] that may be affected by other,
more specific issues. It is likely that additional patches will follow.

Many thanks,
Sascha Steinbiss

[1] https://wiki.debian.org/ReproducibleBuilds
[2] https://tests.reproducible-builds.org/rb-pkg/unstable/amd64/python-csb.html
[3] https://tests.reproducible-builds.org/issues/unstable/use_epydoc_issue.html
[deterministic-sort-2.patch (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Kenneth J. Pronovici <pronovic@debian.org>:
Bug#825968; Package src:epydoc. (Fri, 10 Jun 2016 23:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Kenneth Pronovici <pronovic@debian.org>:
Extra info received and forwarded to list. Copy sent to Kenneth J. Pronovici <pronovic@debian.org>. (Fri, 10 Jun 2016 23:51:04 GMT) (full text, mbox, link).


Message #10 received at 825968@bugs.debian.org (full text, mbox, reply):

From: Kenneth Pronovici <pronovic@debian.org>
To: 825968@bugs.debian.org
Subject: Re: Bug#825968: epydoc: nondeterminism caused by list and file ordering
Date: Fri, 10 Jun 2016 18:45:23 -0500
Hi,

Sorry for the late reply; I've been traveling.

I'll work to apply these patches sometime soon -- hopefully within the
next week.  I do track the reproducible status for this package, so
this is a high priority for me.

KEN



Information forwarded to debian-bugs-dist@lists.debian.org, Kenneth J. Pronovici <pronovic@debian.org>:
Bug#825968; Package src:epydoc. (Mon, 13 Jun 2016 11:03:07 GMT) (full text, mbox, link).


Acknowledgement sent to Sascha Steinbiss <satta@tetrinetsucht.de>:
Extra info received and forwarded to list. Copy sent to Kenneth J. Pronovici <pronovic@debian.org>. (Mon, 13 Jun 2016 11:03:08 GMT) (full text, mbox, link).


Message #15 received at 825968@bugs.debian.org (full text, mbox, reply):

From: Sascha Steinbiss <satta@tetrinetsucht.de>
To: Kenneth Pronovici <pronovic@debian.org>, 825968@bugs.debian.org
Subject: Re: Bug#825968: epydoc: nondeterminism caused by list and file ordering
Date: Mon, 13 Jun 2016 12:00:04 +0100
Hi Ken,

> Sorry for the late reply; I've been traveling.
> I'll work to apply these patches sometime soon -- hopefully within the
> next week.  I do track the reproducible status for this package, so
> this is a high priority for me.

Thanks a lot for this. There might be some extra patches coming later;
I'm looking at each package that seems to be non-reproducible due to
epydoc and try to determine whether it's something to be fixed in epydoc
itself or specific to that package.

Cheers
Sascha


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 



Reply sent to pronovic@debian.org (Kenneth J. Pronovici):
You have taken responsibility. (Mon, 13 Jun 2016 18:21:07 GMT) (full text, mbox, link).


Notification sent to Sascha Steinbiss <sascha@steinbiss.name>:
Bug acknowledged by developer. (Mon, 13 Jun 2016 18:21:07 GMT) (full text, mbox, link).


Message #20 received at 825968-close@bugs.debian.org (full text, mbox, reply):

From: pronovic@debian.org (Kenneth J. Pronovici)
To: 825968-close@bugs.debian.org
Subject: Bug#825968: fixed in epydoc 3.0.1+dfsg-13
Date: Mon, 13 Jun 2016 18:20:14 +0000
Source: epydoc
Source-Version: 3.0.1+dfsg-13

We believe that the bug you reported is fixed in the latest version of
epydoc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 825968@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kenneth J. Pronovici <pronovic@debian.org> (supplier of updated epydoc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 13 Jun 2016 11:29:34 -0500
Source: epydoc
Binary: python-epydoc epydoc-doc
Architecture: source all
Version: 3.0.1+dfsg-13
Distribution: unstable
Urgency: medium
Maintainer: Kenneth J. Pronovici <pronovic@debian.org>
Changed-By: Kenneth J. Pronovici <pronovic@debian.org>
Description:
 epydoc-doc - tool for documenting Python modules (documentation)
 python-epydoc - tool for documenting Python modules
Closes: 825968
Changes:
 epydoc (3.0.1+dfsg-13) unstable; urgency=medium
 .
   * Bump standards version to 3.9.8.0 (no packaging changes).
   * Add new patch manpage-types.patch.
     - This patch fixes several misspellings discovered by Lintian.
   * Add new patch deterministic-sort-2.patch (closes: #825968).
     - This is a request from the Reproducible Builds project
     - This patch makes several more types of ordering deterministic
   * Change X-Python-Version from 2.1 to 2.4 in debian/control.
     - This is necessary to support deterministic-sort-2.patch
     - Practically, there is no effect, since Debian only has Python 2.7
Checksums-Sha1:
 3a212d872d7eb47379ce5bb92dd7fddab5933fd3 1852 epydoc_3.0.1+dfsg-13.dsc
 ebb8ffd3dde39d6346e7118b8f82ffcf35db264d 34152 epydoc_3.0.1+dfsg-13.debian.tar.xz
 a0030e63bc6f8b994fc30572b263d0a9f719210f 882940 epydoc-doc_3.0.1+dfsg-13_all.deb
 5a68f450cc27ff4f3bb9f10aae24cf9dbbe1c5c0 219876 python-epydoc_3.0.1+dfsg-13_all.deb
Checksums-Sha256:
 a320919a98159713424872a73a1662c0f23c5206370f142f97c8b07e3a7bc78c 1852 epydoc_3.0.1+dfsg-13.dsc
 6e4167b6f760312647aeb5522912f56fbf84a1515c8b6ffc2ed07fe8c52af348 34152 epydoc_3.0.1+dfsg-13.debian.tar.xz
 ea167f1f99d26b6f154af62dfe1e08af5e0e2ebc16389ed4fbe2538bbdb683fc 882940 epydoc-doc_3.0.1+dfsg-13_all.deb
 57918e3c50a716704bc43be000256fbacda717c4897856af51d5d0eb6965af81 219876 python-epydoc_3.0.1+dfsg-13_all.deb
Files:
 4430be033c6932d4ae42bdfcc9e8389d 1852 python optional epydoc_3.0.1+dfsg-13.dsc
 406dc827c9bb68e65f6598229832fa64 34152 python optional epydoc_3.0.1+dfsg-13.debian.tar.xz
 6370611e0593ad78c7e89f245834d954 882940 doc optional epydoc-doc_3.0.1+dfsg-13_all.deb
 bc6d2c7776dd27bec7b19390587d2926 219876 python optional python-epydoc_3.0.1+dfsg-13_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXXuNWAAoJEBEZKJLv11k0pOMP/0SWWefZDA0Kha99J57YOYvU
gOWsSDYC+Cbs1UECeu6/LF3C1nCXvSUs2WYqyVQDZoBjSbUyEetonQrA//ShAUUs
0u4R69Ae86fWm9yMGPGYOeKhh90dLYVHNn6EkxFIWu7lwkmtTUgnAmtyAR9dZoD/
xjBOnweaUpKA8w7QMdmauKVSpXkkphfDsy3yF/zE/T0EESHQQaSplS1gAjfjyfn6
3OceQX5e+UsG0+vhIrGgvINimewYVJZTg2LbUxEwxPcdqXs0Q3DciaIR8PVsL4gz
eQV0i6B73pC+VfYulAqJmooiNgJOkaP8IChkF7zGiHU7q9uZpa2lg4iHHgSWnYo4
Hm62/3HFPYM4aYIybtcG/Eoa1R3saitZIc3h1xYWasVG5ADQMzv14Zgbjyjg8V5s
oSKn7i0jGokV8s3ivOxYqSr6wdhopZ2IMiJpRG5XFHAW6h98hyt+euEQD0TaswNM
J1E2+rHVZAhBkqjq+dFG4EVT96xsX4R7uLnXjr/+jV0r38rUorksjpsFb/fKpUbR
Pb0gmF8Jf0MHNfXQkLEigpVz8iqjS+fFlLAcCP1//S/4GOD1u8UzJu9KytmTLPqp
wQSljimci+zyB9KlIyG3U/QzonN3c6I5Jt09ymR5Wf1aq5eIEazHRcjRU75aqkK3
Qk+rG4tIVaSF+2+DI3sZ
=aUmT
-----END PGP SIGNATURE-----




Changed Bug submitter to 'Sascha Steinbiss <satta@debian.org>' from 'Sascha Steinbiss <sascha@steinbiss.name>'. Request was from Sascha Steinbiss <satta@debian.org> to control@bugs.debian.org. (Sun, 19 Jun 2016 23:54:20 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 20 Jul 2016 07:32:27 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:49:00 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.