Skip to content
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

pip error about jsonschema version #997

Closed
janosh opened this issue Mar 15, 2022 · 2 comments · Fixed by #998
Closed

pip error about jsonschema version #997

janosh opened this issue Mar 15, 2022 · 2 comments · Fixed by #998
Assignees

Comments

@janosh
Copy link
Member

janosh commented Mar 15, 2022

pip complains:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
mpcontribs-client 4.2.9 requires jsonschema<4.0, but you have jsonschema 4.4.0 which is incompatible.

Is the pinning actually necessary?

"jsonschema<4.0",

@tschaume
Copy link
Member

It used to be necessary: Yelp/swagger_spec_validator#149 but might not be any longer. I'll test tomorrow and release a new version if needed.

@tschaume
Copy link
Member

I remember now why I had to keep jsonschema pinned to <4.0 despite Yelp/swagger_spec_validator#149 being fixed via Yelp/swagger_spec_validator#146 in swagger_spec_validator==2.7.4 now. As part of version 2.7.4 they also shipped an update on enforcing unique operation IDs (see Yelp/swagger_spec_validator#85). I will have to change the swagger specs for the MPContribs API accordingly before I can bump up swagger_spec_validator and with it jsonschema. I've started PR #998 for it.

@tschaume tschaume linked a pull request Mar 15, 2022 that will close this issue
@tschaume tschaume self-assigned this Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants