Skip to content

DeprecationWarning: There is no current event loop #1696

Closed
@jaraco

Description

@jaraco

Very similar to #1440, I've started getting a renewed deprecation warning on Python 3.11.1 when running xonsh.

Using jaraco/multipy-tox, which recently updated to Python 3.11.1, it's started to emit deprecation warnings:

 multipy-tox main $ docker run -it jaraco/multipy-tox
/root/.local/pipx/venvs/xonsh/lib/python3.11/site-packages/prompt_toolkit/eventloop/utils.py:118: DeprecationWarning: There is no current event loop
  return asyncio.get_event_loop_policy().get_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