All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Snow <jsnow@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Thomas Huth" <thuth@redhat.com>, "John Snow" <jsnow@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Cleber Rosa" <crosa@redhat.com>,
	"Alex Bennée" <alex.bennee@linaro.org>
Subject: [PATCH v2 3/3] python: upgrade minimum setuptools/wheel/pip versions
Date: Wed, 25 Feb 2026 14:38:56 -0500	[thread overview]
Message-ID: <20260225193856.959771-4-jsnow@redhat.com> (raw)
In-Reply-To: <20260225193856.959771-1-jsnow@redhat.com>

With Debian 11 tests removed from our CI suite, we are allowed to rely
on the versions present in CentOS Stream 9 as a new minimum.

Note that CentOS Stream 9 does offer Python 3.12 packages, but mandating
this incurs the loss of ability to build offline documentation on CentOS
because there is no official Sphinx package for Python 3.12. We will
very likely mandate these upgraded packages for QEMU 11.1, but there is
no real benefit to doing it now for 11.0 - It will be simpler to perform
that upgrade after QEMU drops support for Ubuntu 22.04 LTS in late
April.

See
https://gitlab.com/jsnow/repology-dashboard#results-overview-as-of-2026-02-16
for more details on current Python ecosystem versions across all of our
supported build platforms.

Signed-off-by: John Snow <jsnow@redhat.com>
---
 python/tests/minreqs.txt |  1 +
 pythondeps.toml          | 18 ++++++++++--------
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/python/tests/minreqs.txt b/python/tests/minreqs.txt
index 855b5129c94..6fc671b1780 100644
--- a/python/tests/minreqs.txt
+++ b/python/tests/minreqs.txt
@@ -16,6 +16,7 @@
 # installation of the QEMU package itself fails, failing to find
 # setuptools.
 setuptools<=70
+wheel==0.36.2
 
 # Dependencies for qapidoc/qapi_domain et al
 sphinx==3.4.3
diff --git a/pythondeps.toml b/pythondeps.toml
index a0717742423..c843f163a8f 100644
--- a/pythondeps.toml
+++ b/pythondeps.toml
@@ -38,14 +38,16 @@ sphinx_rtd_theme = { accepted = ">=0.5", installed = "1.2.2" }
 [tooling]
 "qemu.qmp" = { accepted = ">=0.0.5", installed = "0.0.5" }
 "qemu" = { path = "python/" }
-# NB: The following dependencies should be a little bit more modern than
-# the versions listed here, but we are still using Debian 11 for several
-# GitLab CI tests, so we are further restricted.
-"setuptools" = { accepted = ">=44.1.1" }
-"wheel" = { accepted = ">=0.34.2" }
-# pip should be guaranteed by mkvenv, this is merely a sanity check for
-# which version we are counting on being present.
-"pip" = { accepted = ">=20.3.4" }
+# These dependencies largely serve as sanity checks and a place to
+# record our current accepted minimum versions of various python
+# packaging modules; in offline mode, the absence of these modules will
+# cause configure to fail.
+#
+# We are currently constrained by CentOS Stream 9.
+"setuptools" = { accepted = ">=53.0.0" }
+"wheel" = { accepted = ">=0.36.2" }
+# Guaranteed by mkvenv, sanity-check only
+"pip" = { accepted = ">=21.3.1" }
 
 # This test group is for functional tests, and can include dependencies
 # fetched from PyPI.
-- 
2.53.0



  parent reply	other threads:[~2026-02-25 19:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-25 19:38 [PATCH v2 0/3] tests: upgrade containers to debian 13 John Snow
2026-02-25 19:38 ` [PATCH v2 1/3] tests: upgrade most non-lcitool debian tests " John Snow
2026-02-26 14:47   ` Daniel P. Berrangé
2026-02-26 17:00   ` Alex Bennée
2026-02-25 19:38 ` [PATCH v2 2/3] tests: upgrade debian-legacy-test-cross " John Snow
2026-02-25 22:57   ` Alex Bennée
2026-02-26 16:23     ` John Snow
2026-02-26 14:47   ` Daniel P. Berrangé
2026-02-25 19:38 ` John Snow [this message]
2026-02-26  7:59   ` [PATCH v2 3/3] python: upgrade minimum setuptools/wheel/pip versions Thomas Huth
2026-02-26 14:45   ` Daniel P. Berrangé

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=20260225193856.959771-4-jsnow@redhat.com \
    --to=jsnow@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=crosa@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@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.