Switched from asyncio.run() to the older style asyncio.get_event_loop.run_until_complete().
Tested on Ubuntu 22.04 and Windows 10. I also tried raising an exception inside main() in revup.py to ensure that errors aren't hidden. The only difference seems to be to avoid the premature closing of the event loop in the ProactorEventLoop (which is the only event loop that works with subprocess on Windows).
See Asyncio event loop is closed when using asyncio.run() for some discussion.
Switched from
asyncio.run()
to the older styleasyncio.get_event_loop.run_until_complete()
. Tested on Ubuntu 22.04 and Windows 10. I also tried raising an exception insidemain()
in revup.py to ensure that errors aren't hidden. The only difference seems to be to avoid the premature closing of the event loop in the ProactorEventLoop (which is the only event loop that works with subprocess on Windows). See Asyncio event loop is closed when using asyncio.run() for some discussion.