From 7d7591b37ceaf334050d86e48b55557d56c7b2db Mon Sep 17 00:00:00 2001 From: Ernst Persson Date: Sun, 27 Jul 2025 13:35:26 +0200 Subject: [PATCH] meson: Raise minimum Python version to 3.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Gives access to str.removeprefix and str.removesuffix among other things. Signed-off-by: Ernst Persson Acked-by: Samuel Pitoiset Reviewed-by: Marek Olšák Part-of: --- docs/install.rst | 2 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/install.rst b/docs/install.rst index 22efca4a6c9..7c013f2f54a 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -35,7 +35,7 @@ you're willing to maintain support for other compiler get in touch. Third party/extra tools. ^^^^^^^^^^^^^^^^^^^^^^^^ -- `Python `__ - Python 3.6 or newer is required. +- `Python `__ - Python 3.9 or newer is required. - Python package ``packaging`` is required on Python 3.12+: ``pip install packaging`` - `Python Mako module `__ - Python Mako diff --git a/meson.build b/meson.build index 811c4910897..b32b2150c05 100644 --- a/meson.build +++ b/meson.build @@ -917,7 +917,7 @@ if get_option('allow-kcmp') \ endif # On Windows, a venv has no versioned aliased to 'python'. -prog_python = find_program('python3', 'python', version : '>= 3.8') +prog_python = find_program('python3', 'python', version : '>= 3.9') has_mako = run_command( prog_python, '-c',