python-jsonpath-ng: drop ply, six and decorator dependencies
authorAlexandru Ardelean <redacted>
Sun, 14 Jun 2026 15:31:10 +0000 (15:31 +0000)
committerAlexandru Ardelean <redacted>
Wed, 17 Jun 2026 03:53:07 +0000 (06:53 +0300)
commit933152c011d9aa3a6f0a9eb60aaee1ba59583d09
tree63b791cd5bb19ee086067c9f7473acacad212210
parent71d92bcc9edbc8f95858ce82a8ff5d52500005a2
python-jsonpath-ng: drop ply, six and decorator dependencies

jsonpath-ng 1.8.0 vendors ply as jsonpath_ng._ply and no longer imports
six or decorator, so none are required at runtime.

It builds through the setuptools.build_meta legacy backend but never
declared setuptools as a build dependency; it was only present in the host
build env transitively via those packages' builds. Add python-setuptools/host
explicitly so the build no longer relies on that side effect.

The jsonpath_ng CLI takes a required expression argument and has no version
flag, so the generic version check cannot detect the package version from it.
Add a test-version.sh override and assert __version__ in test.sh instead,
mirroring python-jmespath.

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-jsonpath-ng/Makefile
lang/python/python-jsonpath-ng/test-version.sh [new file with mode: 0644]
lang/python/python-jsonpath-ng/test.sh
git clone https://git.99rst.org/PROJECT