From 4fc7a26aedb2d5d73c61d56afe2eb347979e8af3 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 17 Mar 2026 08:11:09 -0700 Subject: [PATCH] meson: Fix build break on f43, gentoo, etc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Suggested-by: Marek Olšák Fixes: e1b20bb883d3 ("meson.build: require python 3.10, try python3.12") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/15079 Signed-off-by: Rob Clark Reviewed-by: Marek Olšák Part-of: --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 6283d72d3b5..2ee98300d58 100644 --- a/meson.build +++ b/meson.build @@ -1036,8 +1036,8 @@ endif # - On Windows, a venv has no versioned aliased to 'python'. # - On RHEL 9, python3 is 3.9, so we must use python3.12. python_version_req = '>= 3.10' -python_exec_list = ['python3.16', 'python3.15', 'python3.14', 'python3.13', - 'python3.12', 'python3.11', 'python3.10', 'python3', 'python'] +python_exec_list = ['python3', 'python3.16', 'python3.15', 'python3.14', 'python3.13', + 'python3.12', 'python3.11', 'python3.10', 'python'] foreach p : python_exec_list prog_python = find_program(p, required : false, version : python_version_req)