Skip to content

fix: create event loop if there is none#20

Merged
jourdain merged 1 commit intoKitware:mainfrom
munozco:fix-event-loop
Mar 4, 2026
Merged

fix: create event loop if there is none#20
jourdain merged 1 commit intoKitware:mainfrom
munozco:fix-event-loop

Conversation

@munozco
Copy link
Copy Markdown
Contributor

@munozco munozco commented Mar 4, 2026

Since Python 3.14, asyncio.get_event_loop() raises a RuntimeError if there is no running event loop. This mechanism has been deprecated since 3.10.

I think I'll need to also fix wslink and trame-server which have the same issue.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@5bd5923). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff            @@
##             main       #20   +/-   ##
========================================
  Coverage        ?   100.00%           
========================================
  Files           ?         1           
  Lines           ?         4           
  Branches        ?         0           
========================================
  Hits            ?         4           
  Misses          ?         0           
  Partials        ?         0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jourdain jourdain merged commit 5cb43b7 into Kitware:main Mar 4, 2026
13 checks passed
@munozco munozco deleted the fix-event-loop branch March 4, 2026 16:53
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.

2 participants