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

Sort input file list #609

Closed
wants to merge 1 commit into from
Closed

Sort input file list #609

wants to merge 1 commit into from

Conversation

bmwiedemann
Copy link

Sort input file list
so that nacl/_sodium.abi3.so builds in a reproducible way
in spite of indeterministic filesystem readdir order
and http://bugs.python.org/issue30461

See https://reproducible-builds.org/ for why this is good.

This PR was done while working on reproducible builds for openSUSE.

@reaperhulk
Copy link
Member

Would you mind adding a comment that mentions why it's being sorted? I'd like to minimize the chance we regress on this in the future. Once the comment is there this lgtm.

@bmwiedemann
Copy link
Author

added the comment. Sorry for missing your note.

@reaperhulk
Copy link
Member

Unfortunately we've switched to black in the codebase since you submitted this PR. This will probably merge cleanly if you run black on just setup.py, but otherwise if you wouldn't mind rebasing/running black that'd be great.

so that nacl/_sodium.abi3.so builds in a reproducible way
in spite of indeterministic filesystem readdir order
and http://bugs.python.org/issue30461

See https://reproducible-builds.org/ for why this is good.

This PR was done while working on reproducible builds for openSUSE.
@bmwiedemann
Copy link
Author

rebased without conflicts

@reaperhulk
Copy link
Member

black still thinks it would reformat this file so CI is still failing 😞

Base automatically changed from master to main February 13, 2021 18:38
@reaperhulk
Copy link
Member

Happy to merge a PR like this if someone wants to take it over 😄

@reaperhulk reaperhulk closed this Aug 10, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants