From e8736828d2d83e8fa6a2b6e9e6c9211116521a52 Mon Sep 17 00:00:00 2001 From: David Spickett Date: Tue, 7 Oct 2025 11:21:15 +0100 Subject: [PATCH] Pin Jinja2 to 2.11.3 8fc27f472c22fe64a838e4e6cc9421996c4fb2c1 pinned MarkupSafe to 1.1.1, which lead to this error on our buildbots that are using Python 3.10 to run the lnt client: error: MarkupSafe 1.1.1 is installed but MarkupSafe>=2.0 is required by {'Jinja2'} Jinja2 2.11.3 is the last version that will work with that version of MarkupSafe: https://github.com/pallets/jinja/blob/2.11.3/setup.py The 3.x series moved to >= 2.0.0: https://github.com/pallets/jinja/blob/3.0.0rc1/setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 443bf653..b508ee40 100644 --- a/setup.py +++ b/setup.py @@ -119,7 +119,7 @@ "aniso8601==1.2.0", "Flask==0.12.2", "Flask-RESTful==0.3.4", - "Jinja2", + "Jinja2==2.11.3", "MarkupSafe==1.1.1", "SQLAlchemy==1.3.24", "Werkzeug==0.15.6",