From 11b94b425bc5d4db5a0fd01423162eb4c5b3a62c Mon Sep 17 00:00:00 2001 From: "Robert P. Cope" Date: Wed, 15 Dec 2021 13:59:04 -0700 Subject: [PATCH] Schema validation with bravado-core causes "RefResolutionError" when used with newer versions of jsonschema (4.0.0+); this seems to be a problem with jsonschema itself (https://github.com/Julian/jsonschema/issues/847). This commit pins jsonschema to the last known compatible version for bravado-core until the upstream issue is addressed. --- README.rst | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index f4b90319..827776d1 100644 --- a/README.rst +++ b/README.rst @@ -47,6 +47,7 @@ Related Projects * `bravado `__ * `pyramid-swagger `__ * `swagger-spec-validator `__ +* `bottle-swagger-2 `__ Development =========== diff --git a/setup.py b/setup.py index e4fef594..5fc859a8 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ import bravado_core install_requires = [ - "jsonref", + "jsonref<=3.2.0", "jsonschema[format]>=2.5.1", "python-dateutil", "pyyaml",