Source: python-molotov
Version: 2.1-4
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
User: debian-pyt...@lists.debian.org
Usertags: python3.11
Control: affects -1 src:python3-defaults

Dear maintainer(s),

We are in the transition of adding python3.11 as a supported Python version [0]. With a recent upload of python3-defaults the autopkgtest of python-molotov fails in testing when that autopkgtest is run with the binary packages of python3-defaults from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
python3-defaults       from testing    3.10.6-3
python-molotov         from testing    2.1-4
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of python3-defaults to testing [1]. https://docs.python.org/3/whatsnew/3.11.html lists what's new in Python3.11, it may help to identify what needs to be updated. E.g.:
"""
Removed the @asyncio.coroutine() decorator enabling legacy generator-based coroutines to be compatible with async / await code. The function has been deprecated since Python 3.8 and the removal was initially scheduled for Python 3.10. Use async def instead. (Contributed by Illia Volochii in bpo-43216.)
"""

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] https://bugs.debian.org/1021984
[1] https://qa.debian.org/excuses.php?package=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-molotov/28600688/log.gz

=================================== FAILURES =================================== ____________________________ TestUtil.test_can_call ____________________________

args = (<molotov.tests.test_api.TestUtil testMethod=test_can_call>,), kw = {}

    @functools.wraps(func)
    def _async_test(*args, **kw):
      cofunc = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

molotov/tests/support.py:242: AttributeError
____________________________ TestFmwk.test_aworker _____________________________

args = (<molotov.tests.test_fmwk.TestFmwk testMethod=test_aworker>,), kw = {}

    @functools.wraps(func)
    def _async_test(*args, **kw):
      cofunc = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

molotov/tests/support.py:242: AttributeError
_________________________ TestFmwk.test_aworker_noexc __________________________

args = (<molotov.tests.test_fmwk.TestFmwk testMethod=test_aworker_noexc>,)
kw = {}

    @functools.wraps(func)
    def _async_test(*args, **kw):
      cofunc = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

molotov/tests/support.py:242: AttributeError
__________________________ TestFmwk.test_failing_step __________________________

args = (<molotov.tests.test_fmwk.TestFmwk testMethod=test_failing_step>,)
kw = {}

    @functools.wraps(func)
    def _async_test(*args, **kw):
      cofunc = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

molotov/tests/support.py:242: AttributeError
____________________________ TestFmwk.test_failure _____________________________

args = (<molotov.tests.test_fmwk.TestFmwk testMethod=test_failure>,), kw = {}

    @functools.wraps(func)
    def _async_test(*args, **kw):
      cofunc = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

molotov/tests/support.py:242: AttributeError
_____________________________ TestFmwk.test_picker _____________________________

args = (<molotov.tests.test_fmwk.TestFmwk testMethod=test_picker>,), kw = {}

    @functools.wraps(func)
    def _async_test(*args, **kw):
      cofunc = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

molotov/tests/support.py:242: AttributeError
___________________ TestFmwk.test_session_shutdown_exception ___________________

args = (<molotov.tests.test_fmwk.TestFmwk testMethod=test_session_shutdown_exception>,)
kw = {}

    @functools.wraps(func)
    def _async_test(*args, **kw):
      cofunc = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

molotov/tests/support.py:242: AttributeError
____________________ TestFmwk.test_setup_session_fresh_loop ____________________

args = (<molotov.tests.test_fmwk.TestFmwk testMethod=test_setup_session_fresh_loop>,)
kw = {}

    @functools.wraps(func)
    def _async_test(*args, **kw):
      cofunc = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

molotov/tests/support.py:242: AttributeError
______________________________ TestFmwk.test_step ______________________________

args = (<molotov.tests.test_fmwk.TestFmwk testMethod=test_step>,), kw = {}

    @functools.wraps(func)
    def _async_test(*args, **kw):
      cofunc = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

molotov/tests/support.py:242: AttributeError
_______________________ TestListeners.test_add_listener ________________________

args = (<molotov.tests.test_listeners.TestListeners testMethod=test_add_listener>,)
kw = {}

    @functools.wraps(func)
    def _async_test(*args, **kw):
      cofunc = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

molotov/tests/support.py:242: AttributeError
______________________ TestListeners.test_buggy_listener _______________________

args = (<molotov.tests.test_listeners.TestListeners testMethod=test_buggy_listener>,)
kw = {}

    @functools.wraps(func)
    def _async_test(*args, **kw):
      cofunc = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to