Source: python-pykka Version: 4.0.0-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20231212 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules build > dh build --with python3,sphinxdoc --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:110: Building wheel for python3.12 with "build" > module > I: pybuild base:310: python3.12 -m build --skip-dependency-check > --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pykka > * Building wheel... > Successfully built pykka-4.0.0-py3-none-any.whl > I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.12 with > "installer" module > I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build" > module > I: pybuild base:310: python3.11 -m build --skip-dependency-check > --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka > * Building wheel... > Successfully built pykka-4.0.0-py3-none-any.whl > I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with > "installer" module > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pykka/build; > python3.12 -m pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pykka/build > plugins: mock-3.12.0 > collected 148 items > > tests/test_actor.py ................... [ > 12%] > tests/test_future.py .......F................ [ > 29%] > tests/test_logging.py ....... [ > 33%] > tests/test_ref.py ....................... [ > 49%] > tests/test_registry.py ............ [ > 57%] > tests/proxy/test_attribute_access.py ........ [ > 62%] > tests/proxy/test_dynamic_method_calls.py .. [ > 64%] > tests/proxy/test_mocking.py ... [ > 66%] > tests/proxy/test_proxy.py ................. [ > 77%] > tests/proxy/test_static_method_calls.py ........ [ > 83%] > tests/proxy/test_traversable.py ...... [ > 87%] > tests/proxy/test_typed_proxy.py .... [ > 89%] > tests/test_envelope.py . [ > 90%] > tests/test_future.py ... [ > 92%] > tests/test_logging.py . [ > 93%] > tests/test_messages.py .... [ > 95%] > tests/test_registry.py .. [ > 97%] > tests/test_threading_actor.py ... [ > 99%] > tests/proxy/test_traversable.py . > [100%] > > =================================== FAILURES > =================================== > ______________ test_future_supports_yield_from_syntax[threading] > _______________ > > future = <pykka.Future> > > def test_future_supports_yield_from_syntax( > future: Future[int], > ) -> None: > def get_value() -> Generator[None, None, int]: > val = yield from future > return val > > future.set(1) > > assert run_async(get_value()) == 1 > > tests/test_future.py:153: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > tests/test_future.py:20: in run_async > f = asyncio.ensure_future(coroutine, loop=loop) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > coro_or_future = <generator object > test_future_supports_yield_from_syntax.<locals>.get_value at 0x7fc4d043bd30> > > def ensure_future(coro_or_future, *, loop=None): > """Wrap a coroutine or an awaitable in a future. > > If the argument is a Future, it is returned directly. > """ > if futures.isfuture(coro_or_future): > if loop is not None and loop is not > futures._get_loop(coro_or_future): > raise ValueError('The future belongs to a different loop than > ' > 'the one specified as the loop argument') > return coro_or_future > should_close = True > if not coroutines.iscoroutine(coro_or_future): > if inspect.isawaitable(coro_or_future): > async def _wrap_awaitable(awaitable): > return await awaitable > > coro_or_future = _wrap_awaitable(coro_or_future) > should_close = False > else: > > raise TypeError('An asyncio.Future, a coroutine or an > > awaitable ' > 'is required') > E TypeError: An asyncio.Future, a coroutine or an awaitable is > required > > /usr/lib/python3.12/asyncio/tasks.py:689: TypeError > =============================== warnings summary > =============================== > tests/test_future.py::test_future_supports_await_syntax[threading] > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pykka/build/tests/test_future.py:19: > DeprecationWarning: There is no current event loop > loop = asyncio.get_event_loop() > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > FAILED tests/test_future.py::test_future_supports_yield_from_syntax[threading] > =================== 1 failed, 147 passed, 1 warning in 0.68s > =================== > E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pykka/build; python3.12 -m pytest > tests > I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build; > python3.11 -m pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build > plugins: mock-3.12.0 > collected 148 items > > tests/test_actor.py ................... [ > 12%] > tests/test_future.py ........................ [ > 29%] > tests/test_logging.py ....... [ > 33%] > tests/test_ref.py ....................... [ > 49%] > tests/test_registry.py ............ [ > 57%] > tests/proxy/test_attribute_access.py ........ [ > 62%] > tests/proxy/test_dynamic_method_calls.py .. [ > 64%] > tests/proxy/test_mocking.py ... [ > 66%] > tests/proxy/test_proxy.py ................. [ > 77%] > tests/proxy/test_static_method_calls.py ........ [ > 83%] > tests/proxy/test_traversable.py ...... [ > 87%] > tests/proxy/test_typed_proxy.py .... [ > 89%] > tests/test_envelope.py . [ > 90%] > tests/test_future.py ... [ > 92%] > tests/test_logging.py . [ > 93%] > tests/test_messages.py .... [ > 95%] > tests/test_registry.py .. [ > 97%] > tests/test_threading_actor.py ... [ > 99%] > tests/proxy/test_traversable.py . > [100%] > > ============================= 148 passed in 0.89s > ============================== > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 > 3.11" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2023/12/12/python-pykka_4.0.0-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.