question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

deprecation warning with Python 3.10

See original GitHub issue

Python 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:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jaracocommented, Aug 5, 2021

Python 3.10 is no longer beta and this issue still exists, affecting all xonsh environments that use ptk.

0reactions
mattmc3commented, Nov 7, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found