From 8b927054404516150f14bb94d05d2163b4ae8f5c Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 28 Oct 2021 11:38:41 +0100 Subject: [PATCH] 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 --- requirements-test.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.47.3