qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drop support for Python 3.7?


From: John Snow
Subject: Re: Drop support for Python 3.7?
Date: Tue, 13 Aug 2024 07:58:35 -0400



On Tue, Aug 13, 2024, 7:54 AM Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]