Package: python3-httpx Version: 0.22.0-1 Severity: important X-Debbugs-Cc: [email protected]
Please teach httpx that it needs to depend on h11 >>0.11. Error while testing: self = <AsyncHTTP11Connection ['http://localhost:40923', CLOSED, Request Count: 1]> request = <Request [b'GET']> async def _receive_response_headers( self, request: Request ) -> Tuple[bytes, int, bytes, List[Tuple[bytes, bytes]]]: timeouts = request.extensions.get("timeout", {}) timeout = timeouts.get("read", None) while True: event = await self._receive_event(timeout=timeout) if isinstance(event, h11.Response): break http_version = b"HTTP/" + event.http_version # h11 version 0.11+ supports a `raw_items` interface to get the # raw header casing, rather than the enforced lowercase headers. > headers = event.headers.raw_items() E AttributeError: 'list' object has no attribute 'raw_items' -- System Information: Debian Release: 11.2 APT prefers stable APT policy: (700, 'stable'), (650, 'testing'), (600, 'oldstable'), (500, 'unstable'), (450, 'focal'), (350, 'oldoldstable'), (300, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, arm64 Kernel: Linux 5.10.0-10-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_USER, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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-httpx depends on: ii python3 3.9.2-3 ii python3-async-generator 1.10-3 ii python3-certifi 2020.6.20-1 ii python3-charset-normalizer 2.0.6-2 ii python3-click 8.0.3-1 ii python3-httpcore 0.14.5-1 ii python3-pygments 2.7.1+dfsg-2.1 ii python3-rfc3986 1.4.0-3 ii python3-rich 11.2.0-1 ii python3-sniffio 1.1.0-1 python3-httpx recommends no packages. python3-httpx suggests no packages. -- debconf-show failed

