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'}
This commit is contained in:
Íñigo Huguet 2024-04-02 16:59:13 +02:00 committed by Íñigo Huguet
parent 9d9e5bd6c1
commit 9158f4165f

View file

@ -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())