From f266479571ad96bc716363d4a9aa9af129ac09ba Mon Sep 17 00:00:00 2001 From: Allison Karlitskaya Date: Mon, 11 Mar 2024 11:32:21 +0100 Subject: [PATCH 1/2] tasks: add python3-mypy, pytest modules We're going to stop using toxbox to run our static checks against a venv and start depending on the run from the tasks container instead. We need mypy in the tasks container for that, of course. While we're at it, add python3-pytest. Something else we're already using (probably aioresponses) is pulling that in implicitly, but it's pretty important for us, so make sure we have it explicitly. Add a couple of more useful pytest modules as well... --- tasks/Containerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/Containerfile b/tasks/Containerfile index 7b95ee18..1ec32621 100644 --- a/tasks/Containerfile +++ b/tasks/Containerfile @@ -42,9 +42,13 @@ RUN dnf -y update && \ python3-aioresponses \ python3-build \ python3-flake8 \ + python3-mypy \ python3-pika \ python3-pillow \ python3-pip \ + python3-pytest \ + python3-pytest-asyncio \ + python3-pytest-timeout \ python3-pyyaml \ python3-wheel \ qemu-kvm-core \ From 9e1cb634775489a8006fa186273c4767b1b31349 Mon Sep 17 00:00:00 2001 From: Allison Karlitskaya Date: Mon, 11 Mar 2024 11:46:51 +0100 Subject: [PATCH 2/2] tasks: add python3-vulture We also need this for test/static-code in cockpit repo. --- tasks/Containerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/Containerfile b/tasks/Containerfile index 1ec32621..578c47d2 100644 --- a/tasks/Containerfile +++ b/tasks/Containerfile @@ -50,6 +50,7 @@ RUN dnf -y update && \ python3-pytest-asyncio \ python3-pytest-timeout \ python3-pyyaml \ + python3-vulture \ python3-wheel \ qemu-kvm-core \ rpm-build \