[Request for help] Making brian reproducible

Nilesh Patra nilesh at nileshpatra.info
Mon Jun 7 20:16:53 BST 2021


I was trying to make "brian" package reproducible. To my understanding it has two problems:

* use datetime.date.today() and similar stuff for build documentation - I suppose I fixed these with using SOURCE_DATE_EPOCH

* Only _some_ files in the documentation it vendors has stuff (like tags, examples, links) in random order across different builds.
By the looks of it, it seems this randomness is due to the way data is being inserted into files with the brian2/sphinxext/generate_examples.py script,
but I am having trouble figuring it out beyond this point.

I'd really appreciate any help here.

My changes are pushed here[1], the failing reprotest CI can be found here[2], and this is the diffoscope[3]

[1]: https://salsa.debian.org/med-team/brian/-/blob/make-reproducible
[2]: https://salsa.debian.org/med-team/brian/-/jobs/1688958
[3]: http://paste.debian.net/1200330/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20210608/12d5ddb6/attachment.sig>

More information about the Reproducible-builds mailing list