Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please don't rely on stable set ordering. #61

Closed
wants to merge 1 commit into from

Conversation

lamby
Copy link
Contributor

@lamby lamby commented Jan 7, 2018

Whilst working on the Reproducible Builds effort [0], we noticed
that python-stdnum could not be built reproducibly as it relies
on a stable set ordering when generating the documentation.

This has been filed in Debian as #88652

[0] https://reproducible-builds.org/
[1] https://bugs.debian.org/886522

Signed-off-by: Chris Lamb chris@chris-lamb.co.uk

Whilst working on the Reproducible Builds effort [0], we noticed
that python-stdnum could not be built reproducibly as it relies
on a stable set ordering when generating the documentation.

This has been filed in Debian as #88652

 [0] https://reproducible-builds.org/
 [1] https://bugs.debian.org/886522

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
@arthurdejong
Copy link
Owner

Thanks for providing the fix. I modified the commit message slightly.
Another option would be to set PYTHONHASHSEED when generating the documentation (assuming that it also works for sets).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants