Bug#977355: UserWarning: cannot parse package relationship "i", returning it raw
Raphaël Hertzog
hertzog at debian.org
Mon Dec 14 10:42:08 GMT 2020
Package: python3-debian
Version: 0.1.35
Severity: normal
The package tracker started to generate annoying messages in its cron job:
/usr/lib/python3/dist-packages/debian/deb822.py:1403: UserWarning: cannot parse package
relationship "i", returning it raw
' relationship "%s", returning it raw' % raw)
This is due to a buggy package containing a dependency on "i" (it's
libmagics++-dev, bug filed already) but I don't see any reason for deb822
to fail on this dependency. It's a very short package name that we should
likely not allow in Debian but I don't a reason to not be able to parse
it (in particular when nothing else in the build machinery choked on that
dependency, starting with dpkg-gencontrol).
Please update the __dep_RE regex to accept single-character dependencies:
1421 __dep_RE = re.compile(
1422 r'^\s*(?P<name>[a-zA-Z0-9.+\-]{2,})'
Cheers,
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-debian depends on:
ii python3 3.9.0-4
ii python3-chardet 3.0.4-7
ii python3-six 1.15.0-2
Versions of packages python3-debian recommends:
ii python3-apt 2.1.7
Versions of packages python3-debian suggests:
ii gpgv 2.2.20-1
-- no debconf information
More information about the pkg-python-debian-maint
mailing list