diff --git a/website/setup/jinja_to_js.py b/website/setup/jinja_to_js.py index e2eca7ffb..3e1963ff7 100644 --- a/website/setup/jinja_to_js.py +++ b/website/setup/jinja_to_js.py @@ -206,7 +206,6 @@ class JinjaToJS(object): self.environment = Environment( loader=FileSystemLoader(template_root), autoescape=True, - extensions=["jinja2.ext.with_", "jinja2.ext.autoescape"], ) self.output = StringIO() self.stored_names = set() diff --git a/website/setup/requirements.txt b/website/setup/requirements.txt index e7a8e65a7..cbd306cc3 100644 --- a/website/setup/requirements.txt +++ b/website/setup/requirements.txt @@ -1,3 +1,3 @@ # These are used to compile the training quickstart config -jinja2 +jinja2>=3.1.0 srsly