subiquity/subiquitycore/controllers
Olivier Gayot 0b7a4d16af network: ensure we pass tasks to asyncio.wait
In Python < 3.11, when passing a coroutine to asyncio.wait, it would
automatically be scheduled as a task. This isn't the case anymore with
Python 3.11. Now passing coroutines to asyncio.wait fails with:

 TypeError: Passing coroutines is forbidden, use tasks explicitly.

Let's ensure we schedule the coroutines as tasks before passing them on
to asyncio.wait.

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2023-12-08 14:27:00 +01:00
..
tests format with black + isort 2023-07-25 15:27:42 -06:00
__init__.py Re-introduce 'subiquity' package for installer specific things. 2016-07-25 12:51:39 +12:00
network.py network: ensure we pass tasks to asyncio.wait 2023-12-08 14:27:00 +01:00