From 276063a1d2132940ec4a93623f1a5d01266bcd80 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sat, 28 Aug 2021 22:52:13 -0400 Subject: Add missing "disabler" kwarg to python.dependency() There is a unit test using it and now fails because the warning about unknown kwarg became fatal. --- mesonbuild/modules/python.py | 1 + 1 file changed, 1 insertion(+) (limited to 'mesonbuild/modules/python.py') diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py index d03f951..f25957d 100644 --- a/mesonbuild/modules/python.py +++ b/mesonbuild/modules/python.py @@ -458,6 +458,7 @@ class PythonInstallation(ExternalProgramHolder): return self.interpreter.func_shared_module(None, args, kwargs) + @disablerIfNotFound @permittedKwargs(permitted_dependency_kwargs | {'embed'}) @FeatureNewKwargs('python_installation.dependency', '0.53.0', ['embed']) @noPosargs -- cgit v1.1