From: "Daniel P. Berrangé" <berrange@redhat.com>
To: John Snow <jsnow@redhat.com>
Cc: qemu-devel@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Philippe Mathieu-Daudé" <philmd@mailo.com>,
"Warner Losh" <imp@bsdimp.com>,
"Kohei Tokunaga" <ktokunaga.mail@gmail.com>,
"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>,
"Cleber Rosa" <crosa@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Reinoud Zandijk" <reinoud@netbsd.org>,
"Kyle Evans" <kevans@freebsd.org>,
"Michael Roth" <michael.roth@amd.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Markus Armbruster" <armbru@redhat.com>,
"Mauro Carvalho Chehab" <mchehab+huawei@kernel.org>
Subject: Re: [PATCH v2 09/16] python: upgrade to Python3.12+
Date: Tue, 25 Aug 2026 12:14:09 +0100 [thread overview]
Message-ID: <ao15Aa0wdf6PVAYR@redhat.com> (raw)
In-Reply-To: <20260825051441.1562454-10-jsnow@redhat.com>
On Tue, Aug 25, 2026 at 01:14:34AM -0400, John Snow wrote:
> With Python3.9 EOL and Python3.10 soon to be EOL (October 2026), and
> with ... no other supported build platform actually using Python 3.11,
> require the use of Python3.12 or later.
>
> Additionally, as part of this upgrade, remove the use of tomllib from
> mkvenv as it is now standard in the Python stdlib: leaving this
> transitional code in causes a regression with mypy which becomes
> confused about the overloaded use of 'tomllib'.
>
> Our current minimum requirements as determined by standard repository
> packages on supported distributions is as follows:
>
> distro EOS python3 pip setuptools sphinx wheel
> -------------------------------------------------------------------------
> centos_stream_9 2026-12-12 3.9.25 21.3.1 53.0.0 3.4.3 0.36.2
> centos_stream_9+ 2026-12-12 3.12.13 23.2.1 68.2.2 --- 0.41.2
> freebsd -- 3.12.14 23.3.2 63.1.0 9.0.4 0.48.0
> ubuntu_24_04 2028-04-23 3.12.3 24.0 68.1.2 7.2.6 0.42.0
> centos_stream_10 2030-01-01 3.12.13 23.3.2 69.0.3 7.2.6 0.41.2
> alpine_3_21 2026-11-01 3.12.14 24.3.1 70.3.0 8.1.3 0.43.0
> debian_13 2028-08-09 3.13.5 25.1.1 78.1.1 8.1.3 0.46.1
> fedora_43 2026-12-09 3.14.7 25.1.1 78.1.1 8.2.3 0.45.1
> ubuntu_26_04 2031-05-29 3.14.4 25.1.1 78.1.1 8.2.3 0.46.3
> fedora_44 2027-06-02 3.14.7 26.0.1 80.10.2 8.2.3 0.45.1
> macports -- 3.14.7 26.0.1 80.10.2 9.1.0 0.48.0
> alpine_3_22 2027-05-01 3.12.14 25.1.1 80.9.0 8.2.3 0.46.3
> alpine_3_23 2027-11-01 3.12.14 25.1.1 80.9.0 8.2.3 0.46.3
> openbsd -- 3.14.6 26.2.1 80.9.0 9.1.0 0.48.0
> alpine_3_24 2028-06-01 3.14.7 26.1.2 82.0.1 9.1.0 0.47.0
> pkgsrc_current -- 3.13.15 26.2.1 84.0.0 9.1.0 0.48.0
>
> CentOS stream 9 note: python3.12, python3.12-pip,
> python3.12-setuptools and python3.12-wheel are available as optional
> packages in the standard repository. Sphinx is not available, but can
> be side-loaded from PyPI using pip3.12.
>
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
> configure | 11 ++++---
> python/Makefile | 10 +++----
> python/scripts/mkvenv.py | 63 ++++------------------------------------
> python/setup.cfg | 17 ++++-------
> python/tests/minreqs.txt | 41 ++++++++++++--------------
> pythondeps.toml | 9 ++----
> 6 files changed, 43 insertions(+), 108 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
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 :|
next prev parent reply other threads:[~2026-08-25 11:19 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-25 5:14 [PATCH v2 00/16] python: require python3.12+ John Snow
2026-08-25 5:14 ` [PATCH v2 01/16] tests: update vm tests to prefer locally-built QEMU John Snow
2026-08-25 6:41 ` Markus Armbruster
2026-08-25 8:30 ` Daniel P. Berrangé
2026-08-25 15:15 ` John Snow
2026-08-25 11:26 ` Daniel P. Berrangé
2026-08-25 5:14 ` [PATCH v2 02/16] tests: update FreeBSD dependencies John Snow
2026-08-25 11:08 ` Daniel P. Berrangé
2026-08-25 15:07 ` John Snow
2026-08-25 5:14 ` [PATCH v2 03/16] tests: update netbsd dependencies John Snow
2026-08-25 6:26 ` Marc-André Lureau
2026-08-25 11:09 ` Daniel P. Berrangé
2026-08-25 15:11 ` John Snow
2026-08-25 5:14 ` [PATCH v2 04/16] tests: drop python3-devel mapping John Snow
2026-08-25 8:32 ` Daniel P. Berrangé
2026-08-25 5:14 ` [PATCH v2 05/16] tests: re-add opencv2 and numpy dependencies John Snow
2026-08-25 5:14 ` [PATCH v2 06/16] tests: add Python3.12 to centos9.docker John Snow
2026-08-25 11:12 ` Daniel P. Berrangé
2026-08-25 5:14 ` [PATCH v2 07/16] tests: update emsdk-wasm64-cross John Snow
2026-08-25 5:14 ` [PATCH v2 08/16] qapi: update type hint for objects_seen John Snow
2026-08-25 5:14 ` [PATCH v2 09/16] python: upgrade to Python3.12+ John Snow
2026-08-25 11:14 ` Daniel P. Berrangé [this message]
2026-08-25 5:14 ` [PATCH v2 10/16] python: fix license configuration John Snow
2026-08-25 5:14 ` [PATCH v2 11/16] python: allow mypy to run as the current python version John Snow
2026-08-25 5:14 ` [PATCH v2 12/16] python: remove distutils workarounds John Snow
2026-08-25 5:14 ` [PATCH v2 13/16] python: remove stale setup.cfg options John Snow
2026-08-25 5:14 ` [PATCH v2 14/16] sphinx: require sphinx 7.2.6 John Snow
2026-08-25 5:14 ` [PATCH v2 15/16] sphinx: drop fakedbusdoc John Snow
2026-08-25 5:14 ` [PATCH v2 16/16] sphinx: drop qapidoc back-compat overboiled spaghetti dinner John Snow
2026-08-25 6:54 ` Markus Armbruster
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=ao15Aa0wdf6PVAYR@redhat.com \
--to=berrange@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=armbru@redhat.com \
--cc=crosa@redhat.com \
--cc=imp@bsdimp.com \
--cc=jsnow@redhat.com \
--cc=kevans@freebsd.org \
--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 \
--cc=reinoud@netbsd.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.