From 7ddd0732c27d97fbf36a96c8c3d6bd81cc28ad0f Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 24 Oct 2025 14:06:43 -0700 Subject: dependencies: stop passing "language" as a keyword argument It's allowed in the `DependencyKeywordArguments` TypeDict already, so we now have two sources of truth. Additionally, it's often populated by reading from that dict, so we're just doing useless work. --- mesonbuild/modules/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/modules/python.py') diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py index 78798e5c0..96ba1e0f0 100644 --- a/mesonbuild/modules/python.py +++ b/mesonbuild/modules/python.py @@ -272,7 +272,7 @@ class PythonInstallation(_ExternalProgramHolder['PythonExternalProgram']): new_kwargs['required'] = False if build_config: new_kwargs['build_config'] = build_config - candidates = python_factory(self.interpreter.environment, for_machine, new_kwargs, self.held_object) + candidates = python_factory(self.interpreter.environment, new_kwargs, self.held_object) dep = find_external_dependency('python', self.interpreter.environment, new_kwargs, candidates) self.interpreter.coredata.deps[for_machine].put(identifier, dep) -- cgit v1.2.3