From: Stephen Finucane Date: Thu, 28 Oct 2021 10:38:41 +0000 (+0100) Subject: requirements: Pin jsonschema X-Git-Tag: v3.1.0~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b927054404516150f14bb94d05d2163b4ae8f5c;p=thirdparty%2Fpatchwork.git requirements: Pin jsonschema 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 --- diff --git a/requirements-test.txt b/requirements-test.txt index 7f03b0fc..62b33d9a 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -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