[Python-modules-team] Bug#795976: sphinx: please make the build reproducible (timestamps, randomness)
Val Lorentz
progval at progval.net
Wed Aug 19 18:29:39 UTC 2015
On 19/08/2015 20:07, Dmitry Shachnev wrote:
> * 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.
I will do it.
> * 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.
I haven't tried, and I wouldn't rely on a hash function written myself.
Another solution would be to keep PYTHONHASHSEED=random globally and set
PYTHONHASHSEED=0 only when generating the grammar.
-------------- 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/49cec096/attachment.sig>
More information about the Python-modules-team
mailing list