mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-30 05:15:33 +00:00
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:
parent
9d9e5bd6c1
commit
9158f4165f
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue