[Python-modules-team] Bug#987630: python3-authheaders: missing .egg-info metadata
Kunal Mehta
legoktm at debian.org
Mon Apr 26 21:07:12 BST 2021
Package: python3-authheaders
Version: 0.10.0-1
Severity: important
Dear maintainer,
The python3-authheaders package in Buster is missing the .egg-info metadata
so it can't be found by e.g. pkg-resources:
>>> import authheaders; authheaders
<module 'authheaders' from '/usr/lib/python3/dist-packages/authheaders/__init__.py'>
>>> import pkg_resources; pkg_resources.get_distribution('authheaders')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 481, in get_distribution
dist = get_provider(dist)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 357, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'authheaders' distribution was not found and is required by the application
I note that 0.11.0-1 (from snapshot.debian.org) has the correct files:
/usr/lib/python3/dist-packages/authheaders-0.11.0.egg-info
/usr/lib/python3/dist-packages/authheaders-0.11.0.egg-info/PKG-INFO
/usr/lib/python3/dist-packages/authheaders-0.11.0.egg-info/dependency_links.txt
/usr/lib/python3/dist-packages/authheaders-0.11.0.egg-info/not-zip-safe
/usr/lib/python3/dist-packages/authheaders-0.11.0.egg-info/requires.txt
/usr/lib/python3/dist-packages/authheaders-0.11.0.egg-info/top_level.txt
It wasn't obvious to me what change from 0.10.0-1 to 0.11.0-1 fixed this otherwise
I would have attempted to provide a patch.
I encountered this while trying to run a newer version of Mailman3 on Buster, which
depends on this package.
Thanks,
Kunal
-- System Information:
Debian Release: 10.9
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.98-1.fc25.qubes.x86_64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python3-authheaders depends on:
ii publicsuffix 20190415.1030-1
ii python3 3.7.3-1
ii python3-authres 1.1.1-1
ii python3-dkim 0.9.6-0+deb10u1
ii python3-dnspython 1.16.0-1
ii python3-publicsuffix 1.1.0-2
Versions of packages python3-authheaders recommends:
pn python3-spf <none>
python3-authheaders suggests no packages.
-- no debconf information
More information about the Python-modules-team
mailing list