Source: aiotask-context Version: 0.6.1-2 Severity: serious Tags: sid bookworm User: [email protected] Usertags: needs-update User: [email protected] 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 aiotask-context 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
aiotask-context from testing 0.6.1-2
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/a/aiotask-context/28706372/log.gz============================= test session starts ============================== platform linux -- Python 3.11.0+, pytest-7.1.2, pluggy-1.0.0+repack -- /usr/bin/python3.11
cachedir: .pytest_cache rootdir: /tmp/autopkgtest-lxc.xpxnssx6/downtmp/autopkgtest_tmp collecting ... collected 0 items / 1 error==================================== ERRORS ==================================== __________________ ERROR collecting tests/test_acceptance.py ___________________
tests/test_acceptance.py:11: in <module>
@asyncio.coroutine
E AttributeError: module 'asyncio' has no attribute 'coroutine'
=========================== short test summary info
============================
ERROR tests/test_acceptance.py - AttributeError: module 'asyncio' has no
attr...
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures
!!!!!!!!!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.02s
===============================
autopkgtest [14:13:59]: test run-tests
OpenPGP_signature
Description: OpenPGP digital signature

