diff --git a/colcon_core/subprocess.py b/colcon_core/subprocess.py index 05576cb5..2786c19f 100644 --- a/colcon_core/subprocess.py +++ b/colcon_core/subprocess.py @@ -37,7 +37,8 @@ def new_event_loop(): :returns: The created event loop """ - if sys.platform == 'win32': + # TODO: Drop this along with py3.7 + if sys.platform == 'win32' and sys.version_info < (3, 8): return asyncio.ProactorEventLoop() return asyncio.new_event_loop()