]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
requirements: Pin jsonschema
authorStephen Finucane <stephen@that.guru>
Thu, 28 Oct 2021 10:38:41 +0000 (11:38 +0100)
committerStephen Finucane <stephen@that.guru>
Thu, 28 Oct 2021 10:38:41 +0000 (11:38 +0100)
The new 4.x release of jsonschema has borked our schemas for reasons I
do not yet fully understand (though I have an idea - see inline). Unbork
things now and fix our CI, while we work on a longer-term fix.

Signed-off-by: Stephen Finucane <stephen@that.guru>
requirements-test.txt

index 7f03b0fc8b1278a8b34d97aac83e00ec39f04931..62b33d9affc0c672f534c0a8fed3d2cfde99963c 100644 (file)
@@ -4,3 +4,9 @@ sqlparse~=0.4.0
 python-dateutil~=2.8.0
 tblib~=1.7.0
 openapi-core~=0.14.2
+# FIXME(stephenfin): We have to pin this to prevent a recurrence of [1]. It
+# seems openapi-core needs to gain support for OpenAPI 3.1 before we can fix
+# this properly
+#
+# [1] https://github.com/OAI/OpenAPI-Specification/issues/1368
+jsonschema<4.0