Package: src:python-asyncprawcore
Version: 3.0.2-2
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-asyncprawcore, 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_asyncprawcore  

[... snipped ...]

        # When loop factories are configured, resolve the loop factory
        # fixture early so that a factory variant change cascades cache
        # invalidation before any async fixture checks its cache.
        hook_caller = self.config.hook.pytest_asyncio_loop_factories
        if hook_caller.get_hookimpls():
            _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__)
>       return super().setup()
               ^^^^^^^^^^^^^^^

/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:558: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:926: in 
pytest_fixture_setup
    return (yield)
            ^^^^^
tests/integration/__init__.py:44: in cassette
    with recorder.use_cassette(cassette_name, **kwargs) as cassette:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/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
_______ ERROR at setup of TestScriptAuthorizer.test_refresh__with_scopes _______

self = <Coroutine test_refresh__with_scopes>

    def setup(self) -> None:
        runner_fixture_id = f"_{self._loop_scope}_scoped_runner"
        if runner_fixture_id not in self.fixturenames:
            self.fixturenames.append(runner_fixture_id)
        # When loop factories are configured, resolve the loop factory
        # fixture early so that a factory variant change cascades cache
        # invalidation before any async fixture checks its cache.
        hook_caller = self.config.hook.pytest_asyncio_loop_factories
        if hook_caller.get_hookimpls():
            _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__)
>       return super().setup()
               ^^^^^^^^^^^^^^^

/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:558: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:926: in 
pytest_fixture_setup
    return (yield)
            ^^^^^
tests/integration/__init__.py:44: in cassette
    with recorder.use_cassette(cassette_name, **kwargs) as cassette:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/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
_____ ERROR at setup of TestScriptAuthorizer.test_refresh__with_valid_otp ______

self = <Coroutine test_refresh__with_valid_otp>

    def setup(self) -> None:
        runner_fixture_id = f"_{self._loop_scope}_scoped_runner"
        if runner_fixture_id not in self.fixturenames:
            self.fixturenames.append(runner_fixture_id)
        # When loop factories are configured, resolve the loop factory
        # fixture early so that a factory variant change cascades cache
        # invalidation before any async fixture checks its cache.
        hook_caller = self.config.hook.pytest_asyncio_loop_factories
        if hook_caller.get_hookimpls():
            _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__)
>       return super().setup()
               ^^^^^^^^^^^^^^^

/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:558: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:926: in 
pytest_fixture_setup
    return (yield)
            ^^^^^
tests/integration/__init__.py:44: in cassette
    with recorder.use_cassette(cassette_name, **kwargs) as cassette:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/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
__ ERROR at setup of TestScriptAuthorizer.test_refresh__with_valid_otp__async __

self = <Coroutine test_refresh__with_valid_otp__async>

    def setup(self) -> None:
        runner_fixture_id = f"_{self._loop_scope}_scoped_runner"
        if runner_fixture_id not in self.fixturenames:
            self.fixturenames.append(runner_fixture_id)
        # When loop factories are configured, resolve the loop factory
        # fixture early so that a factory variant change cascades cache
        # invalidation before any async fixture checks its cache.
        hook_caller = self.config.hook.pytest_asyncio_loop_factories
        if hook_caller.get_hookimpls():
            _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__)
>       return super().setup()
               ^^^^^^^^^^^^^^^

/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:558: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:926: in 
pytest_fixture_setup
    return (yield)
            ^^^^^
tests/integration/__init__.py:44: in cassette
    with recorder.use_cassette(cassette_name, **kwargs) as cassette:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/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 ============================
ERROR 
tests/integration/test_authenticator.py::TestTrustedAuthenticator::test_revoke_token
ERROR 
tests/integration/test_authenticator.py::TestTrustedAuthenticator::test_revoke_token__with_access_token_hint
ERROR 
tests/integration/test_authenticator.py::TestTrustedAuthenticator::test_revoke_token__with_refresh_token_hint
ERROR 
tests/integration/test_authenticator.py::TestUntrustedAuthenticator::test_revoke_token
ERROR 
tests/integration/test_authorizer.py::TestAuthorizer::test_authorize__with_invalid_code
ERROR 
tests/integration/test_authorizer.py::TestAuthorizer::test_authorize__with_permanent_grant
ERROR 
tests/integration/test_authorizer.py::TestAuthorizer::test_authorize__with_temporary_grant
ERROR tests/integration/test_authorizer.py::TestAuthorizer::test_refresh - At...
ERROR 
tests/integration/test_authorizer.py::TestAuthorizer::test_refresh__post_refresh_callback
ERROR 
tests/integration/test_authorizer.py::TestAuthorizer::test_refresh__post_refresh_callback__async
ERROR 
tests/integration/test_authorizer.py::TestAuthorizer::test_refresh__pre_refresh_callback
ERROR 
tests/integration/test_authorizer.py::TestAuthorizer::test_refresh__pre_refresh_callback__async
ERROR 
tests/integration/test_authorizer.py::TestAuthorizer::test_refresh__with_invalid_token
ERROR 
tests/integration/test_authorizer.py::TestAuthorizer::test_revoke__access_token_with_refresh_set
ERROR 
tests/integration/test_authorizer.py::TestAuthorizer::test_revoke__access_token_without_refresh_set
ERROR 
tests/integration/test_authorizer.py::TestAuthorizer::test_revoke__refresh_token_with_access_set
ERROR 
tests/integration/test_authorizer.py::TestAuthorizer::test_revoke__refresh_token_without_access_set
ERROR tests/integration/test_authorizer.py::TestDeviceIDAuthorizer::test_refresh
ERROR 
tests/integration/test_authorizer.py::TestDeviceIDAuthorizer::test_refresh__with_scopes_and_trusted_authenticator
ERROR 
tests/integration/test_authorizer.py::TestDeviceIDAuthorizer::test_refresh__with_short_device_id
ERROR tests/integration/test_authorizer.py::TestReadOnlyAuthorizer::test_refresh
ERROR 
tests/integration/test_authorizer.py::TestReadOnlyAuthorizer::test_refresh__with_scopes
ERROR tests/integration/test_authorizer.py::TestScriptAuthorizer::test_refresh
ERROR 
tests/integration/test_authorizer.py::TestScriptAuthorizer::test_refresh__with_invalid_otp
ERROR 
tests/integration/test_authorizer.py::TestScriptAuthorizer::test_refresh__with_invalid_username_or_password
ERROR 
tests/integration/test_authorizer.py::TestScriptAuthorizer::test_refresh__with_scopes
ERROR 
tests/integration/test_authorizer.py::TestScriptAuthorizer::test_refresh__with_valid_otp
ERROR 
tests/integration/test_authorizer.py::TestScriptAuthorizer::test_refresh__with_valid_otp__async
======================== 42 passed, 28 errors in 0.82s =========================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_asyncprawcore/build; python3.13 -m 
pytest --ignore tests/integration/test_sessions.py --ignore 
tests/unit/test_requestor.py
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:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to