qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] qapi: Clean up for Python 3.8
@ 2025-02-27  8:07 Markus Armbruster
  2025-02-27  8:07 ` [PATCH 1/3] docs/about/build-platforms: Correct minimum supported Python version Markus Armbruster
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Markus Armbruster @ 2025-02-27  8:07 UTC (permalink / raw)
  To: qemu-devel; +Cc: michael.roth, jsnow

The QAPI code generator code still contains a few minor oddities to
make it work with versions of Python we no longer support.  Bury them.

I'm leaving two things for later because I don't know what to do about
them:

* scripts/qapi/source.py has a "Replace with @dataclass in Python
  3.7+" comment.

* scripts/qapi/introspect.py has a "Python 3.6 does not offer
  TypedDict constructs" comment.

While there, fix a missing version bump in build dependency
documentation.

Markus Armbruster (3):
  docs/about/build-platforms: Correct minimum supported Python version
  qapi: Eliminate OrderedDict
  qapi/introspect: Use @dataclass to simplify

 docs/about/build-platforms.rst |  2 +-
 scripts/qapi/introspect.py     | 12 +++++-------
 scripts/qapi/parser.py         |  5 ++---
 scripts/qapi/schema.py         | 11 +++++------
 tests/qapi-schema/test-qapi.py | 11 +----------
 5 files changed, 14 insertions(+), 27 deletions(-)

-- 
2.48.1



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

end of thread, other threads:[~2025-02-27  9:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27  8:07 [PATCH 0/3] qapi: Clean up for Python 3.8 Markus Armbruster
2025-02-27  8:07 ` [PATCH 1/3] docs/about/build-platforms: Correct minimum supported Python version Markus Armbruster
2025-02-27  9:04   ` Daniel P. Berrangé
2025-02-27  8:07 ` [PATCH 2/3] qapi: Eliminate OrderedDict Markus Armbruster
2025-02-27  9:07   ` Daniel P. Berrangé
2025-02-27  8:07 ` [PATCH 3/3] qapi/introspect: Use @dataclass to simplify Markus Armbruster
2025-02-27  9:09   ` Daniel P. Berrangé

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