qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tests/docker: Add sqlite3 module to openSUSE Leap container
@ 2024-01-16 23:09 Fabiano Rosas
  2024-01-17  7:09 ` Philippe Mathieu-Daudé
  2024-01-17  7:18 ` Thomas Huth
  0 siblings, 2 replies; 6+ messages in thread
From: Fabiano Rosas @ 2024-01-16 23:09 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, Claudio Fontana, Alex Bennée, Cleber Rosa,
	Daniel P . Berrangé, Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Beraldo Leal

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")

Include the appropriate package in the dockerfile.

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."

Signed-off-by: Fabiano Rosas <farosas@suse.de>
---
 tests/docker/dockerfiles/opensuse-leap.docker | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/docker/dockerfiles/opensuse-leap.docker b/tests/docker/dockerfiles/opensuse-leap.docker
index dc0e36ce48..cf753383a4 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 \
-- 
2.35.3



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-01-17  8:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-16 23:09 [PATCH] tests/docker: Add sqlite3 module to openSUSE Leap container Fabiano Rosas
2024-01-17  7:09 ` Philippe Mathieu-Daudé
2024-01-17  8:17   ` Philippe Mathieu-Daudé
2024-01-17  7:18 ` Thomas Huth
2024-01-17  7:44   ` Andrea Bolognani
2024-01-17  8:16     ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).