From 63b3d0a041365a491806aa5d7170a56f33cf77bd Mon Sep 17 00:00:00 2001 From: Tristan Partin Date: Tue, 15 Nov 2022 18:19:28 -0600 Subject: Change the warning generated by importing an unstable module to non-fatal Penalizing users for helping to test unstable modules really makes no sense. As a fatal warning, users can no longer use `--fatal-meson-warnings`. --- mesonbuild/interpreter/interpreter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index 0bab57e..adcd509 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -664,7 +664,7 @@ class Interpreter(InterpreterBase, HoldableObject): raise InvalidArguments(f'Module "{ext_module.INFO.name}" has not been stabilized, and must be imported as unstable-{ext_module.INFO.name}') ext_module = NotFoundExtensionModule(real_modname) else: - mlog.warning(f'Module {ext_module.INFO.name} has no backwards or forwards compatibility and might not exist in future releases.', location=node) + mlog.warning(f'Module {ext_module.INFO.name} has no backwards or forwards compatibility and might not exist in future releases.', location=node, fatal=False) self.modules[real_modname] = ext_module return ext_module -- cgit v1.1