Hi Stefan,
On 13/8/24 13:36, Stefan Weil via wrote:
> Hi,
>
> I just saw that the documentation still mentions that QEMU supports
> Python 3.7.
Oops.
Oops indeed, we just missed a spot. My apologies.
> Python 3.7 is an unsupported Python version since about one year.
> Therefore I suggest to update the documentation for QEMU 9.1.0 and
> replace 3.7 by 3.8 as lowest supported version.
Indeed, we dropped support for Python 3.7 one year ago, in commit
ca056f4499 (May 3, 2023):
Our supported build platforms as of today all support at
least 3.8 [...]
Since it is safe under our supported platform policy, bump our
minimum supported version of Python to 3.8.
> In addition the code which still mentions Python 3.7 or even 3.5 and 3.6
> could be reviewed and maybe simplified, but I think this is less urgent
> and can be done after QEMU release 9.1.0.
>
> Regards
> Stefan W.
>
> $ git grep -i python.*3.7
> docs/about/build-platforms.rst: As of QEMU |version|, the minimum
> supported version of Python is 3.7.
> python/qemu/qmp/util.py:Python 3.7+.
> scripts/qapi/introspect.py: # TODO: Remove after Python 3.7 adds
> @dataclass:
> scripts/qapi/source.py: # Replace with @dataclass in Python 3.7+
> tests/qapi-schema/test-qapi.py: # dict (requires Python 3.7)
>
And this is harmless; but I'll send a patch to update it. I *did* forget.
Thanks,
~~js