DeprecationWarning: There is no current event loop · Issue #1696 · prompt-toolkit/python-prompt-toolkit (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
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()