Package: src:python-awair Version: 0.2.5-1 Severity: serious Tags: ftbfs forky sid User: [email protected] Usertags: aiohttp-3.14
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202606/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-awair, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" module I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14 [... snipped ...] log = logging.getLogger(__name__) > class MockStream(asyncio.StreamReader, streams.AsyncStreamReaderMixin): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AttributeError: module 'aiohttp.streams' has no attribute 'AsyncStreamReaderMixin' /usr/lib/python3/dist-packages/vcr/stubs/aiohttp_stubs.py:21: AttributeError __________________________ test_sensor_creation_gen2 ___________________________ async def test_sensor_creation_gen2() -> Any: """Test that an Awair gen2 creates expected sensors.""" target = datetime(2020, 4, 10, 10, 38, 30) async with aiohttp.ClientSession() as session: > with VCR.use_cassette("awair-r2.yaml"), time_travel(target): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_python_awair.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/vcr/cassette.py:84: in __enter__ return next(self.__finish) ^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/vcr/cassette.py:58: in _patch_generator for patcher in CassettePatcherBuilder(cassette).build(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/vcr/patch.py:129: in _build_patchers_from_mock_triples for args in mock_triples: ^^^^^^^^^^^^ /usr/lib/python3/dist-packages/vcr/patch.py:301: in _aiohttp from .stubs.aiohttp_stubs import vcr_request _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Stubs for aiohttp HTTP clients""" import asyncio import functools import json import logging from collections.abc import Mapping from http.cookies import CookieError, Morsel, SimpleCookie from aiohttp import ClientConnectionError, ClientResponse, CookieJar, RequestInfo, hdrs, streams from aiohttp.helpers import strip_auth_from_url from multidict import CIMultiDict, CIMultiDictProxy, MultiDict from yarl import URL from vcr.errors import CannotOverwriteExistingCassetteException from vcr.request import Request log = logging.getLogger(__name__) > class MockStream(asyncio.StreamReader, streams.AsyncStreamReaderMixin): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AttributeError: module 'aiohttp.streams' has no attribute 'AsyncStreamReaderMixin' /usr/lib/python3/dist-packages/vcr/stubs/aiohttp_stubs.py:21: AttributeError __________________________ test_sensor_creation_glow ___________________________ async def test_sensor_creation_glow() -> Any: """Test that an Awair glow creates expected sensors.""" target = datetime(2020, 4, 10, 10, 38, 30) async with aiohttp.ClientSession() as session: > with VCR.use_cassette("glow.yaml"), time_travel(target): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_python_awair.py:380: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/vcr/cassette.py:84: in __enter__ return next(self.__finish) ^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/vcr/cassette.py:58: in _patch_generator for patcher in CassettePatcherBuilder(cassette).build(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/vcr/patch.py:129: in _build_patchers_from_mock_triples for args in mock_triples: ^^^^^^^^^^^^ /usr/lib/python3/dist-packages/vcr/patch.py:301: in _aiohttp from .stubs.aiohttp_stubs import vcr_request _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Stubs for aiohttp HTTP clients""" import asyncio import functools import json import logging from collections.abc import Mapping from http.cookies import CookieError, Morsel, SimpleCookie from aiohttp import ClientConnectionError, ClientResponse, CookieJar, RequestInfo, hdrs, streams from aiohttp.helpers import strip_auth_from_url from multidict import CIMultiDict, CIMultiDictProxy, MultiDict from yarl import URL from vcr.errors import CannotOverwriteExistingCassetteException from vcr.request import Request log = logging.getLogger(__name__) > class MockStream(asyncio.StreamReader, streams.AsyncStreamReaderMixin): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AttributeError: module 'aiohttp.streams' has no attribute 'AsyncStreamReaderMixin' /usr/lib/python3/dist-packages/vcr/stubs/aiohttp_stubs.py:21: AttributeError ______________________________ test_auth_failure _______________________________ async def test_auth_failure() -> Any: """Test that we can raise on bad auth.""" async with aiohttp.ClientSession() as session: with pytest.raises(AwairError): Awair(session=session) > with VCR.use_cassette("bad_auth.yaml"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_python_awair.py:423: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/vcr/cassette.py:84: in __enter__ return next(self.__finish) ^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/vcr/cassette.py:58: in _patch_generator for patcher in CassettePatcherBuilder(cassette).build(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/vcr/patch.py:129: in _build_patchers_from_mock_triples for args in mock_triples: ^^^^^^^^^^^^ /usr/lib/python3/dist-packages/vcr/patch.py:301: in _aiohttp from .stubs.aiohttp_stubs import vcr_request _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Stubs for aiohttp HTTP clients""" import asyncio import functools import json import logging from collections.abc import Mapping from http.cookies import CookieError, Morsel, SimpleCookie from aiohttp import ClientConnectionError, ClientResponse, CookieJar, RequestInfo, hdrs, streams from aiohttp.helpers import strip_auth_from_url from multidict import CIMultiDict, CIMultiDictProxy, MultiDict from yarl import URL from vcr.errors import CannotOverwriteExistingCassetteException from vcr.request import Request log = logging.getLogger(__name__) > class MockStream(asyncio.StreamReader, streams.AsyncStreamReaderMixin): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AttributeError: module 'aiohttp.streams' has no attribute 'AsyncStreamReaderMixin' /usr/lib/python3/dist-packages/vcr/stubs/aiohttp_stubs.py:21: AttributeError ________________________________ test_bad_query ________________________________ async def test_bad_query() -> Any: """Test that we can raise on bad query.""" async with aiohttp.ClientSession() as session: > with VCR.use_cassette("bad_params.yaml"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_python_awair.py:432: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/vcr/cassette.py:84: in __enter__ return next(self.__finish) ^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/vcr/cassette.py:58: in _patch_generator for patcher in CassettePatcherBuilder(cassette).build(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/vcr/patch.py:129: in _build_patchers_from_mock_triples for args in mock_triples: ^^^^^^^^^^^^ /usr/lib/python3/dist-packages/vcr/patch.py:301: in _aiohttp from .stubs.aiohttp_stubs import vcr_request _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Stubs for aiohttp HTTP clients""" import asyncio import functools import json import logging from collections.abc import Mapping from http.cookies import CookieError, Morsel, SimpleCookie from aiohttp import ClientConnectionError, ClientResponse, CookieJar, RequestInfo, hdrs, streams from aiohttp.helpers import strip_auth_from_url from multidict import CIMultiDict, CIMultiDictProxy, MultiDict from yarl import URL from vcr.errors import CannotOverwriteExistingCassetteException from vcr.request import Request log = logging.getLogger(__name__) > class MockStream(asyncio.StreamReader, streams.AsyncStreamReaderMixin): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AttributeError: module 'aiohttp.streams' has no attribute 'AsyncStreamReaderMixin' /usr/lib/python3/dist-packages/vcr/stubs/aiohttp_stubs.py:21: AttributeError ________________________________ test_not_found ________________________________ async def test_not_found() -> Any: """Test that we can raise on 404.""" async with aiohttp.ClientSession() as session: > with VCR.use_cassette("not_found.yaml"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_python_awair.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/vcr/cassette.py:84: in __enter__ return next(self.__finish) ^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/vcr/cassette.py:58: in _patch_generator for patcher in CassettePatcherBuilder(cassette).build(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/vcr/patch.py:129: in _build_patchers_from_mock_triples for args in mock_triples: ^^^^^^^^^^^^ /usr/lib/python3/dist-packages/vcr/patch.py:301: in _aiohttp from .stubs.aiohttp_stubs import vcr_request _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Stubs for aiohttp HTTP clients""" import asyncio import functools import json import logging from collections.abc import Mapping from http.cookies import CookieError, Morsel, SimpleCookie from aiohttp import ClientConnectionError, ClientResponse, CookieJar, RequestInfo, hdrs, streams from aiohttp.helpers import strip_auth_from_url from multidict import CIMultiDict, CIMultiDictProxy, MultiDict from yarl import URL from vcr.errors import CannotOverwriteExistingCassetteException from vcr.request import Request log = logging.getLogger(__name__) > class MockStream(asyncio.StreamReader, streams.AsyncStreamReaderMixin): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AttributeError: module 'aiohttp.streams' has no attribute 'AsyncStreamReaderMixin' /usr/lib/python3/dist-packages/vcr/stubs/aiohttp_stubs.py:21: AttributeError =========================== short test summary info ============================ FAILED tests/test_python_awair.py::test_get_user - AttributeError: module 'ai... FAILED tests/test_python_awair.py::test_custom_auth - AttributeError: module ... FAILED tests/test_python_awair.py::test_get_devices - AttributeError: module ... FAILED tests/test_python_awair.py::test_get_local_devices - AttributeError: m... FAILED tests/test_python_awair.py::test_get_local_backplate_devices - Attribu... FAILED tests/test_python_awair.py::test_get_latest - AttributeError: module '... FAILED tests/test_python_awair.py::test_get_latest_local - AttributeError: mo... FAILED tests/test_python_awair.py::test_get_latest_local_backplate - Attribut... FAILED tests/test_python_awair.py::test_get_five_minute - AttributeError: mod... FAILED tests/test_python_awair.py::test_get_fifteen_minute - AttributeError: ... FAILED tests/test_python_awair.py::test_get_raw - AttributeError: module 'aio... FAILED tests/test_python_awair.py::test_sensor_creation_gen1 - AttributeError... FAILED tests/test_python_awair.py::test_sensor_creation_omni - AttributeError... FAILED tests/test_python_awair.py::test_sensor_creation_mint - AttributeError... FAILED tests/test_python_awair.py::test_sensor_creation_gen2 - AttributeError... FAILED tests/test_python_awair.py::test_sensor_creation_glow - AttributeError... FAILED tests/test_python_awair.py::test_auth_failure - AttributeError: module... FAILED tests/test_python_awair.py::test_bad_query - AttributeError: module 'a... FAILED tests/test_python_awair.py::test_not_found - AttributeError: module 'a... ========================= 19 failed, 4 passed in 0.52s ========================= E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -o asyncio_mode=auto dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 13 make: *** [debian/rules:4: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

