Source: python-txaio Version: 25.6.1-3 Severity: serious Tags: forky sid User: [email protected] Usertags: python3.14
Hi Maintainer The autopkgtests of this package fail with Python 3.14 [1]. I've copied what I hope is the relevant part of the log below. Regards Graham [1] https://ci.debian.net/packages/p/python-txaio/testing/amd64/ 47s =================================== FAILURES =================================== 47s ______________________ test_as_future_immediate[asyncio] _______________________ 47s 47s framework = <module 'txaio.aio' from '/tmp/autopkgtest-lxc.5n2fjuhe/downtmp/build.2c1/src/txaio/aio.py'> 47s 47s def test_as_future_immediate(framework): 47s """ 47s Returning an immediate value from as_future 47s """ 47s errors = [] 47s results = [] 47s calls = [] 47s 47s def method(*args, **kw): 47s calls.append((args, kw)) 47s return 42 47s 47s > f = txaio.as_future(method, 1, 2, 3, key="word") 47s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 47s 47s test/test_as_future.py:45: 47s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 47s txaio/aio.py:415: in as_future 47s return create_future_success(res) 47s ^^^^^^^^^^^^^^^^^^^^^^^^^^ 47s txaio/aio.py:392: in create_future_success 47s return self.create_future(result=result) 47s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 47s txaio/aio.py:369: in create_future 47s f = self._loop.create_future() 47s ^^^^^^^^^^ 47s txaio/aio.py:324: in _loop 47s return asyncio.get_event_loop() 47s ^^^^^^^^^^^^^^^^^^^^^^^^ 47s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 47s 47s self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f7b076e1e80> 47s 47s def get_event_loop(self): 47s """Get the event loop for the current context. 47s 47s Returns an instance of EventLoop or raises an exception. 47s """ 47s if self._local._loop is None: 47s > raise RuntimeError('There is no current event loop in thread %r.' 47s % threading.current_thread().name) 47s E RuntimeError: There is no current event loop in thread 'MainThread'.

