From 37f9f1fcafda9ae0940e9bc22ca7102f3ccb48ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Thu, 7 Nov 2024 13:24:11 +0100 Subject: [PATCH] Install dnf4 into test image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The fedora:latest image is now based on 41, and contains dnf5. This is causing some tests to fail due to failing imports of dnf version 4. Signed-off-by: Lubomír Sedlář (cherry picked from commit bc60af794dc54c99bc295c742bbfba03393f7e0f) --- tests/Dockerfile-test | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Dockerfile-test b/tests/Dockerfile-test index 9586ba0f..1c7cf35d 100644 --- a/tests/Dockerfile-test +++ b/tests/Dockerfile-test @@ -6,6 +6,7 @@ LABEL \ license="MIT" RUN dnf -y update && dnf -y install \ + --setopt=install_weak_deps=false \ findutils \ libmodulemd \ git \ @@ -15,6 +16,7 @@ RUN dnf -y update && dnf -y install \ python3-gobject-base \ python3-tox \ python3-urlgrabber \ + python3-dnf \ && dnf clean all WORKDIR /src