Bug#1055919: python-ansible-pygments: please make the build reproducible

2023-11-19 Thread Stuart Prescott
Control: clone 1055919 -1 Control: reassign -1 dh-python 5.20230130+deb12u1 Making a clone of this bug for dh-python to track it getting fixed there; MR to come. Context: On Thu, 16 Nov 2023 17:33:58 +1100 Stuart Prescott wrote: > tldr: smells like a dh-python bug - I'll look at it

Bug#1055919: python-ansible-pygments: please make the build reproducible

2023-11-16 Thread Chris Lamb
Stuart Prescott wrote: > I think there's a subtle bug about altering `dirs` while > inside a loop from `os.walk`: I'm quite impressed that you managed to hunt this down — that's very nice work. :) > Which item is not processed in the next iteration by dh_python3 now > depends on the order in

Bug#1055919: python-ansible-pygments: please make the build reproducible

2023-11-15 Thread Stuart Prescott
tldr: smells like a dh-python bug - I'll look at it more and reassign etc later. Staring at some build logs some more: * the dirs are generated always * they get copied from .../.pybuild to ../debian/$package/ always * they are supposed to get removed by dh_python3 * that removal is not

Bug#1055919: python-ansible-pygments: please make the build reproducible

2023-11-15 Thread Holger Levsen
On Wed, Nov 15, 2023 at 01:31:26PM +, Chris Lamb wrote: > I would be more than willing to conclude that this is an issue in > tests.reproducible-builds.org setup. However, I am actually seeing > these test files when I build locally as well — and my patch > consequently fixes the "problem".

Bug#1055919: python-ansible-pygments: please make the build reproducible

2023-11-15 Thread Chris Lamb
[[ looping reproducible-bui...@lists.alioth.debian.org in on this issue ]] Stuart Prescott wrote: > Is there something about the r-b setup that would cause these > directories to be created and appear in the package? Hm, you know, I think there must be. In fact, connecting a few dots in my

Bug#1055919: python-ansible-pygments: please make the build reproducible

2023-11-15 Thread Stuart Prescott
Hi Chris, Whilst working on the Reproducible Builds effort [0], we noticed that python-ansible-pygments could not be built reproducibly. This is because the binary package included .pytest_cache and .test-results directories. Patch attached that removes these after running the

Bug#1055919: python-ansible-pygments: please make the build reproducible

2023-11-14 Thread Chris Lamb
Source: python-ansible-pygments Version: 0.1.1-6 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org Hi, Whilst working on the Reproducible Builds effort [0], we noticed that