Re: Bug#1123093: aiozmq: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" returned exit code 13
Colin Watson <[email protected]> Mon, 5 Jan 2026 20:51:51 +0000
| Newsgroups | gmane.linux.debian.devel.python |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Dec 16, 2025 at 07:42:00PM +0000, Santiago Vila wrote: >I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_aiozmq/build; python3.14 -m unittest discover -v >aiozmq (unittest.loader._FailedTest.aiozmq) ... ERROR > >====================================================================== >ERROR: aiozmq (unittest.loader._FailedTest.aiozmq) >---------------------------------------------------------------------- >ImportError: Failed to import test module: aiozmq >Traceback (most recent call last): > File "/usr/lib/python3.14/unittest/loader.py", line 460, in _find_test_path > package = self._get_module_from_name(name) > File "/usr/lib/python3.14/unittest/loader.py", line 367, in _get_module_from_name > __import__(name) > ~~~~~~~~~~^^^^^^ > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_aiozmq/build/aiozmq/__init__.py", line 7, in <module> > from .core import ZmqEventLoop, ZmqEventLoopPolicy, create_zmq_connection > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_aiozmq/build/aiozmq/core.py", line 22, in <module> > from asyncio.unix_events import SelectorEventLoop, SafeChildWatcher >ImportError: cannot import name 'SafeChildWatcher' from 'asyncio.unix_events' (/usr/lib/python3.14/asyncio/unix_events.py) This seems non-trivial to fix; even if some other event loop policy might work, the whole event loop policy system is deprecated and will be removed in Python 3.16 according to https://docs.python.org/3/library/asyncio-policy.html, so this really needs an active upstream maintainer to do whatever redesign is appropriate. Unfortunately, there've been no upstream commits for over three years (see also https://github.com/aio-libs/aiozmq/issues/191). I don't see any reverse-dependencies in Debian, so I wonder if it's time to just remove this package? CCing the Python team and Piotr (who originally added this package) for second opinions. Thanks,