subiquity/subiquitycore
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
..
controllers network: ensure we pass tasks to asyncio.wait 2023-12-08 14:27:00 +01:00
models network: fix import during snap build 2023-09-11 09:45:28 -06:00
testing format with black + isort 2023-07-25 15:27:42 -06:00
tests tests: add shared mocks and remove bad import 2023-10-25 15:34:23 -07:00
ui Unify UI screen titles and minor lang. fixes 2023-11-21 14:05:59 +01:00
__init__.py format with black + isort 2023-07-25 15:27:42 -06:00
async_helpers.py format with black + isort 2023-07-25 15:27:42 -06:00
context.py format with black + isort 2023-07-25 15:27:42 -06:00
controller.py format with black + isort 2023-07-25 15:27:42 -06:00
controllerset.py format with black + isort 2023-07-25 15:27:42 -06:00
core.py format with black + isort 2023-07-25 15:27:42 -06:00
file_util.py file_util: just make written files root only 2023-10-05 17:22:18 -06:00
i18n.py format with black + isort 2023-07-25 15:27:42 -06:00
log.py log: move /var/log/installer back to 0770 root:adm 2023-10-10 13:25:26 +01:00
lsb_release.py format with black + isort 2023-07-25 15:27:42 -06:00
netplan.py format with black + isort 2023-07-25 15:27:42 -06:00
palette.py format with black + isort 2023-07-25 15:27:42 -06:00
prober.py format with black + isort 2023-07-25 15:27:42 -06:00
pubsub.py format with black + isort 2023-07-25 15:27:42 -06:00
screen.py format with black + isort 2023-07-25 15:27:42 -06:00
snapd.py snapd api: wait longer 2023-09-22 15:05:01 -06:00
ssh.py format with black + isort 2023-07-25 15:27:42 -06:00
tui.py ui: have a distinct state file for rich mode over serial 2023-09-22 09:27:13 +02:00
tuicontroller.py format with black + isort 2023-07-25 15:27:42 -06:00
utils.py Revert "autoinstall: Don't use snap env when invoking early and late commands" 2023-10-25 15:13:26 -07:00
view.py format with black + isort 2023-07-25 15:27:42 -06:00