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 tests.

I see those directories in the packages built on the r-b machines, but I don't 
see them in the package in the archive or when rebuilding the package locally. 
The files exist within the build tree but in /.pybuild/cpython3_3.11/build/ 
which does not get them installed.

Is there something about the r-b setup that would cause these directories to be 
created and appear in the package?

thanks
Stuart

$ apt download  -t sid python3-ansible-pygments

$ dpkg-deb --fsys-tarfile python3-ansible-pygments_0.1.1-6_all.deb | tar t
./
./usr/
./usr/lib/
./usr/lib/python3/
./usr/lib/python3/dist-packages/
./usr/lib/python3/dist-packages/ansible_pygments/
./usr/lib/python3/dist-packages/ansible_pygments/__init__.py
./usr/lib/python3/dist-packages/ansible_pygments/lexers.py
./usr/lib/python3/dist-packages/ansible_pygments/styles.py
./usr/lib/python3/dist-packages/ansible_pygments-0.1.1.dist-info/
./usr/lib/python3/dist-packages/ansible_pygments-0.1.1.dist-info/METADATA
./usr/lib/python3/dist-packages/ansible_pygments-0.1.1.dist-info/RECORD
./usr/lib/python3/dist-packages/ansible_pygments-0.1.1.dist-info/WHEEL
./usr/lib/python3/dist-packages/ansible_pygments-0.1.1.dist-info/entry_points.txt
./usr/share/
./usr/share/doc/
./usr/share/doc/python3-ansible-pygments/
./usr/share/doc/python3-ansible-pygments/changelog.Debian.gz
./usr/share/doc/python3-ansible-pygments/copyright
./usr/share/doc/python3-ansible-pygments/examples/
./usr/share/doc/python3-ansible-pygments/examples/lexer_test.py

--
Stuart Prescott   http://www.nanonanonano.net/ stu...@nanonanonano.net
Debian Developer  http://www.debian.org/       stu...@debian.org
GPG fingerprint   90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7

Reply via email to