Source: contextlib2
Version: 0.6.0.post1-2
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 contextlib2 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
contextlib2            from testing    0.6.0.post1-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.

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/c/contextlib2/28706379/log.gz

======================================================================
ERROR: test_typo_enter (test_contextlib2.TestContextDecorator.test_typo_enter)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.rcsf_3a_/downtmp/autopkgtest_tmp/test_contextlib2.py", line 364, in test_typo_enter
    with mycontext():
TypeError: 'mycontext' object does not support the context manager protocol

======================================================================
ERROR: test_typo_exit (test_contextlib2.TestContextDecorator.test_typo_exit)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.rcsf_3a_/downtmp/autopkgtest_tmp/test_contextlib2.py", line 376, in test_typo_exit
    with mycontext():
TypeError: 'mycontext' object does not support the context manager protocol (missed __exit__ method)

----------------------------------------------------------------------
Ran 72 tests in 0.022s

FAILED (errors=2)

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to