summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2022-02-18 12:38:48 +0100
committerGitHub <noreply@github.com>2022-02-18 11:38:48 +0000
commit40e256e7aa31a6b90e665b340858abbd3a2999c9 (patch)
tree516ac6feaa7da3ad01a5cbef4d30bfdce5b69baf
parentRemove unstable MSC3283 flags (#12018) (diff)
downloadsynapse-40e256e7aa31a6b90e665b340858abbd3a2999c9.tar.xz
Update the olddeps CI check to use an old version of markupsafe (#12025)
-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 =