diff options
author | Thomas Huth <thuth@redhat.com> | 2024-05-27 13:42:12 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-05-27 13:42:12 +0200 |
commit | eaf1ce99097149bab6efb0a39b0e687a707296a8 (patch) | |
tree | c95c865a0c9a86689dc7dcc8e3d4c75622a0925e | |
parent | a300a26c0d7f48544c40af268b3245ebd63c7351 (diff) | |
download | libvirt-ci-eaf1ce99097149bab6efb0a39b0e687a707296a8.zip libvirt-ci-eaf1ce99097149bab6efb0a39b0e687a707296a8.tar.gz libvirt-ci-eaf1ce99097149bab6efb0a39b0e687a707296a8.tar.bz2 |
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 <thuth@redhat.com>
-rw-r--r-- | lcitool/facts/mappings.yml | 4 | ||||
-rw-r--r-- | tests/data/packages/in/packages.yml | 1 | ||||
-rw-r--r-- | tests/data/packages/out/fedora-39.yml | 1 | ||||
-rw-r--r-- | tests/data/packages/out/fedora-40.yml | 1 |
4 files changed, 7 insertions, 0 deletions
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 |