qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] python: first step towards Python 3.12 support
@ 2023-07-05 11:25 Paolo Bonzini
  2023-07-05 11:25 ` [PATCH 1/2] python: work around mypy false positive Paolo Bonzini
  2023-07-05 11:25 ` [PATCH 2/2] python: bump minimum requirements so they are compatible with 3.12 Paolo Bonzini
  0 siblings, 2 replies; 3+ messages in thread
From: Paolo Bonzini @ 2023-07-05 11:25 UTC (permalink / raw)
  To: qemu-devel; +Cc: jsnow

The Python 3.12 situation is a mess, with both flake8 and pylint giving
false positives that do not happen with Python 3.11.  As a first step
towards understanding these issues, drop support for old linter versions
that do not work with it.  This at least makes it possible to install
easily the same versions of the linters on any version of Python, and
put the blame on the interpreter.

Paolo

Paolo Bonzini (2):
  python: work around mypy false positive
  python: bump minimum requirements so they are compatible with 3.12

 python/qemu/qmp/qmp_tui.py | 3 ++-
 python/setup.cfg           | 2 +-
 python/tests/minreqs.txt   | 9 ++++-----
 3 files changed, 7 insertions(+), 7 deletions(-)

-- 
2.41.0



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-05 11:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-05 11:25 [PATCH 0/2] python: first step towards Python 3.12 support Paolo Bonzini
2023-07-05 11:25 ` [PATCH 1/2] python: work around mypy false positive Paolo Bonzini
2023-07-05 11:25 ` [PATCH 2/2] python: bump minimum requirements so they are compatible with 3.12 Paolo Bonzini

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).