prompt-toolkit / python-prompt-toolkit

Library for building powerful interactive command line applications in Python
https://python-prompt-toolkit.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
9.28k stars 715 forks source link

Drop Python 3.6. #1721

Closed jonathanslenders closed 1 year ago

jonathanslenders commented 1 year ago

Use asyncio.get_running_loop() and asyncio.run(). Stop using asyncio.get_event_loop() and asyncio.set_event_loop().

jonathanslenders commented 1 year ago

If anyone here has a Windows environment available, it would be much appreciated if this could be tested. Windows 10 or 11 would be fine.

jonathanslenders commented 1 year ago

Going to merge this, I tested on Windows.

There are some mypy issues:

AssertionError: Internal error: unresolved placeholder type None That's probably a mypy bug which should be fixed in the next release: https://github.com/python/mypy/issues/14631