Your message dated Thu, 26 Feb 2026 08:38:21 +0000
with message-id <[email protected]>
and subject line Bug#1128981: fixed in jsonpath-ng 1.8.0-1
has caused the Debian Bug report #1128981,
regarding jsonpath-ng: please fix d/watch for the new PyPi archive naming policy
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1128981: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128981
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: jsonpath-ng
Version: 1.7.0-4
Severity: normal
Hi Antonio,
PyPi has changed the way it mangles archive names a while ago.
The old d/watch files cannot detect the new archive.
I'm using an UDD script to track those (hereunder).
Please tweak the watch file here to accept [_-].
I'm not quite sure that the watch v5 logic version
with the template is up-to-par;
you may want to try for yourself
https://pypi.debian.net/jsonpath-ng
- jsonpath-ng-1.6.0.tar.gz
- jsonpath-ng-1.6.1.tar.gz
- jsonpath-ng-1.7.0.tar.gz
- jsonpath_ng-1.8.0.tar.gz
$ cat pypi.py
#!/usr/bin/python3
import re
from looseversion import LooseVersion2 as V
import requests
import psycopg
RE = re.compile(r'(https?://pypi\.debian\.net/.*)/(.*)\-')
conn =
psycopg.connect("postgresql://udd-mirror:[email protected]/udd")
cursor = conn.cursor()
cursor.execute("""
SELECT DISTINCT source, version, watch_file
FROM upstream
WHERE watch_file LIKE '%://pypi.debian.net/%'
AND status = 'up to date' -- well it _thinks_ it is up-to-date
""")
count = 0
for row in cursor.fetchall():
source_, version_, watch_ = row
source = source_.decode('ascii', 'ignore')
version = version_.decode('ascii', 'ignore')
watch = watch_.decode('ascii', 'ignore')
current = V(version)
if not current:
print('cannot parse %s' % version)
continue
watch = watch.replace('@PACKAGE@', source)
watch = watch.replace('@ANY_VERSION@', '-any_version')
match = RE.search(watch)
if not match:
continue
base = match[1]
archive = match[2]
transform = archive.replace('-', '_').lower()
if transform == archive:
continue
count += 1
#print(base, version, archive)
r = requests.get(base)
for line in r.text.splitlines():
if transform in line:
#print(line)
new_v = line.split('>')[1].split('<')[0]
next_v = new_v.split('-')[1]
if next_v.endswith('.tar.gz'):
next_v = next_v[:len(next_v)-len('.tar.gz')]
if next_v.endswith('.tgz'):
next_v = next_v[:len(next_v)-len('.tgz')]
next_version = V(next_v)
if not next_version:
print('cannot parse %s' % next_version)
elif next_version > current:
print(source, version, base, new_v, archive)
print(count)
--- End Message ---
--- Begin Message ---
Source: jsonpath-ng
Source-Version: 1.8.0-1
Done: Antonio Valentino <[email protected]>
We believe that the bug you reported is fixed in the latest version of
jsonpath-ng, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Antonio Valentino <[email protected]> (supplier of updated
jsonpath-ng package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 26 Feb 2026 07:04:10 +0000
Source: jsonpath-ng
Architecture: source
Version: 1.8.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <[email protected]>
Changed-By: Antonio Valentino <[email protected]>
Closes: 1128981
Changes:
jsonpath-ng (1.8.0-1) unstable; urgency=medium
.
[ Antonio Valentino ]
* debian/watch:
- Switch to github (closes: #1128981).
* New Updtream release.
* Update d/copyright.
* debian/control:
- Drop dependency on python3-ply.
- Add dependency on python3-hypothesis.
* Add d/clean file.
* debian/riles:
- Clean the build direcctory to suppress warnings.
- Re-enable all tests.
.
[ Bas Couwenberg ]
* Drop Priority: optional, default since dpkg 1.22.13.
* Bump Standards-Version to 4.7.3, changes: priority.
Checksums-Sha1:
34414920ef8448439ae7769797268e7073fab484 2968 jsonpath-ng_1.8.0-1.dsc
26c9bb8391156e801c68a0284bf4522b85289ab4 73666 jsonpath-ng_1.8.0.orig.tar.gz
58c999d6e4bc7279fbcb217c93330e411cb0f9b1 5204 jsonpath-ng_1.8.0-1.debian.tar.xz
5fad038e790f32150e1650a9e08548549509396e 7119
jsonpath-ng_1.8.0-1_amd64.buildinfo
Checksums-Sha256:
bd73f977b3c6db2d1e8b079140d7ddd25591a30c3644b7a9ebd6885688dd3539 2968
jsonpath-ng_1.8.0-1.dsc
af56a8fc62ea07a4ccc373aa84f8a907b2c32142b19b7d95896410730f628d5e 73666
jsonpath-ng_1.8.0.orig.tar.gz
8d1d1272ff5072fe976c79a44f0541487784f34e8ba86164981606ce735f6849 5204
jsonpath-ng_1.8.0-1.debian.tar.xz
21c2f29fbf3a80f321f3f78f59646779bf4315bc203a63530fdae622b39579b4 7119
jsonpath-ng_1.8.0-1_amd64.buildinfo
Files:
5d3c50db3880ed4e418b96f7b847aed2 2968 python optional jsonpath-ng_1.8.0-1.dsc
b6a1f8501a812fb88ab45f08924d6698 73666 python optional
jsonpath-ng_1.8.0.orig.tar.gz
7d7731c7ed689d293dbe6b73de212fe5 5204 python optional
jsonpath-ng_1.8.0-1.debian.tar.xz
9572fdf9ca57517bed9e75a1739732bd 7119 python optional
jsonpath-ng_1.8.0-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJRBAEBCgA7FiEEO3DyCaX/1okDxHLF6/SKslePmBIFAmmgAPkdHGFudG9uaW8u
dmFsZW50aW5vQHRpc2NhbGkuaXQACgkQ6/SKslePmBJFXA//UEaVx5WqcY3yHunh
tn+jZb9jKHxzHHLwOW8R+cJdhwBLy3fjlpYpavRUIDZiEbd6gsZ1bu1um7B57wY5
32NYUVqz91ysno+8BzkQWZ4x0CwI5IyCU4yrfQvmoZINcTnzmxHzKNjZ8ydXQEyG
cofSFo9/88lpIS/oofjjYeHXBgccLK63xiLG+efaJFLQFohf4ycIaKKz2Ll6FGaH
AgkK5ihZl0T9fyOONv5pmYtN6YG8fkGyEwLR6KQ9FkmxpB1fFejZqlK6dJcTrER+
chGy9tlh/RYehZ4tRrXCjtXaU0PFuwzmq+apUNs0yWZrVLj8pK6DHOJOsTti3c6k
IZX8ebnN/b9PVNpbuGkRpNg2XhXXug4+1x0Jh+w1Ih4GLjfSmDoks8+oLC4meBTP
QD8C47ndV0BruXCmj/NRM7XuvQkkSYILZ/LHpkBUl6SwQj82nOeRByFBOdmohtTB
ySxLc/tG+VBLiexpYAvRU5+0iuAC0AnS6frQW/jOoxuXZqloGt4t5hfDkouRwg0Z
Zecg3qyyYx+YCsX4MBYOCruUuegqjOpnuZNryEicLWHVy5IezQ4VmgnZAk8dUpa3
Ij2a6vUvcwYNqS1VEY2Z/3dPZqmcaLTPyQeBfT6N+ot0w/xfBHR+BGZOOWtUwPxy
d1Gbd1k6DqQxeshI+D4LrB9EZCI=
=OOCE
-----END PGP SIGNATURE-----
pgphGcTl0YU9_.pgp
Description: PGP signature
--- End Message ---