#1120593 python-pyutil: please make the build reproducible

#1120593#5
Date:
2025-11-12 20:28:42 UTC
From:
To:
Hi,

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

This was because it was building a different binary package depending
on whether the testsuite was being run or not. Specifically, it was
shipping files such as this:

  /usr/lib/python3/dist-packages/util/FileUtil/test_du/space-consuming/a/b/1.txt
                   ^^^^^^^^^^^^^^^^^^

... which seems like an issue in itself. Patch attached.

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


Regards,