Make Python release wheels reproducible - #69
Merged
Conversation
Signed-off-by: bordumb <bordumbb@gmail.com> Auths-Id: did:keri:EMN-WRXNAkLfavKsaFHS0ehP7eB1s8a1alktBJoDhI7b Auths-Device: did:keri:EAswoxxXY6-kXqYcc3mUngY8GOiwhDwXxFfjWXzCvuW6 Auths-Anchor-Seq: 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
SOURCE_DATE_EPOCHfrom the exact Git commit timestamp.Root cause
Release preparation run #5 completed both isolated builders, then rejected the candidate because the Python wheel differed between them.
Maturin uses
SOURCE_DATE_EPOCHfor wheel metadata timestamps. Auths did not set it, so separate runners packaged the same source with different ZIP timestamps. The release comparator correctly treated that as a terminalplatform-reproduciblemismatch.Evidence
807daa398c8e9353784855322eca28e7b49d49ed, using its commit-derived epoch, produced the same SHA-256:d4b9c709389e0a545b48b29ccca5cf9c683293d385cfa83899d8d637c944652ad4b9c709389e0a545b48b29ccca5cf9c683293d385cfa83899d8d637c944652axtaskunit tests passed.npm packbefore Python with a pre-existing root-owned cache-file error. The two Python wheel builds were therefore run directly and passed byte comparison.Affected claims
Exclusions and remaining gates