Skip to content

test: use asyncio.run for python 3.14 compatibility#90

Open
m0wer wants to merge 1 commit into
Simplexum:masterfrom
m0wer:pr/asyncio-py314
Open

test: use asyncio.run for python 3.14 compatibility#90
m0wer wants to merge 1 commit into
Simplexum:masterfrom
m0wer:pr/asyncio-py314

Conversation

@m0wer
Copy link
Copy Markdown

@m0wer m0wer commented May 26, 2026

Python 3.14 removed the implicit event-loop creation that asyncio .get_event_loop() relied on when no loop was set on the current thread, which broke test_addresses with a RuntimeError. Switch to asyncio.run, the recommended top-level entry point, which works on every supported Python version.

Python 3.14 removed the implicit event-loop creation that asyncio
.get_event_loop() relied on when no loop was set on the current thread,
which broke test_addresses with a RuntimeError. Switch to asyncio.run,
the recommended top-level entry point, which works on every supported
Python version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant