Source: python-pykka
Version: 2.0.3-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20221220 ftbfs-bookworm

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
> I: pybuild base:240: python3.11 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: 
> SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use 
> license_files instead.
>   warnings.warn(msg, warning_class)
> running config
> I: pybuild base:240: python3.10 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: 
> SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use 
> license_files instead.
>   warnings.warn(msg, warning_class)
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3.11 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: 
> SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use 
> license_files instead.
>   warnings.warn(msg, warning_class)
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka
> copying pykka/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka
> copying pykka/_registry.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka
> copying pykka/_future.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka
> copying pykka/debug.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka
> copying pykka/_actor.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka
> copying pykka/_threading.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka
> copying pykka/messages.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka
> copying pykka/_ref.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka
> copying pykka/_envelope.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka
> copying pykka/_proxy.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka
> copying pykka/gevent.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka
> copying pykka/eventlet.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka
> copying pykka/_exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka/_compat
> copying pykka/_compat/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka/_compat
> copying pykka/_compat/await_py3.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build/pykka/_compat
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: 
> SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use 
> license_files instead.
>   warnings.warn(msg, warning_class)
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka
> copying pykka/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka
> copying pykka/_registry.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka
> copying pykka/_future.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka
> copying pykka/debug.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka
> copying pykka/_actor.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka
> copying pykka/_threading.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka
> copying pykka/messages.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka
> copying pykka/_ref.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka
> copying pykka/_envelope.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka
> copying pykka/_proxy.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka
> copying pykka/gevent.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka
> copying pykka/eventlet.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka
> copying pykka/_exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka/_compat
> copying pykka/_compat/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka/_compat
> copying pykka/_compat/await_py3.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/pykka/_compat
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build; 
> python3.11 -m pytest -k "not noncallable_mock"
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> plugins: mock-3.8.2
> collected 409 items / 3 deselected / 406 selected
> 
> tests/test_actor.py ...................                                  [  
> 4%]
> tests/test_future.py ......................                              [ 
> 10%]
> tests/test_future_py3.py FF                                              [ 
> 10%]
> tests/test_logging.py .......                                            [ 
> 12%]
> tests/test_ref.py .......................                                [ 
> 17%]
> tests/test_registry.py ............                                      [ 
> 20%]
> tests/proxy/test_attribute_access.py ........                            [ 
> 22%]
> tests/proxy/test_dynamic_method_calls.py ..                              [ 
> 23%]
> tests/proxy/test_legacy_message_format.py ..                             [ 
> 23%]
> tests/proxy/test_mocking.py ..                                           [ 
> 24%]
> tests/proxy/test_proxy.py .................                              [ 
> 28%]
> tests/proxy/test_static_method_calls.py ........                         [ 
> 30%]
> tests/proxy/test_traversable.py ......                                   [ 
> 32%]
> tests/test_actor.py sssssssssssssssssss                                  [ 
> 36%]
> tests/test_future.py ssssssssssssssssssssss                              [ 
> 42%]
> tests/test_future_py3.py ss                                              [ 
> 42%]
> tests/test_logging.py sssssss                                            [ 
> 44%]
> tests/test_ref.py sssssssssssssssssssssss                                [ 
> 50%]
> tests/test_registry.py ssssssssssss                                      [ 
> 52%]
> tests/proxy/test_attribute_access.py ssssssss                            [ 
> 54%]
> tests/proxy/test_dynamic_method_calls.py ss                              [ 
> 55%]
> tests/proxy/test_legacy_message_format.py ss                             [ 
> 55%]
> tests/proxy/test_mocking.py ss                                           [ 
> 56%]
> tests/proxy/test_proxy.py sssssssssssssssss                              [ 
> 60%]
> tests/proxy/test_static_method_calls.py ssssssss                         [ 
> 62%]
> tests/proxy/test_traversable.py ssssss                                   [ 
> 64%]
> tests/test_actor.py sssssssssssssssssss                                  [ 
> 68%]
> tests/test_future.py ssssssssssssssssssssss                              [ 
> 74%]
> tests/test_future_py3.py ss                                              [ 
> 74%]
> tests/test_logging.py sssssss                                            [ 
> 76%]
> tests/test_ref.py sssssssssssssssssssssss                                [ 
> 82%]
> tests/test_registry.py ssssssssssss                                      [ 
> 84%]
> tests/proxy/test_attribute_access.py ssssssss                            [ 
> 86%]
> tests/proxy/test_dynamic_method_calls.py ss                              [ 
> 87%]
> tests/proxy/test_legacy_message_format.py ss                             [ 
> 87%]
> tests/proxy/test_mocking.py ss                                           [ 
> 88%]
> tests/proxy/test_proxy.py sssssssssssssssss                              [ 
> 92%]
> tests/proxy/test_static_method_calls.py ssssssss                         [ 
> 94%]
> tests/proxy/test_traversable.py ssssss                                   [ 
> 96%]
> tests/test_envelope.py .                                                 [ 
> 96%]
> tests/test_future.py ...s                                                [ 
> 97%]
> tests/test_logging.py .                                                  [ 
> 97%]
> tests/test_messages.py ....                                              [ 
> 98%]
> tests/test_registry.py ..                                                [ 
> 99%]
> tests/test_threading_actor.py ...                                        [ 
> 99%]
> tests/proxy/test_traversable.py .                                        
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _________________ test_future_supports_await_syntax[threading] 
> _________________
> 
> future = <pykka._threading.ThreadingFuture object at 0x7fc4e3cbae10>
> 
>     @pytest.mark.skipif(
>         sys.version_info < (3, 5), reason='await requires Python 3.5+'
>     )
>     def test_future_supports_await_syntax(future):
> >       @asyncio.coroutine
> E       AttributeError: module 'asyncio' has no attribute 'coroutine'
> 
> tests/test_future_py3.py:19: AttributeError
> ______________ test_future_supports_yield_from_syntax[threading] 
> _______________
> 
> future = <pykka._threading.ThreadingFuture object at 0x7fc4e3cb9c50>
> 
>     def test_future_supports_yield_from_syntax(future):
> >       @asyncio.coroutine
> E       AttributeError: module 'asyncio' has no attribute 'coroutine'
> 
> tests/test_future_py3.py:28: AttributeError
> =========================== short test summary info 
> ============================
> FAILED tests/test_future_py3.py::test_future_supports_await_syntax[threading]
> FAILED 
> tests/test_future_py3.py::test_future_supports_yield_from_syntax[threading]
> =========== 2 failed, 143 passed, 261 skipped, 3 deselected in 0.89s 
> ===========
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pykka/build; python3.11 -m pytest -k 
> "not noncallable_mock"
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build; 
> python3.10 -m pytest -k "not noncallable_mock"
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> plugins: mock-3.8.2
> collected 409 items / 3 deselected / 406 selected
> 
> tests/test_actor.py ...................                                  [  
> 4%]
> tests/test_future.py ......................                              [ 
> 10%]
> tests/test_future_py3.py ..                                              [ 
> 10%]
> tests/test_logging.py .......                                            [ 
> 12%]
> tests/test_ref.py .......................                                [ 
> 17%]
> tests/test_registry.py ............                                      [ 
> 20%]
> tests/proxy/test_attribute_access.py ........                            [ 
> 22%]
> tests/proxy/test_dynamic_method_calls.py ..                              [ 
> 23%]
> tests/proxy/test_legacy_message_format.py ..                             [ 
> 23%]
> tests/proxy/test_mocking.py ..                                           [ 
> 24%]
> tests/proxy/test_proxy.py .................                              [ 
> 28%]
> tests/proxy/test_static_method_calls.py ........                         [ 
> 30%]
> tests/proxy/test_traversable.py ......                                   [ 
> 32%]
> tests/test_actor.py sssssssssssssssssss                                  [ 
> 36%]
> tests/test_future.py ssssssssssssssssssssss                              [ 
> 42%]
> tests/test_future_py3.py ss                                              [ 
> 42%]
> tests/test_logging.py sssssss                                            [ 
> 44%]
> tests/test_ref.py sssssssssssssssssssssss                                [ 
> 50%]
> tests/test_registry.py ssssssssssss                                      [ 
> 52%]
> tests/proxy/test_attribute_access.py ssssssss                            [ 
> 54%]
> tests/proxy/test_dynamic_method_calls.py ss                              [ 
> 55%]
> tests/proxy/test_legacy_message_format.py ss                             [ 
> 55%]
> tests/proxy/test_mocking.py ss                                           [ 
> 56%]
> tests/proxy/test_proxy.py sssssssssssssssss                              [ 
> 60%]
> tests/proxy/test_static_method_calls.py ssssssss                         [ 
> 62%]
> tests/proxy/test_traversable.py ssssss                                   [ 
> 64%]
> tests/test_actor.py sssssssssssssssssss                                  [ 
> 68%]
> tests/test_future.py ssssssssssssssssssssss                              [ 
> 74%]
> tests/test_future_py3.py ss                                              [ 
> 74%]
> tests/test_logging.py sssssss                                            [ 
> 76%]
> tests/test_ref.py sssssssssssssssssssssss                                [ 
> 82%]
> tests/test_registry.py ssssssssssss                                      [ 
> 84%]
> tests/proxy/test_attribute_access.py ssssssss                            [ 
> 86%]
> tests/proxy/test_dynamic_method_calls.py ss                              [ 
> 87%]
> tests/proxy/test_legacy_message_format.py ss                             [ 
> 87%]
> tests/proxy/test_mocking.py ss                                           [ 
> 88%]
> tests/proxy/test_proxy.py sssssssssssssssss                              [ 
> 92%]
> tests/proxy/test_static_method_calls.py ssssssss                         [ 
> 94%]
> tests/proxy/test_traversable.py ssssss                                   [ 
> 96%]
> tests/test_envelope.py .                                                 [ 
> 96%]
> tests/test_future.py ...s                                                [ 
> 97%]
> tests/test_logging.py .                                                  [ 
> 97%]
> tests/test_messages.py ....                                              [ 
> 98%]
> tests/test_registry.py ..                                                [ 
> 99%]
> tests/test_threading_actor.py ...                                        [ 
> 99%]
> tests/proxy/test_traversable.py .                                        
> [100%]
> 
> =============================== warnings summary 
> ===============================
> .pybuild/cpython3_3.10_pykka/build/tests/test_future_py3.py::test_future_supports_await_syntax[threading]
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/tests/test_future_py3.py:20:
>  DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, 
> use "async def" instead
>     def get_value():
> 
> .pybuild/cpython3_3.10_pykka/build/tests/test_future_py3.py::test_future_supports_await_syntax[threading]
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/tests/test_future_py3.py:10:
>  DeprecationWarning: There is no current event loop
>     loop = asyncio.get_event_loop()
> 
> .pybuild/cpython3_3.10_pykka/build/tests/test_future_py3.py::test_future_supports_yield_from_syntax[threading]
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pykka/build/tests/test_future_py3.py:29:
>  DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, 
> use "async def" instead
>     def get_value():
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ========== 145 passed, 261 skipped, 3 deselected, 3 warnings in 1.03s 
> ==========
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 
> 3.10" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/12/20/python-pykka_2.0.3-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&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.

Reply via email to