Re: [PATCH] python: Replace asyncio.get_event_loop for Python 3.14

2025-07-15 Thread Miro Hrončok
On 15. 07. 25 12:51, Richard W.M. Jones wrote: In Python 3.14, no asyncio event loop gets generated automatically. Instead create one when we need it. This should work with Python 3.13 as well. This is a mechanical change as suggested here: https://bugzilla.redhat.com/show_bug.cgi?id=2375004#c

Re: [PATCH] python: Replace asyncio.get_event_loop for Python 3.14

2025-07-15 Thread Daniel P . Berrangé
On Tue, Jul 15, 2025 at 11:51:10AM +0100, Richard W.M. Jones wrote: > In Python 3.14, no asyncio event loop gets generated automatically. > Instead create one when we need it. This should work with Python 3.13 > as well. This is a mechanical change as suggested here: > > https://bugzilla.redhat.

Re: [PATCH] python: Replace asyncio.get_event_loop for Python 3.14

2025-07-15 Thread Richard W.M. Jones
On Tue, Jul 15, 2025 at 12:54:26PM +0200, Miro Hrončok wrote: > On 15. 07. 25 12:51, Richard W.M. Jones wrote: > >In Python 3.14, no asyncio event loop gets generated automatically. > >Instead create one when we need it. This should work with Python 3.13 > >as well. This is a mechanical change as

[PATCH] python: Replace asyncio.get_event_loop for Python 3.14

2025-07-15 Thread Richard W.M. Jones
In Python 3.14, no asyncio event loop gets generated automatically. Instead create one when we need it. This should work with Python 3.13 as well. This is a mechanical change as suggested here: https://bugzilla.redhat.com/show_bug.cgi?id=2375004#c4 See-also: https://docs.python.org/3.14/whatsne