#1134667 geoalchemy2: please make the build reproducible

#1134667#5
Date:
2026-04-22 22:03:10 UTC
From:
To:
Hi,

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

This is because the call to:

    rm -rf debian/python3-geoalchemy2/usr/lib/python3/dist-packages/build

... should actually be:

    rm -rf debian/python3-geoalchemy2/usr/lib/python3*/dist-packages/build
                                                    ^^^

Otherwise, build/ doesn't get removed when the tests are run, and gets
installed under dist-packages, resulting in an unreproducible build.

Patch attached.

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


Regards,