Bug#1121147: python-pysaml2: please make the build reproducible
Chris Lamb
lamby at debian.org
Fri Nov 21 19:45:26 GMT 2025
Source: python-pysaml2
Version: 7.5.0-4
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
python-pysaml2 could not be built reproducibly.
It appears that the eptid.db file has been renamed to "eptid", so the
call to delete it in execute_after_dh_auto_test needs to be updated.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-11-21 10:08:59.066813155 -0800
--- b/debian/rules 2025-11-21 11:43:40.097402928 -0800
@@ -16,7 +16,7 @@
dh $@ --buildsystem=pybuild --with python3,sphinxdoc
override_dh_auto_clean:
- rm -rf build src/*.egg-info .pytest_cache tests/subject.db.db tests/subject_data.db.db eptid.db
+ rm -rf build src/*.egg-info .pytest_cache tests/subject.db.db tests/subject_data.db.db eptid
find . -iname '*.pyc' -delete
for i in $$(find . -type d -iname __pycache__) ; do rm -rf $$i ; done
dh_auto_clean
@@ -24,7 +24,7 @@
# This file ends-up in the package, and makes the package
# unreproducible. Let's delete it.
execute_after_dh_auto_test:
- find .pybuild -type f -name eptid.db -delete
+ find .pybuild -type f -name eptid -delete
#override_dh_install:
# dh_install
More information about the Reproducible-bugs
mailing list