deprecation warning with Python 3.10
See original GitHub issuePython 3.10 is still beta. This is just a heads up. Here is the full warning
xsh-rVZlQJi1-py3.10/lib/python3.10/site-packages/prompt_toolkit/application/application.py:878: DeprecationWarning: There is no current event loop
loop = get_event_loop()
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:7 (6 by maintainers)
Top Results From Across the Web
warnings — Warning control — Python 3.11.1 documentation
DeprecationWarning. Base category for warnings about deprecated features when those warnings are intended for other Python developers (ignored by default, ...
Read more >A lot of deprecation warnings in python 3.10 #3033 - GitHub
In 3.10, many things that tornado uses were deprecated. This affects things that use tornado, as well as tests that assume there are...
Read more >Warning message from Python 3.10 - DeprecationWarning
Warning message from Python 3.10 - DeprecationWarning: currentThread() is deprecated ; Priority, Normal N ; Type, Bug ; State, Duplicate D ; Assignee,...
Read more >Deprecation warnings with python 3.10 - Django's bug tracker
The following DeprecationWarning cases are occurring with python 3.10: /usr/local/lib/python3.10/site-packages/django/utils/version.py:6: ...
Read more >Python 3.10 asyncio.gather() shows DeprecationWarning
Deprecated since version 3.10: Deprecation warning is emitted if no positional arguments are provided or not all positional arguments are ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Python 3.10 is no longer beta and this issue still exists, affecting all xonsh environments that use ptk.
Vote to close this issue. Can confirm that prompt-toolkit 3.0.22 works great in Xonsh on Python 3.10 with my merged PR. For Xonsh users, you can simply
xpip install prompt-toolkit --upgrade
if you are on an earlier version and still seeing the deprecation warning.