qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: John Snow <jsnow@redhat.com>, qemu-devel@nongnu.org
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
	"Cleber Rosa" <crosa@redhat.com>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	"Markus Armbruster" <armbru@redhat.com>,
	"Michael Roth" <michael.roth@amd.com>,
	"Kevin Wolf" <kwolf@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>,
	qemu-block@nongnu.org, "Hanna Reitz" <hreitz@redhat.com>
Subject: Re: [PATCH RFC 06/10] python/mkvenv: add "tests" dependency group
Date: Thu, 30 Oct 2025 09:39:54 +0100	[thread overview]
Message-ID: <652efa4c-8ee8-4fb0-bf89-09adfb53df2e@redhat.com> (raw)
In-Reply-To: <20251028220342.1407883-7-jsnow@redhat.com>

On 28/10/2025 23.03, John Snow wrote:
> This group is intended for packages required to run "make check"
> successfully. Once qemu.qmp is fully divorced from the source tree, this
> will primarily mean the qemu.qmp package. It specifically excludes
> packages only needed to run the functional tests, which are not invoked
> by default for "make check".
> 
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
>   pythondeps.toml | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/pythondeps.toml b/pythondeps.toml
> index 3d6907af799..70e83320855 100644
> --- a/pythondeps.toml
> +++ b/pythondeps.toml
> @@ -31,6 +31,9 @@ meson = { accepted = ">=1.9.0", installed = "1.9.0", canary = "meson" }
>   sphinx = { accepted = ">=3.4.3", installed = "6.2.1", canary = "sphinx-build" }
>   sphinx_rtd_theme = { accepted = ">=0.5", installed = "1.2.2" }
>   
> +[tests]
> +qemu_qmp = { accepted = ">=0.0.5", installed = "0.0.5" }
> +
>   [functests]
>   qemu_qmp = { accepted = ">=0.0.5", installed = "0.0.5" }
>   pygdbmi = { accepted = ">=0.11.0.0", installed = "0.11.0.0" }

Hmm, "tests" is a string that is very hard to grep for, since it's used all 
over the place. Could we maybe continue to call this section "testdeps" or 
something else that is more unique?

Also, could the qemu_qmp be removed from the [functests] section now? As 
long as the python/qemu/qmp folder has not been removed yet, it should not 
be necessary - and as soon as it has been removed, the generic venv from 
"[tests]" should be in place, shouldn't it?

So maybe you could merge this patch with the previous one, simplifying the 
change here to something like this:

diff --git a/pythondeps.toml b/pythondeps.toml
--- a/pythondeps.toml
+++ b/pythondeps.toml
@@ -33,4 +33,6 @@ sphinx_rtd_theme = { accepted = ">=0.5", installed = "1.2.2" }

  [testdeps]
  qemu_qmp = { accepted = ">=0.0.5", installed = "0.0.5" }
+
+[functests]
  pygdbmi = { accepted = ">=0.11.0.0", installed = "0.11.0.0" }

?

  Thomas



  reply	other threads:[~2025-10-30  8:41 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-28 22:03 [PATCH RFC 00/10] RFC: Drop qemu.qmp from qemu.git John Snow
2025-10-28 22:03 ` [PATCH RFC 01/10] python/mkvenv: ensure HAVE_LIB variables are actually constants John Snow
2025-10-30  7:51   ` Thomas Huth
2025-10-30 14:49     ` John Snow
2025-10-28 22:03 ` [PATCH RFC 02/10] python/qapi: Add an ignore for Pylint 4.x John Snow
2025-10-30  8:23   ` Thomas Huth
2025-10-30 14:50     ` John Snow
2025-10-28 22:03 ` [PATCH RFC 03/10] python/mkvenv: create timestamp file for each group "ensured" John Snow
2025-10-30  8:28   ` Thomas Huth
2025-10-30 15:12     ` John Snow
2025-10-28 22:03 ` [PATCH RFC 04/10] python/mkvenv: bump 'qemu.qmp' dependency for testdeps John Snow
2025-10-30  8:29   ` Thomas Huth
2025-10-28 22:03 ` [PATCH RFC 05/10] python/mkvenv: rename 'testdeps' to 'functests' John Snow
2025-10-30  8:30   ` Thomas Huth
2025-10-30  8:36   ` Thomas Huth
2025-10-28 22:03 ` [PATCH RFC 06/10] python/mkvenv: add "tests" dependency group John Snow
2025-10-30  8:39   ` Thomas Huth [this message]
2025-10-30 18:58     ` John Snow
2025-11-03 12:21       ` Thomas Huth
2025-10-28 22:03 ` [PATCH RFC 07/10] meson: create meson custom target for python test dependencies John Snow
2025-10-28 22:03 ` [PATCH RFC 08/10] meson: make iotests depend on pyvent_test_deps John Snow
2025-10-28 22:03 ` [PATCH RFC 09/10] python: quote dotted dependency keys John Snow
2025-10-30  8:41   ` Thomas Huth
2025-10-30 15:14     ` John Snow
2025-10-28 22:03 ` [PATCH RFC 10/10] python: delete qemu.qmp 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=652efa4c-8ee8-4fb0-bf89-09adfb53df2e@redhat.com \
    --to=thuth@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=armbru@redhat.com \
    --cc=crosa@redhat.com \
    --cc=hreitz@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=michael.roth@amd.com \
    --cc=pbonzini@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-block@nongnu.org \
    --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 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).