Skip to content
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

Fails to build with Python 3.14 #112

Open
opoplawski opened this issue Nov 30, 2024 · 0 comments
Open

Fails to build with Python 3.14 #112

opoplawski opened this issue Nov 30, 2024 · 0 comments

Comments

@opoplawski
Copy link

Fedora is starting to test building with Python 3.14.0a2. makefun fails to build with:

FAILED tests/test_generators_coroutines.py::test_native_coroutine -
RuntimeError: There is no current event loop in thread 'MainThread'.
FAILED tests/test_generators_coroutines.py::test_issue_96 - RuntimeError: There
is no current event loop in thread 'MainThread'.
FAILED tests/test_issues.py::test_issue_77_async_generator_wraps -
RuntimeError: There is no current event loop in thread 'MainThread'.
FAILED tests/test_issues.py::test_issue_77_async_generator_partial -
RuntimeError: There is no current event loop in thread 'MainThread'.

According to https://docs.python.org/dev/whatsnew/3.14.html#id3

Removed implicit creation of event loop by asyncio.get_event_loop(). It now
raises a RuntimeError if there is no current event loop. (Contributed by Kumar
Aditya in gh-126353.)

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

No branches or pull requests

1 participant