Skip to content

RuntimeError on import on Python3.14 #225

@matthewsia98

Description

@matthewsia98

This succeeds

echo 'import pyld' | uv run -p313 --with 'PyLD[aiohttp]' -

This fails

echo 'import pyld' | uv run -p314 --with 'PyLD[aiohttp]' -

https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.get_event_loop
Changed in version 3.14: asyncio.get_event_loop() raises a RuntimeError if there is no current event loop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions