Skip to content

Support Python 3.14 problem #36

@eiffelcn

Description

@eiffelcn

On a brand new project created by uv, that only include Python 3.14, textual, textual-serve, textual-dev. The example command 'uv run textual serve "python -m textual"' will reply "RuntimeError: There is no current event loop in thread 'MainThread'." But everything works fine when switching to Python 3.13.

uv init testproject -p 3.14 # switch to 3.13, everything works fine
cd testproject
uv add textual textual-dev textual-serve
uv run textual serve "python -m textual" # Fail for "RuntimeError: There is no current event loop in thread 'MainThread'."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions