From 7111868a8eb1b05cb44f102d06c5c3cefd945c30 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Mon, 18 Apr 2022 12:44:18 -0600 Subject: jinja breaking changes oops --- build.py | 3 ++- requirements.txt | 11 ++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/build.py b/build.py index 72f6006..97dccbf 100644 --- a/build.py +++ b/build.py @@ -5,7 +5,8 @@ import re import shutil import typing -from jinja2 import Environment, FileSystemLoader, Markup, StrictUndefined, Template, select_autoescape +from jinja2 import Environment, FileSystemLoader, StrictUndefined, Template, select_autoescape +from markupsafe import Markup from md2gemini import md2gemini import mistune import mistune_contrib.highlight diff --git a/requirements.txt b/requirements.txt index 1386d73..05bfc64 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ -Jinja2 -md2gemini -mistune>=2.0.0a5,<3 -mistune-contrib -Pygments +Jinja2 ~= 3.1.1 +MarkupSafe +md2gemini ~= 1.9.0 +mistune ~= 2.0.2 +mistune-contrib ~= 0.1 +Pygments ~= 2.11.2 -- cgit v1.2.3