[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 01/14] tests/docker: Add sqlite3 module to openSUSE Leap conta
From: |
Alex Bennée |
Subject: |
[PATCH v2 01/14] tests/docker: Add sqlite3 module to openSUSE Leap container |
Date: |
Wed, 7 Feb 2024 16:37:59 +0000 |
From: Fabiano Rosas <farosas@suse.de>
Avocado needs sqlite3:
Failed to load plugin from module "avocado.plugins.journal":
ImportError("Module 'sqlite3' is not installed.
Use: sudo zypper install python311 to install it")
>From 'zypper info python311':
"This package supplies rich command line features provided by
readline, and sqlite3 support for the interpreter core, thus forming
a so called "extended" runtime."
Include the appropriate package in the lcitool mappings which will
guarantee the dockerfile gets properly updated when lcitool is
run. Also include the updated dockerfile.
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Suggested-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240117164227.32143-1-farosas@suse.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/docker/dockerfiles/opensuse-leap.docker | 1 +
tests/lcitool/mappings.yml | 4 ++++
tests/lcitool/projects/qemu.yml | 1 +
3 files changed, 6 insertions(+)
diff --git a/tests/docker/dockerfiles/opensuse-leap.docker
b/tests/docker/dockerfiles/opensuse-leap.docker
index dc0e36ce488..cf753383a45 100644
--- a/tests/docker/dockerfiles/opensuse-leap.docker
+++ b/tests/docker/dockerfiles/opensuse-leap.docker
@@ -90,6 +90,7 @@ RUN zypper update -y && \
pcre-devel-static \
pipewire-devel \
pkgconfig \
+ python311 \
python311-base \
python311-pip \
python311-setuptools \
diff --git a/tests/lcitool/mappings.yml b/tests/lcitool/mappings.yml
index 0b908882f1d..407c03301bf 100644
--- a/tests/lcitool/mappings.yml
+++ b/tests/lcitool/mappings.yml
@@ -59,6 +59,10 @@ mappings:
CentOSStream8:
OpenSUSELeap15:
+ python3-sqlite3:
+ CentOSStream8: python38
+ OpenSUSELeap15: python311
+
python3-tomli:
# test using tomllib
apk:
diff --git a/tests/lcitool/projects/qemu.yml b/tests/lcitool/projects/qemu.yml
index 82092c9f175..149b15de57b 100644
--- a/tests/lcitool/projects/qemu.yml
+++ b/tests/lcitool/projects/qemu.yml
@@ -97,6 +97,7 @@ packages:
- python3-pip
- python3-sphinx
- python3-sphinx-rtd-theme
+ - python3-sqlite3
- python3-tomli
- python3-venv
- rpm2cpio
--
2.39.2
- [PATCH v2 00/14] maintainer updates for 9.0 pre-PR (docker, plugin tests, deprecation, elf, semihosting, gdbstub), Alex Bennée, 2024/02/07
- [PATCH v2 01/14] tests/docker: Add sqlite3 module to openSUSE Leap container,
Alex Bennée <=
- [PATCH v2 02/14] docs: mark CRIS support as deprecated, Alex Bennée, 2024/02/07
- [PATCH v2 04/14] Revert "hw/elf_ops: Ignore loadable segments with zero size", Alex Bennée, 2024/02/07
- [PATCH v2 03/14] configure: run plugin TCG tests again, Alex Bennée, 2024/02/07
- [PATCH v2 05/14] tests/vm: Set UseDNS=no in the sshd configuration, Alex Bennée, 2024/02/07
- [PATCH v2 08/14] meson: Link with libinotify on FreeBSD, Alex Bennée, 2024/02/07
- [PATCH v2 07/14] test-util-filemonitor: Adapt to the FreeBSD inotify rename semantics, Alex Bennée, 2024/02/07
- [PATCH v2 09/14] kconfig: use "select" to enable semihosting, Alex Bennée, 2024/02/07
- [PATCH v2 06/14] tests/vm/freebsd: Reload the sshd configuration, Alex Bennée, 2024/02/07
- Prev by Date:
[PATCH v2 00/14] maintainer updates for 9.0 pre-PR (docker, plugin tests, deprecation, elf, semihosting, gdbstub)
- Next by Date:
[PATCH v2 02/14] docs: mark CRIS support as deprecated
- Previous by thread:
[PATCH v2 00/14] maintainer updates for 9.0 pre-PR (docker, plugin tests, deprecation, elf, semihosting, gdbstub)
- Next by thread:
[PATCH v2 02/14] docs: mark CRIS support as deprecated
- Index(es):