Source: jsonpath-ng
Version: 1.7.0-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]

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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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

Reply via email to