Skip to content

Commit 52bfa26

Browse files
committed
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. Conflicts: requirements-test.txt Changes: requirements-text.txt NOTE(stephenfin): The conflict is because we're using a slightly older version of openapi-core here which we don't want to update. We also need to modify the file futher to pin openapi-schema-validator to keep pip happy since openapi-schema-validator 0.2.0 requires jsonschema > 4.0. Signed-off-by: Stephen Finucane <[email protected]>
1 parent d33bc95 commit 52bfa26

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

requirements-test.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,10 @@ sqlparse~=0.4.0
44
python-dateutil~=2.8.0
55
tblib~=1.7.0
66
openapi-core~=0.13.4
7+
# FIXME(stephenfin): We have to pin this to prevent a recurrence of [1]. It
8+
# seems openapi-core needs to gain support for OpenAPI 3.1 before we can fix
9+
# this properly
10+
#
11+
# [1] https://github.com/OAI/OpenAPI-Specification/issues/1368
12+
jsonschema<4.0
13+
openapi-schema-validator<0.2.0

0 commit comments

Comments
 (0)