-
-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support jsonschema >= 4.0.0 #1430
Comments
I see the requirements of connexion have been changed with 2.8/2.9 to require |
Thanks for the report @kruegener. This should indeed be fixed since version 2.8. The reason to add the upper bound was exactly to prevent breaking changes in dependencies like this. Now that jsonschema 4 is out, we should fix and test the integration, and then increase the upper limit to the next major version. I'll update this issue to reflect this. |
Is there any progress on this? I'm experiencing this issue currently and have other non connexion related dependencies that require jsonschema >= 4.0.0 preventing me from using jsonschema < 4.0.0 |
With the release of openapi-schema-validator==0.2.0, I've got connexion conflicting with its own dependencies:
|
I temporarily worked around the issue discussed by @alex-zywicki and @ewalshmndt by adding an additional constraint (e.g., |
@jonrkarr Something seems to be off still. This conflicts with the following jsonschema dependency : |
The current version of connexion can be used with openapi-schema-validator <= 0.1.6 because those versions of openapi-schema-validator have compatible version requirements for jsonschema. However, in my experience, pip isn't able to find this version of openapi-schema-validator, unless I add the add the additional requirement |
As stated [here](python-openapi/openapi-schema-validator#31) version 0.2.0 of openapi-schema-validator introduces a dependency conflict with jsonschema. As our dependency is connexion, we should follow [this](spec-first/connexion#1430) issue to be on track with changes.
As stated [here](python-openapi/openapi-schema-validator#31) version 0.2.0 of openapi-schema-validator introduces a dependency conflict with jsonschema. As our dependency is connexion, we should follow [this](spec-first/connexion#1430) issue to be on track with changes.
As stated [here](python-openapi/openapi-schema-validator#31) version 0.2.0 of openapi-schema-validator introduces a dependency conflict with jsonschema. As our dependency is connexion, we should follow [this](spec-first/connexion#1430) issue to be on track with changes.
Description
connexion uses the
_util
part ofjsonschema
package. There was a breaking change in the latest release 4.0 release ofjsonschema
removing thetypes_msg
function.Removal commit: python-jsonschema/jsonschema@00031cb
https://github.com/zalando/connexion/blob/main/connexion/json_schema.py#L64 uses the removed function.
Expected behaviour
Not use missing private function.
Actual behaviour
Uses missing private function.
Steps to reproduce
Install
jsonschema
with version 4.0 and up.Additional info:
Output of the commands:
python --version
: 3.6.10pip show connexion | grep "^Version\:"
: 2.7.0The text was updated successfully, but these errors were encountered: