[Python-modules-team] Bug#795976: sphinx: please make the build reproducible (timestamps, randomness)
Dmitry Shachnev
mitya57 at debian.org
Sun Aug 30 19:19:52 UTC 2015
Hi Val,
On Tue, 25 Aug 2015 18:21:34 +0200, Val Lorentz wrote:
> However, reading debian/rules, I think setting PYTHONHASHSEED=0 when
> calling dh_sphinxdoc should work. Actually, modifying dh_sphinxdoc to
> set this variable may be better (in case someone copy-pastes it to their
> own package).
dh_sphinxdoc does not touch searchindex. It just symlinks some shared
scripts (jquery, underscore, etc) to packaged versions.
Setting PYTHONHASHSEED=0 for sphinx-build call works, but we should not
force all dependent packages to do that. (PYTHONHASHSEED=random is
default since Python 3.3).
> If it does not work, try the attached package.
Your patch works too, thanks! As it is more universal solution than
setting PYTHONHASHSEED=0, can you please add it to your pull request?
--
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/20150830/452f0677/attachment-0001.sig>
More information about the Python-modules-team
mailing list