Bump upperbound version for jsonschema to 5.0.0 (#1447)

* Drop usage of private jsonschema modules

* Bump upper boundry for jsonschema version to 5.0.0

* Create validate_defaults function by passing in the instance_validator

The instance_validator was previously set as an attribute on the
OpenApiValidator. However with the jsonschema upgrade to 4.0.0, this
attribute is no longer maintained while descending into the spec.
Presumably because jsonschema now relies on attrs.resolve.
This commit is contained in:
Robbe Sneyders
2022-01-29 20:30:56 +01:00
committed by GitHub
parent 425d5d551b
commit 86af42d6b9
3 changed files with 43 additions and 41 deletions

View File

@@ -21,7 +21,7 @@ version = read_version('connexion')
install_requires = [
'clickclick>=1.2,<21',
'jsonschema>=2.5.1,<4',
'jsonschema>=2.5.1,<5',
'PyYAML>=5.1,<6',
'requests>=2.9.1,<3',
'inflection>=0.3.1,<0.6',