[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1001728: python-aiohttp breaks dask autopkgtest: 'async_timeout' has no attribute 'Timeout'

Source: python-aiohttp
Control: found -1 python-aiohttp/3.8.1-3
Severity: serious
Tags: sid bookworm
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: breaks

Dear maintainer(s),

With a recent upload of python-aiohttp the autopkgtest of dask fails in testing when that autopkgtest is run with the binary packages of python-aiohttp from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
python-aiohttp         from testing    3.8.1-3
dask                   from testing    2021.09.1+dfsg-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. To me it looks like this is all python-aiohttp code path, so I *suspect* the issue is with python-aiohttp itself.

Currently this regression is blocking the migration of python-aiohttp to testing [1].

More information about this bug and the reason for filing it can be found on


[1] https://qa.debian.org/excuses.php?package=python-aiohttp


Testing with python3.9:
============================= test session starts ============================== platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-0.13.0 -- /usr/bin/python3.9
cachedir: .pytest_cache
rootdir: /tmp/autopkgtest-lxc.eom7aakg/downtmp/autopkgtest_tmp
collecting ... collected 9095 items / 1 error / 3 deselected / 21 skipped / 9070 selected

==================================== ERRORS ==================================== __________________ ERROR collecting bytes/tests/test_http.py ___________________
/usr/lib/python3/dist-packages/dask/bytes/tests/test_http.py:18: in <module>
    aiohttp = pytest.importorskip("aiohttp")
/usr/lib/python3/dist-packages/aiohttp/__init__.py:6: in <module>
    from .client import (
/usr/lib/python3/dist-packages/aiohttp/client.py:36: in <module>
    from . import hdrs, http, payload
/usr/lib/python3/dist-packages/aiohttp/http.py:7: in <module>
    from .http_parser import (
/usr/lib/python3/dist-packages/aiohttp/http_parser.py:29: in <module>
    from .helpers import NO_EXTENSIONS, BaseTimerContext
/usr/lib/python3/dist-packages/aiohttp/helpers.py:732: in <module>
    def ceil_timeout(delay: Optional[float]) -> async_timeout.Timeout:
E   AttributeError: module 'async_timeout' has no attribute 'Timeout'

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply to: