From 33eb63b157ab605704a4a80b67baebf8504fcb03 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Fri, 25 Mar 2022 14:26:08 +0100 Subject: [PATCH] Remove now-built-in jinja2>=3.1.0 extensions --- website/setup/jinja_to_js.py | 1 - website/setup/requirements.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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