All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: John Snow <jsnow@redhat.com>
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>,
	qemu-devel <qemu-devel@nongnu.org>,
	"Kohei Tokunaga" <ktokunaga.mail@gmail.com>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	"Michael Roth" <michael.roth@amd.com>,
	"Markus Armbruster" <armbru@redhat.com>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	"Mauro Carvalho Chehab" <mchehab+huawei@kernel.org>,
	"Cleber Rosa" <crosa@redhat.com>,
	"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>,
	"Philippe Mathieu-Daudé" <philmd@mailo.com>
Subject: Re: [PATCH 02/12] tests: add Python3.12 to centos9.docker
Date: Mon, 24 Aug 2026 14:14:48 +0100	[thread overview]
Message-ID: <aoxDyM6Ll4lC5KKJ@redhat.com> (raw)
In-Reply-To: <CAFn=p-Zhaxup8sCkaH_qUwzDHHtmecAzRc6uEgkyjoiH7RK2SA@mail.gmail.com>

On Mon, Aug 24, 2026 at 09:09:03AM -0400, John Snow wrote:
> On Mon, Aug 24, 2026, 4:19 AM Paolo Bonzini <pbonzini@redhat.com> wrote:
> 
> > On 8/24/26 09:38, marcandre.lureau@redhat.com wrote:
> > >> While we recently upgraded to Python 3.11 for the CentOS 9 container,
> > >> upgrade it even further to Python 3.12.
> > >>
> > >> Signed-off-by: John Snow <jsnow@redhat.com>
> > >> Message-ID: <20260824052859.880475-3-jsnow@redhat.com>
> > >>
> > >> diff --git a/tests/docker/dockerfiles/centos9.docker
> > b/tests/docker/dockerfiles/centos9.docker
> > >> index 6f5c400c2db1..8bfce395f9d7 100644
> > >> --- a/tests/docker/dockerfiles/centos9.docker
> > >> +++ b/tests/docker/dockerfiles/centos9.docker
> > >> @@ -96,10 +96,10 @@ RUN dnf --quiet distro-sync -y && \
> > >>                   pkgconfig \
> > >>                   pulseaudio-libs-devel \
> > >>                   python3-tomli \
> > >> -                python3.11 \
> > >> -                python3.11-pip \
> > >> -                python3.11-setuptools \
> > >> -                python3.11-wheel \
> > >> +                python3.12 \
> > >> +                python3.12-pip \
> > >> +                python3.12-setuptools \
> > >> +                python3.12-wheel \
> > >>                   rdma-core-devel \
> > >>                   rust \
> > >>                   rust-std-static \
> > >> @@ -129,7 +129,7 @@ RUN dnf --quiet distro-sync -y && \
> > >>       ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
> > >>       ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
> > >>
> > >> -RUN /usr/bin/pip3.11 install \
> > >> +RUN /usr/bin/pip3.12 install \
> > >>                        numpy \
> > >>                        opencv-python \
> > >>                        sphinx \
> > >> @@ -139,7 +139,7 @@ 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.11"
> > >> +ENV PYTHON="/usr/bin/python3.12"
> > >>   # As a final step configure the user (if env is defined)
> > >>   ARG USER
> > >>   ARG UID
> > >> diff --git a/tests/lcitool/mappings.yml b/tests/lcitool/mappings.yml
> > >> index 2b317e0a61c5..5c56e4aca1b0 100644
> > >> --- a/tests/lcitool/mappings.yml
> > >> +++ b/tests/lcitool/mappings.yml
> > >> @@ -4,16 +4,16 @@ mappings:
> > >>       Ubuntu2204:
> > >>
> > >>     python3:
> > >> -    CentOSStream9: python3.11
> > >> +    CentOSStream9: python3.12
> > >>
> > >>     python3-devel:
> > >> -    CentOSStream9: python3.11-devel
> > >> +    CentOSStream9: python3.21-devel
> > Or drop it altogether, it seems not to be needed?
> >
> > Paolo
> >
> 
> Hah! Oops. Surprised that worked, but it does tell us something, eh?

Yes:

$ git grep python3-devel tests/lcitool/projects/


tells us that 'python3-devel' is not referenced in our definition
for QEMU as a build-dep, so in turn we don't need a mapping for it.

With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|



  reply	other threads:[~2026-08-24 13:15 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-24  5:28 [PATCH 00/12] python: require python3.12+ John Snow
2026-08-24  5:28 ` [PATCH 01/12] tests: re-add opencv2 and numpy dependencies John Snow
2026-08-24  7:16   ` Philippe Mathieu-Daudé
2026-08-24  7:38   ` marcandre.lureau
2026-08-24  5:28 ` [PATCH 02/12] tests: add Python3.12 to centos9.docker John Snow
2026-08-24  7:38   ` marcandre.lureau
2026-08-24  8:17     ` Paolo Bonzini
2026-08-24 13:09       ` John Snow
2026-08-24 13:14         ` Daniel P. Berrangé [this message]
2026-08-24  5:28 ` [PATCH 03/12] tests: update emsdk-wasm64-cross John Snow
2026-08-24  7:38   ` marcandre.lureau
2026-08-25  4:16     ` Kohei Tokunaga
2026-08-24  5:28 ` [PATCH 04/12] qapi: update type hint for types_seen John Snow
2026-08-24  7:17   ` Philippe Mathieu-Daudé
2026-08-24  7:38   ` marcandre.lureau
2026-08-24  8:05   ` Markus Armbruster
2026-08-24  5:28 ` [PATCH 05/12] python: upgrade to Python3.12+ John Snow
2026-08-24  7:38   ` marcandre.lureau
2026-08-24  8:21   ` Paolo Bonzini
2026-08-24  5:28 ` [PATCH 06/12] python: fix license configuration John Snow
2026-08-24  7:38   ` marcandre.lureau
2026-08-24  5:28 ` [PATCH 07/12] python: allow mypy to run as the current python version John Snow
2026-08-24  7:15   ` Philippe Mathieu-Daudé
2026-08-24  7:38   ` marcandre.lureau
2026-08-24  5:28 ` [PATCH 08/12] python: remove distutils workarounds John Snow
2026-08-24  7:38   ` marcandre.lureau
2026-08-24  5:28 ` [PATCH 09/12] python: remove stale setup.cfg options John Snow
2026-08-24  7:38   ` marcandre.lureau
2026-08-24  5:28 ` [PATCH 10/12] sphinx: require sphinx 7.2.6 John Snow
2026-08-24  7:38   ` marcandre.lureau
2026-08-24 13:16   ` Daniel P. Berrangé
2026-08-24 13:21     ` John Snow
2026-08-24  5:28 ` [PATCH 11/12] sphinx: drop fakedbusdoc John Snow
2026-08-24  7:38   ` marcandre.lureau
2026-08-24  5:28 ` [PATCH 12/12] sphinx: drop qapidoc back-compat overboiled spaghetti dinner John Snow
2026-08-24  7:38   ` marcandre.lureau
2026-08-24  9:39   ` Markus Armbruster
2026-08-24 14:34     ` John Snow

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=aoxDyM6Ll4lC5KKJ@redhat.com \
    --to=berrange@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=armbru@redhat.com \
    --cc=crosa@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=ktokunaga.mail@gmail.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=mchehab+huawei@kernel.org \
    --cc=michael.roth@amd.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@mailo.com \
    --cc=pierrick.bouvier@oss.qualcomm.com \
    --cc=qemu-devel@nongnu.org \
    /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.