[Python-modules-team] Bug#795976: sphinx: please make the build reproducible (timestamps, randomness)

Dmitry Shachnev mitya57 at debian.org
Wed Aug 19 18:07:26 UTC 2015


Hi Val,

On Tue, 18 Aug 2015 15:07:32 +0200, Val Lorentz wrote:
> The attached patch removes build timestamp from the output
> documentation, makes domains sorted in HTML documentation, and makes
> generated automata (and their pickle dump) deterministic. Once applied,
> sphinx (and packages using sphinx) can be built reproducibly in our
> current experimental framework.

Thanks a lot for the patch! This was actually in my TODO list, and you
helped me to make it a bit shorter :)

A couple of questions though:

* Will you forward the upstream part to upstream, or should I do that?
  It is a simple as a pull request to https://github.com/sphinx-doc/sphinx.

* The PYTHONHASHSEED setting in debian/rules was there for purpose
  (needed to make sure tests pass with it, as there was a bug in earlier
  versions when they didn't). Is it possible to keep the old value?
  Maybe you can use something else than builtin hash()?

  If it's impossible, then debian/rules should set PYTHONHASHSEED=random
  explicitly when running tests.

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20150819/4081006d/attachment-0001.sig>


More information about the Python-modules-team mailing list