From 5330926d0d52990d0954f2a0a46cd86fd6fab9ac Mon Sep 17 00:00:00 2001 From: Lazlo Westerhof Date: Fri, 20 Dec 2024 15:39:27 +0100 Subject: [PATCH] Jinja2: update to v3.1.4 --- json_landing_page.py | 3 +-- requirements.txt | 9 ++++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/json_landing_page.py b/json_landing_page.py index d12cedfca..d735aa73d 100644 --- a/json_landing_page.py +++ b/json_landing_page.py @@ -73,8 +73,7 @@ def json_landing_page_create_json_landing_page(ctx: rule.Context, template = data_object.read(ctx, landingpage_template_path) # Enable autoescaping for all templates. - # NOTE: autoescape is no longer an extension starting in jinja 2.9 (2017). - Template = jinja2.Environment(autoescape=True, extensions=["jinja2.ext.autoescape"]).from_string + Template = jinja2.Environment(autoescape=True).from_string # Pre work input for render process. # When empty landing page, take a short cut diff --git a/requirements.txt b/requirements.txt index c701aa3ed..f95c91f3e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ setuptools==75.6.0 -MarkupSafe==1.1.1 -Jinja2==2.11.3 -requests==2.25.1 +MarkupSafe==3.0.2 +Jinja2==3.1.4 +requests==2.32.3 pyrsistent==0.15.7 configparser==4.0.2 contextlib2==0.6.0.post1 @@ -12,10 +12,9 @@ requests_cache==0.5.2 irods-avu-json==2.2.0 python-dateutil==2.7.0 python-magic==0.4.27 -certifi==2021.10.8 deepdiff==8.0.1 persist-queue==0.8.1 redis==3.5.3 -psutil==5.9.6 +psutil==6.1.1 iteration_utilities==0.8.0 rotki-pysqlcipher3==2024.10.1