From fa4f96427a02b3b52499c3f38a6982d0230c147b Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Wed, 26 Jan 2022 19:53:20 -0500 Subject: remove incorrect deprecated feature for vcs_tag In commit 06481666f4e74ecef01e59351fc345ab0962d998 this warning got moved from build.py to the interpreter. Unfortunately it got added to the wrong function... it is supposed to be part of custom_target and even mentions this as the feature_name. Since then, build_always became a KwargInfo and has the deprecated-since attribute baked into it. But it didn't have the additional message which it really should have. Add that message at the same time we remove it from vcs_tag. --- mesonbuild/interpreter/interpreter.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'mesonbuild/interpreter/interpreter.py') diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index 20e1902..28601b9 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -1663,8 +1663,6 @@ external dependencies (including libraries) must go to "dependencies".''') raise InterpreterException('Unknown target_type.') @permittedKwargs({'input', 'output', 'fallback', 'command', 'replace_string'}) - @FeatureDeprecatedKwargs('custom_target', '0.47.0', ['build_always'], - 'combine build_by_default and build_always_stale instead.') @noPosargs def func_vcs_tag(self, node, args, kwargs): if 'input' not in kwargs or 'output' not in kwargs: -- cgit v1.1