[Reproducible-builds] Bug#825968: epydoc: nondeterminism caused by list and file ordering

Sascha Steinbiss sascha at steinbiss.name
Tue May 31 21:20:23 UTC 2016


Source: epydoc
Version: 3.0.1+dfsg-12
Severity: wishlist
Tags: patch
User: reproducible-builds at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deterministic-sort-2.patch
Type: text/x-diff
Size: 1568 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160531/717ce2e7/attachment.patch>


More information about the Reproducible-builds mailing list