Bug#1120591: jsonpath-ng: please make the build reproducible
Chris Lamb
lamby at debian.org
Wed Nov 12 20:22:31 GMT 2025
Source: jsonpath-ng
Version: 1.7.0-3
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
jsonpath-ng could not be built reproducibly.
This is because it built a different binary package depending on
whether nocheck was specified. Specifically, if the tests were run,
then the package would ship a "parser.out" file.
Patch attached that removes this file after running the tests.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-11-12 12:18:22.052906742 -0800
--- b/debian/rules 2025-11-12 12:21:37.004458557 -0800
@@ -2,6 +2,7 @@
export PYBUILD_NAME=jsonpath-ng
export PYBUILD_TEST_ARGS=-k "not test_fields_value"
+export PYBUILD_AFTER_TEST=rm -vf {build_dir}/jsonpath_ng/parser.out
%:
dh $@ --buildsystem=pybuild
More information about the Reproducible-bugs
mailing list