On Sat, Dec 06, 2025 at 02:42:36PM +0500, Andrey Rakhmatullin wrote:
[FAIL]
Traceback (most recent call last):
 File "/usr/lib/python3/dist-packages/twisted/web/test/test_webclient.py",
line 26, in test_noFragments
   self.assertEqual(
 File "/usr/lib/python3/dist-packages/twisted/trial/_synctest.py", line 444,
in assertEqual
   super().assertEqual(first, second, msg)
 File "/usr/lib/python3.14/unittest/case.py", line 925, in assertEqual
   assertion_func(first, second, msg=msg)
 File "/usr/lib/python3.14/unittest/case.py", line 918, in _baseAssertEqual
   raise self.failureException(msg)
twisted.trial.unittest.FailTest: b'http://foo.com/quux#' !=
b'http://foo.com/quux'

twisted.web.test.test_webclient.URLJoinTests.test_noFragments
===============================================================================
[ERROR]
Traceback (most recent call last):
 File "/usr/lib/python3/dist-
packages/twisted/internet/test/test_asyncioreactor.py", line 106, in
test_defaultSelectorEventLoopFromGlobalPolicy
   reactor = AsyncioSelectorReactor()
 File "/usr/lib/python3/dist-packages/twisted/internet/asyncioreactor.py",
line 50, in __init__
   _eventloop: AbstractEventLoop = get_event_loop()
 File "/usr/lib/python3.14/asyncio/events.py", line 715, in get_event_loop
   raise RuntimeError('There is no current event loop in thread %r.'
builtins.RuntimeError: There is no current event loop in thread 'MainThread'.

[more failures like the last one]

This may or may not be fixed in trunk, AFAIK the upstream 3.14 support is not
yet complete even in trunk.

Both the failures above are fixed in trunk, but when I tried local backports I ran into a new failure in 3.14.2. I filed that upstream as https://github.com/twisted/twisted/issues/12549 and am waiting for advice, since I'm not particularly familiar with the DOM code.

--
Colin Watson (he/him)                              [[email protected]]

Reply via email to