Bug#890398: python3-yarl: API has breaking changes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#890398: python3-yarl: API has breaking changes

Salvo Tomaselli-3
Package: python3-yarl
Version: 1.1.0-1
Severity: important

Dear Maintainer,

this package introduces breaking API changes, causing python3-aiohttp to
stop working.

In [6]: from aiohttp import web, web_request
   ...:
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-6-579b1c1a31ec> in <module>()
----> 1 from aiohttp import web, web_request

/usr/lib/python3/dist-packages/aiohttp/web.py in <module>()
     13 from yarl import URL
     14
---> 15 from . import (hdrs, web_exceptions, web_fileresponse, web_middlewares,
     16                web_protocol, web_request, web_response, web_server,
     17                web_urldispatcher, web_ws)

/usr/lib/python3/dist-packages/aiohttp/web_middlewares.py in <module>()
      3
      4 from aiohttp.web_exceptions import HTTPMovedPermanently
----> 5 from aiohttp.web_urldispatcher import SystemRoute
      6
      7

/usr/lib/python3/dist-packages/aiohttp/web_urldispatcher.py in <module>()
     19 # use `URL(path).raw_path` instead of `quote(path)`
     20 # Escaping of the URLs need to be consitent with the escaping done by yarl
---> 21 from yarl import URL, unquote
     22
     23 from . import hdrs, helpers

ImportError: cannot import name 'unquote'

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

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to it_IT.UTF-8), LANGUAGE=it (charmap=UTF-8) (ignored: LC_ALL set to it_IT.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-yarl depends on:
ii  libc6              2.26-6
ii  python3            3.6.4-1
ii  python3-idna       2.6-1
ii  python3-multidict  4.1.0-1

python3-yarl recommends no packages.

python3-yarl suggests no packages.

-- no debconf information