From 688b4bac767f0a02af125febd49a0e0c5a2fe01e Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 27 Dec 2021 17:36:44 -0500 Subject: add FeatureNew decorators for various modules that were lacking them Going back to 0.38, though some of them are far older. The original implementation of FeatureNew only added backdated feature checks that far, anyway. --- mesonbuild/modules/python3.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mesonbuild/modules/python3.py') diff --git a/mesonbuild/modules/python3.py b/mesonbuild/modules/python3.py index dc1f7c7..f7600e2 100644 --- a/mesonbuild/modules/python3.py +++ b/mesonbuild/modules/python3.py @@ -16,12 +16,13 @@ import sysconfig from .. import mesonlib from . import ExtensionModule -from ..interpreterbase import noKwargs, permittedKwargs, FeatureDeprecated +from ..interpreterbase import noKwargs, permittedKwargs, FeatureDeprecated, FeatureNew from ..build import known_shmod_kwargs from ..programs import ExternalProgram class Python3Module(ExtensionModule): + @FeatureNew('python3 module', '0.38.0') @FeatureDeprecated('python3 module', '0.48.0') def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) -- cgit v1.1