[PATCH v5 11/16] meson, mkvenv: add qemu.git/python/qemu package to pythondeps.toml

John Snow posted 16 patches 3 days, 9 hours ago
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Ed Maste <emaste@freebsd.org>, Li-Wen Hsu <lwhsu@freebsd.org>, Yonggang Luo <luoyonggang@gmail.com>, Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, John Snow <jsnow@redhat.com>, Cleber Rosa <crosa@redhat.com>, Maksim Davydov <davydov-max@yandex-team.ru>, Markus Armbruster <armbru@redhat.com>, Mauro Carvalho Chehab <mchehab+huawei@kernel.org>, Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>, Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>
[PATCH v5 11/16] meson, mkvenv: add qemu.git/python/qemu package to pythondeps.toml
Posted by John Snow 3 days, 9 hours ago
Add the local python package group into pythondeps.toml for the
tooling This makes qemu.qmp, qemu.machine and qemu.utils
packages unconditionally available for tests and scripts.

Signed-off-by: John Snow <jsnow@redhat.com>
---
 pythondeps.toml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pythondeps.toml b/pythondeps.toml
index 743e2a8848c..89256132fee 100644
--- a/pythondeps.toml
+++ b/pythondeps.toml
@@ -37,6 +37,7 @@ sphinx_rtd_theme = { accepted = ">=0.5", installed = "1.2.2" }
 # system packages, or python packages we vendor.
 [tooling]
 "qemu.qmp" = { accepted = ">=0.0.5", installed = "0.0.5" }
+"qemu" = { path = "python/" }
 
 # This test group is for functional tests, and can include dependencies
 # fetched from PyPI.
-- 
2.52.0
Re: [PATCH v5 11/16] meson, mkvenv: add qemu.git/python/qemu package to pythondeps.toml
Posted by Thomas Huth 2 days, 15 hours ago
On 03/02/2026 21.35, John Snow wrote:
> Add the local python package group into pythondeps.toml for the
> tooling This makes qemu.qmp, qemu.machine and qemu.utils
> packages unconditionally available for tests and scripts.
> 
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
>   pythondeps.toml | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/pythondeps.toml b/pythondeps.toml
> index 743e2a8848c..89256132fee 100644
> --- a/pythondeps.toml
> +++ b/pythondeps.toml
> @@ -37,6 +37,7 @@ sphinx_rtd_theme = { accepted = ">=0.5", installed = "1.2.2" }
>   # system packages, or python packages we vendor.
>   [tooling]
>   "qemu.qmp" = { accepted = ">=0.0.5", installed = "0.0.5" }
> +"qemu" = { path = "python/" }

Reviewed-by: Thomas Huth <thuth@redhat.com>
Re: [PATCH v5 11/16] meson, mkvenv: add qemu.git/python/qemu package to pythondeps.toml
Posted by Daniel P. Berrangé 2 days, 20 hours ago
On Tue, Feb 03, 2026 at 03:35:06PM -0500, John Snow wrote:
> Add the local python package group into pythondeps.toml for the
> tooling This makes qemu.qmp, qemu.machine and qemu.utils
> packages unconditionally available for tests and scripts.
> 
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
>  pythondeps.toml | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


Re: [PATCH v5 11/16] meson, mkvenv: add qemu.git/python/qemu package to pythondeps.toml
Posted by Paolo Bonzini 3 days, 8 hours ago
Il mar 3 feb 2026, 21:36 John Snow <jsnow@redhat.com> ha scritto:

> Add the local python package group into pythondeps.toml for the
> tooling This makes qemu.qmp, qemu.machine and qemu.utils
> packages unconditionally available for tests and scripts.
>

Out of curiosity why not add setuptools and wheel to the group, at this
point? Can be done on top of course.

Paolo


> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
>  pythondeps.toml | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/pythondeps.toml b/pythondeps.toml
> index 743e2a8848c..89256132fee 100644
> --- a/pythondeps.toml
> +++ b/pythondeps.toml
> @@ -37,6 +37,7 @@ sphinx_rtd_theme = { accepted = ">=0.5", installed =
> "1.2.2" }
>  # system packages, or python packages we vendor.
>  [tooling]
>  "qemu.qmp" = { accepted = ">=0.0.5", installed = "0.0.5" }
> +"qemu" = { path = "python/" }
>
>  # This test group is for functional tests, and can include dependencies
>  # fetched from PyPI.
> --
> 2.52.0
>
>
Re: [PATCH v5 11/16] meson, mkvenv: add qemu.git/python/qemu package to pythondeps.toml
Posted by John Snow 3 days, 8 hours ago
On Tue, Feb 3, 2026 at 4:08 PM Paolo Bonzini <pbonzini@redhat.com> wrote:
>
>
>
> Il mar 3 feb 2026, 21:36 John Snow <jsnow@redhat.com> ha scritto:
>>
>> Add the local python package group into pythondeps.toml for the
>> tooling This makes qemu.qmp, qemu.machine and qemu.utils
>> packages unconditionally available for tests and scripts.
>
>
> Out of curiosity why not add setuptools and wheel to the group, at this point? Can be done on top of course.

Hm. If we're operating offline, it would only really serve as a
configure check. Online it might actually be a help. I'll do it as a
follow up, I just need to figure out which versions meet our needs and
do testing to choose the accepted values.

>
> Paolo
>
>>
>> Signed-off-by: John Snow <jsnow@redhat.com>
>> ---
>>  pythondeps.toml | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/pythondeps.toml b/pythondeps.toml
>> index 743e2a8848c..89256132fee 100644
>> --- a/pythondeps.toml
>> +++ b/pythondeps.toml
>> @@ -37,6 +37,7 @@ sphinx_rtd_theme = { accepted = ">=0.5", installed = "1.2.2" }
>>  # system packages, or python packages we vendor.
>>  [tooling]
>>  "qemu.qmp" = { accepted = ">=0.0.5", installed = "0.0.5" }
>> +"qemu" = { path = "python/" }
>>
>>  # This test group is for functional tests, and can include dependencies
>>  # fetched from PyPI.
>> --
>> 2.52.0
>>
Re: [PATCH v5 11/16] meson, mkvenv: add qemu.git/python/qemu package to pythondeps.toml
Posted by Paolo Bonzini 2 days, 12 hours ago
On Tue, Feb 3, 2026 at 10:28 PM John Snow <jsnow@redhat.com> wrote:
>
> On Tue, Feb 3, 2026 at 4:08 PM Paolo Bonzini <pbonzini@redhat.com> wrote:
> >
> >
> >
> > Il mar 3 feb 2026, 21:36 John Snow <jsnow@redhat.com> ha scritto:
> >>
> >> Add the local python package group into pythondeps.toml for the
> >> tooling This makes qemu.qmp, qemu.machine and qemu.utils
> >> packages unconditionally available for tests and scripts.
> >
> >
> > Out of curiosity why not add setuptools and wheel to the group, at this point? Can be done on top of course.
>
> Hm. If we're operating offline, it would only really serve as a

s/only/also/ :)

> configure check. Online it might actually be a help. I'll do it as a
> follow up, I just need to figure out which versions meet our needs and
> do testing to choose the accepted values.

Use whatever is in bookworm or 22.04?

Paolo
Re: [PATCH v5 11/16] meson, mkvenv: add qemu.git/python/qemu package to pythondeps.toml
Posted by John Snow 2 days, 12 hours ago
On Wed, Feb 4, 2026, 11:55 AM Paolo Bonzini <pbonzini@redhat.com> wrote:

> On Tue, Feb 3, 2026 at 10:28 PM John Snow <jsnow@redhat.com> wrote:
> >
> > On Tue, Feb 3, 2026 at 4:08 PM Paolo Bonzini <pbonzini@redhat.com>
> wrote:
> > >
> > >
> > >
> > > Il mar 3 feb 2026, 21:36 John Snow <jsnow@redhat.com> ha scritto:
> > >>
> > >> Add the local python package group into pythondeps.toml for the
> > >> tooling This makes qemu.qmp, qemu.machine and qemu.utils
> > >> packages unconditionally available for tests and scripts.
> > >
> > >
> > > Out of curiosity why not add setuptools and wheel to the group, at
> this point? Can be done on top of course.
> >
> > Hm. If we're operating offline, it would only really serve as a
>
> s/only/also/ :)
>
> > configure check. Online it might actually be a help. I'll do it as a
> > follow up, I just need to figure out which versions meet our needs and
> > do testing to choose the accepted values.
>
> Use whatever is in bookworm or 22.04?
>
> Paolo
>

OpenSUSE Leap 15.6 and 22.04 until April

https://gitlab.com/jsnow/repology-dashboard

44.x

--js

>
Re: [PATCH v5 11/16] meson, mkvenv: add qemu.git/python/qemu package to pythondeps.toml
Posted by Paolo Bonzini 2 days, 12 hours ago
On Wed, Feb 4, 2026 at 6:03 PM John Snow <jsnow@redhat.com> wrote:
>> Use whatever is in bookworm or 22.04?
>>
>
> OpenSUSE Leap 15.6 and 22.04 until April

Technically for OpenSUSE we would use py3XX-setuptools;
py310-setuptools in particular is 67.6. But yeah, 22.04 is the oldest
at this point and we might as well pick that one for our accepted
version.

> https://gitlab.com/jsnow/repology-dashboard
>
> 44.x

And 0.42.0 for wheel.

Paolo
Re: [PATCH v5 11/16] meson, mkvenv: add qemu.git/python/qemu package to pythondeps.toml
Posted by Thomas Huth 1 day, 22 hours ago
On 04/02/2026 18.53, Paolo Bonzini wrote:
> On Wed, Feb 4, 2026 at 6:03 PM John Snow <jsnow@redhat.com> wrote:
>>> Use whatever is in bookworm or 22.04?
>>>
>>
>> OpenSUSE Leap 15.6 and 22.04 until April

I don't think we really really have to support OpenSUSE 15 anymore, do we? 
16.0 has been released since a while, and we state that "The project aims to 
support the most recent major version at all times for up to five years 
after its initial release." - and OpenSUSE 15.0 has been released more than 
5 years ago.

> Technically for OpenSUSE we would use py3XX-setuptools;
> py310-setuptools in particular is 67.6. But yeah, 22.04 is the oldest
> at this point and we might as well pick that one for our accepted
> version.
Sounds reasonable. But in case it's causing trouble, 22.04 goes EOL on 
2026-04-25 and the next QEMU release is planned for 2026-04-14, so IMHO 
that's close enough to at least consider to ignore it?

  Thomas