[PATCH 0/3] Python: fix tests

John Snow posted 3 patches 1 day, 14 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251118200657.1043688-1-jsnow@redhat.com
Maintainers: John Snow <jsnow@redhat.com>, Cleber Rosa <crosa@redhat.com>, Markus Armbruster <armbru@redhat.com>, Michael Roth <michael.roth@amd.com>
python/scripts/mkvenv.py   | 24 ++++++++++++++++--------
python/setup.cfg           |  1 +
scripts/qapi/commands.py   |  5 +----
scripts/qapi/introspect.py |  2 +-
4 files changed, 19 insertions(+), 13 deletions(-)
[PATCH 0/3] Python: fix tests
Posted by John Snow 1 day, 14 hours ago
Whack some minor annoyances down to make the tests green again. Fixes
both minreqs and the optional check-tox.

John Snow (3):
  python/mkvenv: ensure HAVE_LIB variables are actually constants
  python/qapi: add an ignore for Pylint 4.x
  python/qapi: delint import statements

 python/scripts/mkvenv.py   | 24 ++++++++++++++++--------
 python/setup.cfg           |  1 +
 scripts/qapi/commands.py   |  5 +----
 scripts/qapi/introspect.py |  2 +-
 4 files changed, 19 insertions(+), 13 deletions(-)

-- 
2.51.1

Re: [PATCH 0/3] Python: fix tests
Posted by Philippe Mathieu-Daudé 23 hours ago
On 18/11/25 21:06, John Snow wrote:
> Whack some minor annoyances down to make the tests green again. Fixes
> both minreqs and the optional check-tox.
> 
> John Snow (3):
>    python/mkvenv: ensure HAVE_LIB variables are actually constants
>    python/qapi: add an ignore for Pylint 4.x
>    python/qapi: delint import statements
> 
>   python/scripts/mkvenv.py   | 24 ++++++++++++++++--------
>   python/setup.cfg           |  1 +
>   scripts/qapi/commands.py   |  5 +----
>   scripts/qapi/introspect.py |  2 +-
>   4 files changed, 19 insertions(+), 13 deletions(-)
> 

FTR, per 
https://lore.kernel.org/qemu-devel/20251117185131.953681-1-jsnow@redhat.com/ 
reviews:
Reviewed-by: Thomas Huth <thuth@redhat.com>
Re: [PATCH 0/3] Python: fix tests
Posted by Richard Henderson 22 hours ago
On 11/19/25 12:30, Philippe Mathieu-Daudé wrote:
> On 18/11/25 21:06, John Snow wrote:
>> Whack some minor annoyances down to make the tests green again. Fixes
>> both minreqs and the optional check-tox.
>>
>> John Snow (3):
>>    python/mkvenv: ensure HAVE_LIB variables are actually constants
>>    python/qapi: add an ignore for Pylint 4.x
>>    python/qapi: delint import statements
>>
>>   python/scripts/mkvenv.py   | 24 ++++++++++++++++--------
>>   python/setup.cfg           |  1 +
>>   scripts/qapi/commands.py   |  5 +----
>>   scripts/qapi/introspect.py |  2 +-
>>   4 files changed, 19 insertions(+), 13 deletions(-)

Thanks, John.  I am applying this series to master as a build fix, being the last 
non-flaky failure we have right now.

> FTR, per https://lore.kernel.org/qemu-devel/20251117185131.953681-1-jsnow@redhat.com/ 
> reviews:
> Reviewed-by: Thomas Huth <thuth@redhat.com>

Also, kudos to b4 shazam, which picked up Thomas' r-b automatically.  :-)


r~