aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter/interpreter.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-01-26 19:53:20 -0500
committerDylan Baker <dylan@pnwbakers.com>2022-01-27 13:01:48 -0800
commitfa4f96427a02b3b52499c3f38a6982d0230c147b (patch)
tree53d68b309e429c98f9faab17cf40557045e7ad80 /mesonbuild/interpreter/interpreter.py
parent7e0004d8cf895237f4fb0ccc725fcbc2eccff966 (diff)
downloadmeson-fa4f96427a02b3b52499c3f38a6982d0230c147b.zip
meson-fa4f96427a02b3b52499c3f38a6982d0230c147b.tar.gz
meson-fa4f96427a02b3b52499c3f38a6982d0230c147b.tar.bz2
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.
Diffstat (limited to 'mesonbuild/interpreter/interpreter.py')
-rw-r--r--mesonbuild/interpreter/interpreter.py2
1 files changed, 0 insertions, 2 deletions
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: