diff --git a/conda_build/exceptions.py b/conda_build/exceptions.py index c815b401a7..e8f51137e8 100644 --- a/conda_build/exceptions.py +++ b/conda_build/exceptions.py @@ -4,6 +4,8 @@ from conda import CondaError +from .deprecations import deprecated + SEPARATOR = "-" * 70 indent = lambda s: textwrap.fill(textwrap.dedent(s)) @@ -44,6 +46,7 @@ def indented_exception(self): return f"Error Message:\n--> {indent(orig)}\n\n" +@deprecated("24.11", "25.1") class UnableToParseMissingJinja2(UnableToParse): def error_body(self): return "\n".join(