Skip to content

don't call get_event_loop() if it's deprecated, handle RuntimeError from get_event_loop after asyncio.run #5799

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 31, 2025

Conversation

graingert
Copy link
Contributor

@graingert graingert commented May 13, 2025

Fixes #5797 and #5788

Please review the following checklist.

  • Docstrings on all new or modified functions / classes
  • Updated documentation
  • Updated CHANGELOG.md (where appropriate)

@graingert graingert marked this pull request as ready for review May 13, 2025 10:47
@graingert
Copy link
Contributor Author

@willmcgugan this is ready for review now, sorry about the lint error

@willmcgugan
Copy link
Collaborator

Hi @graingert There's an issue with Py3.8 Mind having a look?

@graingert
Copy link
Contributor Author

yep, just on it

@graingert
Copy link
Contributor Author

@willmcgugan fixed!

@graingert graingert requested a review from willmcgugan May 31, 2025 14:40
@willmcgugan
Copy link
Collaborator

Thanks

@willmcgugan willmcgugan merged commit 185ba76 into Textualize:main May 31, 2025
23 checks passed
@graingert graingert deleted the fix-get-event-loop-call branch May 31, 2025 16:44
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.

Deprecation in Python 3.14 will break python -m textual and App.run()
2 participants