qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Krempa <pkrempa@redhat.com>, qemu-devel@nongnu.org
Cc: "Alex Bennée" <alex.bennee@linaro.org>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Thomas Huth" <thuth@redhat.com>,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
	"Beraldo Leal" <bleal@redhat.com>
Subject: Re: [PATCH] tests: lcitool: Switch to OpenSUSE Leap 15.4
Date: Fri, 14 Apr 2023 11:44:58 +0200	[thread overview]
Message-ID: <602c153e-919a-3a7b-e1da-16eadadbdab8@redhat.com> (raw)
In-Reply-To: <23259353a19a8da5277a18168bd911c777265e21.1680268168.git.pkrempa@redhat.com>

On 3/31/23 15:11, Peter Krempa wrote:
> The 15.3 version is EOL now:
> 
> https://get.opensuse.org/leap/15.3
> 
> Switch the dockerfile to 15.4.

As far as I know, 15.4 still has Python 3.6 as the default Python, so 
you need to rename tests/lcitool/targets/opensuse-leap-153.yml and 
adjust tests/lcitool/mappings.yml (changing the 153 in the mappings to 154).

Also, when you send a v2, please include a submodule update as well to 
commit 51dad419.

Paolo

> Signed-off-by: Peter Krempa <pkrempa@redhat.com>
> ---
>   tests/docker/dockerfiles/opensuse-leap.docker | 25 +++++++++----------
>   tests/lcitool/refresh                         |  2 +-
>   2 files changed, 13 insertions(+), 14 deletions(-)
> 
> diff --git a/tests/docker/dockerfiles/opensuse-leap.docker b/tests/docker/dockerfiles/opensuse-leap.docker
> index 8e9500e443..91a67bfd0d 100644
> --- a/tests/docker/dockerfiles/opensuse-leap.docker
> +++ b/tests/docker/dockerfiles/opensuse-leap.docker
> @@ -1,10 +1,10 @@
>   # THIS FILE WAS AUTO-GENERATED
>   #
> -#  $ lcitool dockerfile --layers all opensuse-leap-153 qemu
> +#  $ lcitool dockerfile --layers all opensuse-leap-154 qemu
>   #
>   # https://gitlab.com/libvirt/libvirt-ci
> 
> -FROM registry.opensuse.org/opensuse/leap:15.3
> +FROM registry.opensuse.org/opensuse/leap:15.4
> 
>   RUN zypper update -y && \
>       zypper install -y \
> @@ -81,6 +81,7 @@ RUN zypper update -y && \
>              lttng-ust-devel \
>              lzo-devel \
>              make \
> +           meson \
>              mkisofs \
>              ncat \
>              ncurses-devel \
> @@ -89,9 +90,14 @@ RUN zypper update -y && \
>              pam-devel \
>              pcre-devel-static \
>              pkgconfig \
> -           python39-base \
> -           python39-pip \
> -           python39-setuptools \
> +           python3-Pillow \
> +           python3-PyYAML \
> +           python3-Sphinx \
> +           python3-base \
> +           python3-numpy \
> +           python3-opencv \
> +           python3-pip \
> +           python3-sphinx_rtd_theme \
>              rdma-core-devel \
>              rpm \
>              sed \
> @@ -124,18 +130,11 @@ RUN zypper update -y && \
>       ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \
>       ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
> 
> -RUN /usr/bin/pip3.9 install \
> -                    PyYAML \
> -                    meson==0.63.2 \
> -                    pillow \
> -                    sphinx \
> -                    sphinx-rtd-theme
> -
>   ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
>   ENV LANG "en_US.UTF-8"
>   ENV MAKE "/usr/bin/make"
>   ENV NINJA "/usr/bin/ninja"
> -ENV PYTHON "/usr/bin/python3.9"
> +ENV PYTHON "/usr/bin/python3"
>   # As a final step configure the user (if env is defined)
>   ARG USER
>   ARG UID
> diff --git a/tests/lcitool/refresh b/tests/lcitool/refresh
> index c0d7ad5516..b3acd9d6b0 100755
> --- a/tests/lcitool/refresh
> +++ b/tests/lcitool/refresh
> @@ -120,7 +120,7 @@ try:
>       generate_dockerfile("debian-amd64", "debian-11",
>                           trailer="".join(debian11_extras))
>       generate_dockerfile("fedora", "fedora-37")
> -    generate_dockerfile("opensuse-leap", "opensuse-leap-153")
> +    generate_dockerfile("opensuse-leap", "opensuse-leap-154")
>       generate_dockerfile("ubuntu2004", "ubuntu-2004")
>       generate_dockerfile("ubuntu2204", "ubuntu-2204")
> 



      parent reply	other threads:[~2023-04-14  9:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-31 13:11 [PATCH] tests: lcitool: Switch to OpenSUSE Leap 15.4 Peter Krempa
2023-03-31 13:15 ` Daniel P. Berrangé
2023-04-14  9:44 ` Paolo Bonzini [this message]

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=602c153e-919a-3a7b-e1da-16eadadbdab8@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=bleal@redhat.com \
    --cc=philmd@linaro.org \
    --cc=pkrempa@redhat.com \
    --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 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).