aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2022-04-18 12:44:18 -0600
committerMelody Horn <melody@boringcactus.com>2022-04-18 12:44:18 -0600
commit7111868a8eb1b05cb44f102d06c5c3cefd945c30 (patch)
treee0908906ef82d27d20d38c6ac041004edbb0ecd8
parentf0d77f2f27d1000808988464410aabdcb529b97a (diff)
downloadcactus-ssg-main.tar.gz
cactus-ssg-main.zip
jinja breaking changes oopsHEADmain
-rw-r--r--build.py3
-rw-r--r--requirements.txt11
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