From 9158f4165f748bbf2f346dee0941f28d26392bdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8D=C3=B1igo=20Huguet?= Date: Tue, 2 Apr 2024 16:59:13 +0200 Subject: [PATCH] meson: replace deprecated module 'python3' Replaced by 'python' module: https://mesonbuild.com/Python-3-module.html. This get rids of the following deprecation warning: NOTICE: Future-deprecated features used: * 0.48.0: {'module python3'} --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index df56249a79..886f4609e8 100644 --- a/meson.build +++ b/meson.build @@ -875,8 +875,8 @@ test_args = [ '--launch-dbus=auto', ] -py3 = import('python3') -python = py3.find_python() +python_mod = import('python') +python = python_mod.find_installation('python3', required: false) if python.found() config_h.set_quoted('TEST_NM_PYTHON', python.path())