[Pkg-mailman-hackers] Bug#1028994: mailman3: (autopkgtest) needs update for Python 3.11
Graham Inggs
ginggs at debian.org
Mon Jan 16 07:32:11 GMT 2023
Source: mailman3
Version: 3.3.7-3
Severity: serious
User: debian-ci at lists.debian.org
Usertags: needs-update
User: debian-python at lists.debian.org
Usertags: python3.11
Control: affects -1 src:python3-defaults
Hi Maintainer
The autopkgtests of mailman3 fail with Python 3.11 as the default
version (and Python 3.10 still supported). I've copied what I hope is
the relevant part of the log below.
Regards
Graham
[1] https://ci.debian.net/packages/m/mailman3/testing/amd64/
Traceback (most recent call last):
File "/usr/bin/runner", line 33, in <module>
sys.exit(load_entry_point('mailman==3.3.7', 'console_scripts', 'runner')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/decorators.py", line 26,
in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mailman/bin/runner.py", line 184, in main
runner = make_runner(*runner_spec, once=once)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mailman/bin/runner.py", line
55, in make_runner
runner_class = find_name(class_path)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mailman/utilities/modules.py",
line 52, in find_name
module = import_module(module_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/mailman/runners/lmtp.py", line
128, in <module>
class LMTPHandler:
File "/usr/lib/python3/dist-packages/mailman/runners/lmtp.py", line
129, in LMTPHandler
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you
mean: 'coroutines'?
Exception in thread Thread-2 (loop):
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/usr/lib/python3.11/threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "/tmp/autopkgtest-lxc.pwnysvr8/downtmp/build.1YK/src/src/mailman/testing/helpers.py",
line 203, in loop
self.start_check()
File "/tmp/autopkgtest-lxc.pwnysvr8/downtmp/build.1YK/src/src/mailman/rest/tests/test_membership.py",
line 675, in _wait_for_both
cls.client = get_lmtp_client(quiet=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/autopkgtest-lxc.pwnysvr8/downtmp/build.1YK/src/src/mailman/testing/helpers.py",
line 241, in get_lmtp_client
raise RuntimeError('Connection refused')
RuntimeError: Connection refused
More information about the Pkg-mailman-hackers
mailing list