• Bug#1100977: python-moto: please make the build reproducible

    From Chris Lamb@21:1/5 to All on Fri Mar 21 12:00:01 2025
    --5fb3348adcec454b8844026ddb4c226c
    Content-Type: text/plain
    Content-Transfer-Encoding: 7bit

    Source: python-moto
    Version: 5.1.1-3
    Severity: wishlist
    Tags: patch
    User: reproducible-builds@lists.alioth.debian.org
    Usertags: randomness
    X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

    Hi,

    Whilst working on the Reproducible Builds effort [0], we noticed that python-moto could not be built reproducibly.

    This is because the tests generate a "moto_recording" file that then
    gets installed directly under the /usr/lib/python3/dist-packages
    directory (which, itself, I believe is a bug).

    Patch attached that removes this file after running the testsuite.

    [0] https://reproducible-builds.org/


    Regards,

    --
    ,''`.
    : :' : Chris Lamb
    `. `'` lamby@debian.org / chris-lamb.co.uk
    `-

    --5fb3348adcec454b8844026ddb4c226c
    Content-Disposition: attachment; filename="python-moto.diff.txt"
    Content-Type: text/plain; name="python-moto.diff.txt" Content-Transfer-Encoding: base64

    LS0tIGEvZGViaWFuL3J1bGVzCTIwMjUtMDMtMjEgMTA6MDU6NTAuMjMxNDkzOTMxICswMDAw Ci0tLSBiL2RlYmlhbi9ydWxlcwkyMDI1LTAzLTIxIDEwOjI1OjE3Ljk4MjY5MDYyNCArMDAw MApAQCAtOCw2ICs4LDcgQEAKIGV4cG9ydCBodHRwX3Byb3h5IDo9CiBleHBvcnQgaHR0cHNf cHJveHkgOj0KIGV4cG9ydCBQWUJVSUxEX1RFU1RfQVJHUyA6PSAtbSAnbm90IG5ldHdvcmsg YW5kIG5vdCByZXF1aXJlc19kb2NrZXInIHRlc3RzCitleHBvcnQgUFlCVUlMRF9BRlRFUl9U RVNUIDo9IHJtIC1mdiB7YnVpbGRfZGlyfS9tb3RvX3JlY29yZGluZwogCiAjIFJlcXVpcmVz IHVucGFja2FnZWQgY2ZubGludC4KIFBZQlVJTERfVEVTVF9BUkdTICs9IFwK

    --5fb3348adcec454b8844026ddb4c226c--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)