You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi the update to python3.14 break the run_server.py with
File "/home/void/.local/lib/python3.14/site-packages/lona/app.py", line 437, in _run
run_server(
~~~~~~~~~~^
args=server_args,
^^^^^^^^^^^^^^^^^
server=self.server,
^^^^^^^^^^^^^^^^^^^
)
^
File "/home/void/.local/lib/python3.14/site-packages/lona/command_line/run_server.py", line 23, in run_server
loop = asyncio.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.'
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Currently we support for python versions up to 3.11. I looked into adding support up to 3.14 yesterday, and there are multiple smaller issues. No big road block as far as I can see so far. Working on it.
@janheini will be the same story for flamingo I assume. Both projects were conceptualized around the same time.
Activity
fscherf commentedon Jan 7, 2026
Thanks for reporting! We need to maintain compatibility with older versions though. I'll add a fix and a python 3.14 environment to the test suite.
janheini commentedon Apr 24, 2026
We faced the same issue with Flamingo and it turned out to be a one line fix:
pengutronix/flamingo#57
I haven't looked at the code too closely but maybe the fix here is similar.
fscherf commentedon Apr 24, 2026
Currently we support for python versions up to 3.11. I looked into adding support up to 3.14 yesterday, and there are multiple smaller issues. No big road block as far as I can see so far. Working on it.
@janheini will be the same story for flamingo I assume. Both projects were conceptualized around the same time.
fscherf commentedon Apr 26, 2026
@pfpulux can you please verify that #636 fixes your problem?