Source: traitlets
Version: 4.3.3-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness toolchian
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed
that traitlets generates non-reproducible output which is affecting
the reproducibility of other packages. For example, in nbconvert:
-<dd><p class="first">Default: […] {'image/jpeg',</span> <span
class="pre">'image/svg+xml',</span> <span class="pre">'ap
plication/pdf',</span>
+<dd><p class="first">Default: <code class="docutils literal
notranslate"><span class="pre">{'image/svg+xml',</span> <span
class="pre">'application/pdf',</span>
(From https://tests.reproducible-builds.org/debian/rb-pkg/unstable/
amd64/nbconvert.html on 20191014)
This is due to it not iterating over a Set traitlet type in a
deterministic ordering when generating the "Default:" human-readable
string.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team