All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Fabiano Rosas <farosas@suse.de>
Cc: qemu-devel@nongnu.org, "Thomas Huth" <thuth@redhat.com>,
	"Claudio Fontana" <cfontana@suse.de>,
	"Cleber Rosa" <crosa@redhat.com>,
	"Daniel P . Berrangé" <berrange@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Andrea Bolognani" <abologna@redhat.com>,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
	"Beraldo Leal" <bleal@redhat.com>
Subject: Re: [PATCH v2] tests/docker: Add sqlite3 module to openSUSE Leap container
Date: Wed, 17 Jan 2024 22:17:29 +0000	[thread overview]
Message-ID: <87le8nhafa.fsf@draig.linaro.org> (raw)
In-Reply-To: <20240117164227.32143-1-farosas@suse.de> (Fabiano Rosas's message of "Wed, 17 Jan 2024 13:42:27 -0300")

Fabiano Rosas <farosas@suse.de> writes:

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

Queued to testing/next, thanks.

>
> 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>
> ---
>  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 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 \
> diff --git a/tests/lcitool/mappings.yml b/tests/lcitool/mappings.yml
> index 0b908882f1..407c03301b 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 82092c9f17..149b15de57 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

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


  parent reply	other threads:[~2024-01-17 22:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-17 16:42 [PATCH v2] tests/docker: Add sqlite3 module to openSUSE Leap container Fabiano Rosas
2024-01-17 17:08 ` Philippe Mathieu-Daudé
2024-01-17 22:17 ` Alex Bennée [this message]
2024-01-19  7:11 ` Michael Tokarev
2024-01-19  7:12 ` Michael Tokarev
2024-01-19  9:33   ` Andrea Bolognani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87le8nhafa.fsf@draig.linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=abologna@redhat.com \
    --cc=berrange@redhat.com \
    --cc=bleal@redhat.com \
    --cc=cfontana@suse.de \
    --cc=crosa@redhat.com \
    --cc=farosas@suse.de \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    --cc=wainersm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.