summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/12025.misc1
-rw-r--r--tox.ini3
2 files changed, 4 insertions, 0 deletions
diff --git a/changelog.d/12025.misc b/changelog.d/12025.misc
new file mode 100644
index 0000000000..d9475a7718
--- /dev/null
+++ b/changelog.d/12025.misc
@@ -0,0 +1 @@
+Update the `olddeps` CI job to use an old version of `markupsafe`.
diff --git a/tox.ini b/tox.ini
index 2b3d39e034..41678aa38b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -124,6 +124,9 @@ usedevelop = false
 deps =
     Automat == 0.8.0
     lxml
+    # markupsafe 2.1 introduced a change that breaks Jinja 2.x. Since we depend on
+    # Jinja >= 2.9, it means this test suite will fail if markupsafe >= 2.1 is installed.
+    markupsafe < 2.1
     {[base]deps}
 
 commands =