[Python-modules-team] Bug#897432: python3-aiohttp: Should depend on python3-yarl (>= 1.0)

Joel Cross joel+debbugs at kazbak.co.uk
Wed May 2 15:20:05 BST 2018


Package: python3-aiohttp
Version: 3.0.1-1
Severity: important

Dear Maintainer,

On my system, attempting to use aiohttp results in an error like the following:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/aiohttp/web_protocol.py", line 376, in
start
    resp = await self._request_handler(request)
  File "/usr/lib/python3/dist-packages/aiohttp/web_app.py", line 285, in
_handle
    match_info = await self._router.resolve(request)
  File "/usr/lib/python3/dist-packages/aiohttp/web_urldispatcher.py", line 792,
in resolve
    match_dict, allowed = await resource.resolve(request)
  File "/usr/lib/python3/dist-packages/aiohttp/web_urldispatcher.py", line 294,
in resolve
    match_dict = self._match(request.rel_url.raw_path)
  File "/usr/lib/python3/dist-packages/aiohttp/web_urldispatcher.py", line 411,
in _match
    for key, value in match.groupdict().items()}
  File "/usr/lib/python3/dist-packages/aiohttp/web_urldispatcher.py", line 411,
in <dictcomp>
    for key, value in match.groupdict().items()}
TypeError: build() got an unexpected keyword argument 'encoded'

After some digging, I realised this is because my installed version of
python3-yarl is out of date, and the yarl API has changed since my currently
installed version.
Upstream aiohttp specifies a dependency on 'yarl>=1.0,<2.0'
(https://github.com/aio-libs/aiohttp/blob/master/setup.py#L76), but this Debian
package currently only depends on yarl of any version being installed. This
package should be updated to depend on the correct version of yarl.



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-aiohttp depends on:
ii  libc6                  2.27-3
ii  python3                3.6.5-3
ii  python3-async-timeout  2.0.0-1
ii  python3-attr           17.4.0-2
ii  python3-chardet        3.0.4-1
ii  python3-multidict      4.1.0-1
ii  python3-yarl           1.1.1-1

python3-aiohttp recommends no packages.

python3-aiohttp suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list