From eaf1ce99097149bab6efb0a39b0e687a707296a8 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Mon, 27 May 2024 13:42:12 +0200 Subject: lcitool/facts/mappings: Add a mapping for the python3 "imp" package The "imp" module got removed in Python 3.12, but the Avocado tests in QEMU still require it. Fortunately, Fedora still ships "imp" in a separate RPM to work-around these problems until all python code is fixed. Let's provide this package in lcitool, too, so QEMU can update to Fedora 40 even while the Avocado problem there hasn't been tackled yet. Signed-off-by: Thomas Huth --- lcitool/facts/mappings.yml | 4 ++++ tests/data/packages/in/packages.yml | 1 + tests/data/packages/out/fedora-39.yml | 1 + tests/data/packages/out/fedora-40.yml | 1 + 4 files changed, 7 insertions(+) diff --git a/lcitool/facts/mappings.yml b/lcitool/facts/mappings.yml index e4a16d7..e723dcf 100644 --- a/lcitool/facts/mappings.yml +++ b/lcitool/facts/mappings.yml @@ -1695,6 +1695,10 @@ mappings: pkg: py39-gobject3 rpm: python3-gobject + python3-imp: + Fedora39: python3-zombie-imp + Fedora40: python3-zombie-imp + python3-libxml2: default: python3-libxml2 apk: py3-libxml2 diff --git a/tests/data/packages/in/packages.yml b/tests/data/packages/in/packages.yml index 73f9292..b77a364 100644 --- a/tests/data/packages/in/packages.yml +++ b/tests/data/packages/in/packages.yml @@ -256,6 +256,7 @@ packages: - python3-devel - python3-docutils - python3-gobject +- python3-imp - python3-libxml2 - python3-lxml - python3-numpy diff --git a/tests/data/packages/out/fedora-39.yml b/tests/data/packages/out/fedora-39.yml index e573bea..86db8d4 100644 --- a/tests/data/packages/out/fedora-39.yml +++ b/tests/data/packages/out/fedora-39.yml @@ -246,6 +246,7 @@ native: - python3-sphinx_rtd_theme - python3-tomli - python3-wheel +- python3-zombie-imp - qemu-img - qemu-kvm - rdma-core-devel diff --git a/tests/data/packages/out/fedora-40.yml b/tests/data/packages/out/fedora-40.yml index e573bea..86db8d4 100644 --- a/tests/data/packages/out/fedora-40.yml +++ b/tests/data/packages/out/fedora-40.yml @@ -246,6 +246,7 @@ native: - python3-sphinx_rtd_theme - python3-tomli - python3-wheel +- python3-zombie-imp - qemu-img - qemu-kvm - rdma-core-devel -- cgit v1.1