Package: src:python-openapi-core
Version: 0.23.1-3
Severity: serious
Tags: ftbfs forky sid

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/202608/

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-openapi-core, 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
   debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf docs_build
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   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

[... snipped ...]

        Scope      = collections.abc.MutableMapping[str, typing.Any]
        Self       = typing.Self
        Send       = 
collections.abc.Callable[[collections.abc.MutableMapping[str, typing.Any]], 
collections.abc.Awaitable[None]]
        Sequence   = <class 'collections.abc.Sequence'>
        StapledObjectStream = <class 
'anyio.streams.stapled.StapledObjectStream'>
        StarletteDeprecationWarning = <class 
'starlette.exceptions.StarletteDeprecationWarning'>
        TYPE_CHECKING = False
        TypeGuard  = typing.TypeGuard
        TypedDict  = <function TypedDict at 0x7fc510b1ea30>
        WebSocketDisconnect = <class 'starlette.websockets.WebSocketDisconnect'>
        __builtins__ = <builtins>
        __cached__ = 
'/usr/lib/python3/dist-packages/starlette/__pycache__/testclient.cpython-314.pyc'
        __doc__    = None
        __file__   = '/usr/lib/python3/dist-packages/starlette/testclient.py'
        __loader__ = <_frozen_importlib_external.SourceFileLoader object at 
0x7fc50bd3b170>
        __name__   = 'starlette.testclient'
        __package__ = 'starlette'
        __spec__   = ModuleSpec(name='starlette.testclient', 
loader=<_frozen_importlib_external.SourceFileLoader object at 0x7fc50bd3b170>, 
origin='/usr/lib/python3/dist-packages/starlette/testclient.py')
        annotations = _Feature((3, 7, 0, 'beta', 1), None, 16777216)
        anyio      = <module 'anyio' from 
'/usr/lib/python3/dist-packages/anyio/__init__.py'>
        cast       = <function cast at 0x7fc510b1cf60>
        contextlib = <module 'contextlib' from 
'/usr/lib/python3.14/contextlib.py'>
        httpx      = <module 'httpx' from 
'/usr/lib/python3/dist-packages/httpx/__init__.py'>
        inspect    = <module 'inspect' from '/usr/lib/python3.14/inspect.py'>
        io         = <module 'io' (frozen)>
        is_async_callable = <function is_async_callable at 0x7fc50be4e350>
        json       = <module 'json' from '/usr/lib/python3.14/json/__init__.py'>
        math       = <module 'math' (built-in)>
        sys        = <module 'sys' (built-in)>
        unquote    = <function unquote at 0x7fc50f210460>
        urljoin    = <function urljoin at 0x7fc50f210040>
        warnings   = <module 'warnings' from '/usr/lib/python3.14/warnings.py'>
_ ERROR collecting 
tests/integration/contrib/starlette/test_starlette_project.py _
/usr/lib/python3/dist-packages/starlette/testclient.py:36: in <module>
    import httpx2 as httpx
E   ModuleNotFoundError: No module named 'httpx2'
        ASGIApp    = 
collections.abc.Callable[[collections.abc.MutableMapping[str, typing.Any], 
collections.abc.Callable[[], 
collections.ab...[[collections.abc.MutableMapping[str, typing.Any]], 
collections.abc.Awaitable[None]]], collections.abc.Awaitable[None]]
        AbstractContextManager = <class 'contextlib.AbstractContextManager'>
        Any        = typing.Any
        Awaitable  = <class 'collections.abc.Awaitable'>
        Callable   = <class 'collections.abc.Callable'>
        Future     = <class 'concurrent.futures._base.Future'>
        Generator  = <class 'collections.abc.Generator'>
        GeneratorType = <class 'generator'>
        Iterable   = <class 'collections.abc.Iterable'>
        Literal    = typing.Literal
        Mapping    = <class 'collections.abc.Mapping'>
        Message    = collections.abc.MutableMapping[str, typing.Any]
        MutableMapping = <class 'collections.abc.MutableMapping'>
        Receive    = collections.abc.Callable[[], 
collections.abc.Awaitable[collections.abc.MutableMapping[str, typing.Any]]]
        Scope      = collections.abc.MutableMapping[str, typing.Any]
        Self       = typing.Self
        Send       = 
collections.abc.Callable[[collections.abc.MutableMapping[str, typing.Any]], 
collections.abc.Awaitable[None]]
        Sequence   = <class 'collections.abc.Sequence'>
        StapledObjectStream = <class 
'anyio.streams.stapled.StapledObjectStream'>
        StarletteDeprecationWarning = <class 
'starlette.exceptions.StarletteDeprecationWarning'>
        TYPE_CHECKING = False
        TypeGuard  = typing.TypeGuard
        TypedDict  = <function TypedDict at 0x7fc510b1ea30>
        WebSocketDisconnect = <class 'starlette.websockets.WebSocketDisconnect'>
        __builtins__ = <builtins>
        __cached__ = 
'/usr/lib/python3/dist-packages/starlette/__pycache__/testclient.cpython-314.pyc'
        __doc__    = None
        __file__   = '/usr/lib/python3/dist-packages/starlette/testclient.py'
        __loader__ = <_frozen_importlib_external.SourceFileLoader object at 
0x7fc50b595cd0>
        __name__   = 'starlette.testclient'
        __package__ = 'starlette'
        __spec__   = ModuleSpec(name='starlette.testclient', 
loader=<_frozen_importlib_external.SourceFileLoader object at 0x7fc50b595cd0>, 
origin='/usr/lib/python3/dist-packages/starlette/testclient.py')
        annotations = _Feature((3, 7, 0, 'beta', 1), None, 16777216)
        anyio      = <module 'anyio' from 
'/usr/lib/python3/dist-packages/anyio/__init__.py'>
        cast       = <function cast at 0x7fc510b1cf60>
        contextlib = <module 'contextlib' from 
'/usr/lib/python3.14/contextlib.py'>
        httpx      = <module 'httpx' from 
'/usr/lib/python3/dist-packages/httpx/__init__.py'>
        inspect    = <module 'inspect' from '/usr/lib/python3.14/inspect.py'>
        io         = <module 'io' (frozen)>
        is_async_callable = <function is_async_callable at 0x7fc50be4e350>
        json       = <module 'json' from '/usr/lib/python3.14/json/__init__.py'>
        math       = <module 'math' (built-in)>
        sys        = <module 'sys' (built-in)>
        unquote    = <function unquote at 0x7fc50f210460>
        urljoin    = <function urljoin at 0x7fc50f210040>
        warnings   = <module 'warnings' from '/usr/lib/python3.14/warnings.py'>

During handling of the above exception, another exception occurred:
tests/integration/contrib/starlette/test_starlette_project.py:6: in <module>
    from starlette.testclient import TestClient
        __builtins__ = <builtins>
        __cached__ = 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_openapi-core/build/tests/integration/contrib/starlette/__pycache__/test_starlette_project.cpython-314.pyc'
        __doc__    = None
        __file__   = 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_openapi-core/build/tests/integration/contrib/starlette/test_starlette_project.py'
        __loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object 
at 0x7fc50ff04440>
        __name__   = 'test_starlette_project'
        __package__ = ''
        __spec__   = ModuleSpec(name='test_starlette_project', 
loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 
0x7fc50ff...i-core-0.23.1/.pybuild/cpython3_3.14_openapi-core/build/tests/integration/contrib/starlette/test_starlette_project.py')
        __warningregistry__ = {'version': 37}
        b64encode  = <function b64encode at 0x7fc50fcd5640>
        os         = <module 'os' (frozen)>
        pytest     = <module 'pytest' from 
'/usr/lib/python3/dist-packages/pytest/__init__.py'>
        sys        = <module 'sys' (built-in)>
/usr/lib/python3/dist-packages/starlette/testclient.py:47: in <module>
    warnings.warn(
E   starlette.exceptions.StarletteDeprecationWarning: Using `httpx` with 
`starlette.testclient` is deprecated; install `httpx2` instead.
        ASGIApp    = 
collections.abc.Callable[[collections.abc.MutableMapping[str, typing.Any], 
collections.abc.Callable[[], 
collections.ab...[[collections.abc.MutableMapping[str, typing.Any]], 
collections.abc.Awaitable[None]]], collections.abc.Awaitable[None]]
        AbstractContextManager = <class 'contextlib.AbstractContextManager'>
        Any        = typing.Any
        Awaitable  = <class 'collections.abc.Awaitable'>
        Callable   = <class 'collections.abc.Callable'>
        Future     = <class 'concurrent.futures._base.Future'>
        Generator  = <class 'collections.abc.Generator'>
        GeneratorType = <class 'generator'>
        Iterable   = <class 'collections.abc.Iterable'>
        Literal    = typing.Literal
        Mapping    = <class 'collections.abc.Mapping'>
        Message    = collections.abc.MutableMapping[str, typing.Any]
        MutableMapping = <class 'collections.abc.MutableMapping'>
        Receive    = collections.abc.Callable[[], 
collections.abc.Awaitable[collections.abc.MutableMapping[str, typing.Any]]]
        Scope      = collections.abc.MutableMapping[str, typing.Any]
        Self       = typing.Self
        Send       = 
collections.abc.Callable[[collections.abc.MutableMapping[str, typing.Any]], 
collections.abc.Awaitable[None]]
        Sequence   = <class 'collections.abc.Sequence'>
        StapledObjectStream = <class 
'anyio.streams.stapled.StapledObjectStream'>
        StarletteDeprecationWarning = <class 
'starlette.exceptions.StarletteDeprecationWarning'>
        TYPE_CHECKING = False
        TypeGuard  = typing.TypeGuard
        TypedDict  = <function TypedDict at 0x7fc510b1ea30>
        WebSocketDisconnect = <class 'starlette.websockets.WebSocketDisconnect'>
        __builtins__ = <builtins>
        __cached__ = 
'/usr/lib/python3/dist-packages/starlette/__pycache__/testclient.cpython-314.pyc'
        __doc__    = None
        __file__   = '/usr/lib/python3/dist-packages/starlette/testclient.py'
        __loader__ = <_frozen_importlib_external.SourceFileLoader object at 
0x7fc50b595cd0>
        __name__   = 'starlette.testclient'
        __package__ = 'starlette'
        __spec__   = ModuleSpec(name='starlette.testclient', 
loader=<_frozen_importlib_external.SourceFileLoader object at 0x7fc50b595cd0>, 
origin='/usr/lib/python3/dist-packages/starlette/testclient.py')
        annotations = _Feature((3, 7, 0, 'beta', 1), None, 16777216)
        anyio      = <module 'anyio' from 
'/usr/lib/python3/dist-packages/anyio/__init__.py'>
        cast       = <function cast at 0x7fc510b1cf60>
        contextlib = <module 'contextlib' from 
'/usr/lib/python3.14/contextlib.py'>
        httpx      = <module 'httpx' from 
'/usr/lib/python3/dist-packages/httpx/__init__.py'>
        inspect    = <module 'inspect' from '/usr/lib/python3.14/inspect.py'>
        io         = <module 'io' (frozen)>
        is_async_callable = <function is_async_callable at 0x7fc50be4e350>
        json       = <module 'json' from '/usr/lib/python3.14/json/__init__.py'>
        math       = <module 'math' (built-in)>
        sys        = <module 'sys' (built-in)>
        unquote    = <function unquote at 0x7fc50f210460>
        urljoin    = <function urljoin at 0x7fc50f210040>
        warnings   = <module 'warnings' from '/usr/lib/python3.14/warnings.py'>
_ ERROR collecting 
tests/integration/contrib/starlette/test_starlette_validation.py _
/usr/lib/python3/dist-packages/starlette/testclient.py:36: in <module>
    import httpx2 as httpx
E   ModuleNotFoundError: No module named 'httpx2'
        ASGIApp    = 
collections.abc.Callable[[collections.abc.MutableMapping[str, typing.Any], 
collections.abc.Callable[[], 
collections.ab...[[collections.abc.MutableMapping[str, typing.Any]], 
collections.abc.Awaitable[None]]], collections.abc.Awaitable[None]]
        AbstractContextManager = <class 'contextlib.AbstractContextManager'>
        Any        = typing.Any
        Awaitable  = <class 'collections.abc.Awaitable'>
        Callable   = <class 'collections.abc.Callable'>
        Future     = <class 'concurrent.futures._base.Future'>
        Generator  = <class 'collections.abc.Generator'>
        GeneratorType = <class 'generator'>
        Iterable   = <class 'collections.abc.Iterable'>
        Literal    = typing.Literal
        Mapping    = <class 'collections.abc.Mapping'>
        Message    = collections.abc.MutableMapping[str, typing.Any]
        MutableMapping = <class 'collections.abc.MutableMapping'>
        Receive    = collections.abc.Callable[[], 
collections.abc.Awaitable[collections.abc.MutableMapping[str, typing.Any]]]
        Scope      = collections.abc.MutableMapping[str, typing.Any]
        Self       = typing.Self
        Send       = 
collections.abc.Callable[[collections.abc.MutableMapping[str, typing.Any]], 
collections.abc.Awaitable[None]]
        Sequence   = <class 'collections.abc.Sequence'>
        StapledObjectStream = <class 
'anyio.streams.stapled.StapledObjectStream'>
        StarletteDeprecationWarning = <class 
'starlette.exceptions.StarletteDeprecationWarning'>
        TYPE_CHECKING = False
        TypeGuard  = typing.TypeGuard
        TypedDict  = <function TypedDict at 0x7fc510b1ea30>
        WebSocketDisconnect = <class 'starlette.websockets.WebSocketDisconnect'>
        __builtins__ = <builtins>
        __cached__ = 
'/usr/lib/python3/dist-packages/starlette/__pycache__/testclient.cpython-314.pyc'
        __doc__    = None
        __file__   = '/usr/lib/python3/dist-packages/starlette/testclient.py'
        __loader__ = <_frozen_importlib_external.SourceFileLoader object at 
0x7fc50b4f22d0>
        __name__   = 'starlette.testclient'
        __package__ = 'starlette'
        __spec__   = ModuleSpec(name='starlette.testclient', 
loader=<_frozen_importlib_external.SourceFileLoader object at 0x7fc50b4f22d0>, 
origin='/usr/lib/python3/dist-packages/starlette/testclient.py')
        annotations = _Feature((3, 7, 0, 'beta', 1), None, 16777216)
        anyio      = <module 'anyio' from 
'/usr/lib/python3/dist-packages/anyio/__init__.py'>
        cast       = <function cast at 0x7fc510b1cf60>
        contextlib = <module 'contextlib' from 
'/usr/lib/python3.14/contextlib.py'>
        httpx      = <module 'httpx' from 
'/usr/lib/python3/dist-packages/httpx/__init__.py'>
        inspect    = <module 'inspect' from '/usr/lib/python3.14/inspect.py'>
        io         = <module 'io' (frozen)>
        is_async_callable = <function is_async_callable at 0x7fc50be4e350>
        json       = <module 'json' from '/usr/lib/python3.14/json/__init__.py'>
        math       = <module 'math' (built-in)>
        sys        = <module 'sys' (built-in)>
        unquote    = <function unquote at 0x7fc50f210460>
        urljoin    = <function urljoin at 0x7fc50f210040>
        warnings   = <module 'warnings' from '/usr/lib/python3.14/warnings.py'>

During handling of the above exception, another exception occurred:
tests/integration/contrib/starlette/test_starlette_validation.py:9: in <module>
    from starlette.testclient import TestClient
        JSONResponse = <class 'starlette.responses.JSONResponse'>
        PlainTextResponse = <class 'starlette.responses.PlainTextResponse'>
        Request    = <class 'starlette.requests.Request'>
        Route      = <class 'starlette.routing.Route'>
        Starlette  = <class 'starlette.applications.Starlette'>
        __builtins__ = <builtins>
        __cached__ = 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_openapi-core/build/tests/integration/contrib/starlette/__pycache__/test_starlette_validation.cpython-314.pyc'
        __doc__    = None
        __file__   = 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_openapi-core/build/tests/integration/contrib/starlette/test_starlette_validation.py'
        __loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object 
at 0x7fc50ff04440>
        __name__   = 'test_starlette_validation'
        __package__ = ''
        __spec__   = ModuleSpec(name='test_starlette_validation', 
loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 
0x7fc5...ore-0.23.1/.pybuild/cpython3_3.14_openapi-core/build/tests/integration/contrib/starlette/test_starlette_validation.py')
        __warningregistry__ = {'version': 43}
        dumps      = <function dumps at 0x7fc5109a3c10>
        pytest     = <module 'pytest' from 
'/usr/lib/python3/dist-packages/pytest/__init__.py'>
/usr/lib/python3/dist-packages/starlette/testclient.py:47: in <module>
    warnings.warn(
E   starlette.exceptions.StarletteDeprecationWarning: Using `httpx` with 
`starlette.testclient` is deprecated; install `httpx2` instead.
        ASGIApp    = 
collections.abc.Callable[[collections.abc.MutableMapping[str, typing.Any], 
collections.abc.Callable[[], 
collections.ab...[[collections.abc.MutableMapping[str, typing.Any]], 
collections.abc.Awaitable[None]]], collections.abc.Awaitable[None]]
        AbstractContextManager = <class 'contextlib.AbstractContextManager'>
        Any        = typing.Any
        Awaitable  = <class 'collections.abc.Awaitable'>
        Callable   = <class 'collections.abc.Callable'>
        Future     = <class 'concurrent.futures._base.Future'>
        Generator  = <class 'collections.abc.Generator'>
        GeneratorType = <class 'generator'>
        Iterable   = <class 'collections.abc.Iterable'>
        Literal    = typing.Literal
        Mapping    = <class 'collections.abc.Mapping'>
        Message    = collections.abc.MutableMapping[str, typing.Any]
        MutableMapping = <class 'collections.abc.MutableMapping'>
        Receive    = collections.abc.Callable[[], 
collections.abc.Awaitable[collections.abc.MutableMapping[str, typing.Any]]]
        Scope      = collections.abc.MutableMapping[str, typing.Any]
        Self       = typing.Self
        Send       = 
collections.abc.Callable[[collections.abc.MutableMapping[str, typing.Any]], 
collections.abc.Awaitable[None]]
        Sequence   = <class 'collections.abc.Sequence'>
        StapledObjectStream = <class 
'anyio.streams.stapled.StapledObjectStream'>
        StarletteDeprecationWarning = <class 
'starlette.exceptions.StarletteDeprecationWarning'>
        TYPE_CHECKING = False
        TypeGuard  = typing.TypeGuard
        TypedDict  = <function TypedDict at 0x7fc510b1ea30>
        WebSocketDisconnect = <class 'starlette.websockets.WebSocketDisconnect'>
        __builtins__ = <builtins>
        __cached__ = 
'/usr/lib/python3/dist-packages/starlette/__pycache__/testclient.cpython-314.pyc'
        __doc__    = None
        __file__   = '/usr/lib/python3/dist-packages/starlette/testclient.py'
        __loader__ = <_frozen_importlib_external.SourceFileLoader object at 
0x7fc50b4f22d0>
        __name__   = 'starlette.testclient'
        __package__ = 'starlette'
        __spec__   = ModuleSpec(name='starlette.testclient', 
loader=<_frozen_importlib_external.SourceFileLoader object at 0x7fc50b4f22d0>, 
origin='/usr/lib/python3/dist-packages/starlette/testclient.py')
        annotations = _Feature((3, 7, 0, 'beta', 1), None, 16777216)
        anyio      = <module 'anyio' from 
'/usr/lib/python3/dist-packages/anyio/__init__.py'>
        cast       = <function cast at 0x7fc510b1cf60>
        contextlib = <module 'contextlib' from 
'/usr/lib/python3.14/contextlib.py'>
        httpx      = <module 'httpx' from 
'/usr/lib/python3/dist-packages/httpx/__init__.py'>
        inspect    = <module 'inspect' from '/usr/lib/python3.14/inspect.py'>
        io         = <module 'io' (frozen)>
        is_async_callable = <function is_async_callable at 0x7fc50be4e350>
        json       = <module 'json' from '/usr/lib/python3.14/json/__init__.py'>
        math       = <module 'math' (built-in)>
        sys        = <module 'sys' (built-in)>
        unquote    = <function unquote at 0x7fc50f210460>
        urljoin    = <function urljoin at 0x7fc50f210040>
        warnings   = <module 'warnings' from '/usr/lib/python3.14/warnings.py'>
- generated xml file: 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_openapi-core/build/reports/junit.xml -
=========================== short test summary info ============================
ERROR tests/integration/contrib/fastapi/test_fastapi_project.py - starlette.e...
ERROR tests/integration/contrib/starlette/test_starlette_project.py - starlet...
ERROR tests/integration/contrib/starlette/test_starlette_validation.py - star...
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 3 errors in 1.35s ===============================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_openapi-core/build; python3.14 -m 
pytest -W ignore::ResourceWarning --no-cov
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 
3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to