From 88138bf4401ffbb8ed74bd47203b9b0debe3fd28 Mon Sep 17 00:00:00 2001 From: peppelinux Date: Sun, 27 Mar 2022 19:21:25 +0200 Subject: [PATCH] fix: Jinja2 3.0.1 dep --- src/spid_sp_test/__init__.py | 2 +- src/spid_sp_test/response.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/spid_sp_test/__init__.py b/src/spid_sp_test/__init__.py index 7d57bcd..b608805 100644 --- a/src/spid_sp_test/__init__.py +++ b/src/spid_sp_test/__init__.py @@ -6,7 +6,7 @@ BASE_DIR = Path(__file__).resolve().parent -__version__ = "1.1.4" +__version__ = "1.1.5" __name__ = "spid_sp_test" logger = logging.getLogger(__name__) diff --git a/src/spid_sp_test/response.py b/src/spid_sp_test/response.py index 1fb2d2b..2cd2634 100644 --- a/src/spid_sp_test/response.py +++ b/src/spid_sp_test/response.py @@ -11,7 +11,9 @@ from copy import deepcopy -from jinja2 import Environment, Markup, FileSystemLoader, Template, select_autoescape +from jinja2 import Environment, FileSystemLoader, Template, select_autoescape +from markupsafe import Markup + from lxml import etree from saml2.sigver import CryptoBackendXmlSec1, XmlsecError