In python/cpython#128216, asyncio.events.BaseDefaultEventLoopPolicy was renamed to asyncio.events._BaseDefaultEventLoopPolicy, so when using 3.14 and import trio_asyncio, you get:
.venv/lib/python3.14/site-packages/trio_asyncio/__init__.py:19: in <module>
from ._loop import (
.venv/lib/python3.14/site-packages/trio_asyncio/_loop.py:122: in <module>
class _TrioPolicy(asyncio.events.BaseDefaultEventLoopPolicy):
E AttributeError: module 'asyncio.events' has no attribute 'BaseDefaultEventLoopPolicy'
I understand the README clarifies this library has only been tested through 3.13, but figured I'd open an issue for tracking and for others that may see the same thing.
In python/cpython#128216,
asyncio.events.BaseDefaultEventLoopPolicywas renamed toasyncio.events._BaseDefaultEventLoopPolicy, so when using 3.14 andimport trio_asyncio, you get:I understand the README clarifies this library has only been tested through 3.13, but figured I'd open an issue for tracking and for others that may see the same thing.