-
Notifications
You must be signed in to change notification settings - Fork 45
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
Problem with jsonchema dependency on pulp-container 2.14 #1083
Comments
This is a duplicate of #772. |
not duplicate, it happened again! |
@Odilhao I see the discrepancy you're pointing out, however best what we can do is write guidelines on how to declare dependencies https://github.com/pulp/pulpcore/blob/main/docs/plugins/plugin-writer/concepts/index.rst#declaring-dependencies . Some plugins are out of our control so we cannot ensure every plugin uses same dep.version.
Do you see a different behavior? |
This is the behavior that I expect, I already did a PR last week to publish the rpms. theforeman/pulpcore-packaging#587 I saw that we are pining cryptography, can we keep that one without a version pin? AFAIK we ship one old stable version that don't need rust, it's 3.x I think. |
Have you seen these changes? Given that you opened this issue, that is your expectation of the fix? Based on my comment - I do not see any current problem with dependencies. |
I am unsure what is required to be done in this request, unassigning. |
pulp_container needs to stop using ~= in the requirements.txt. |
In the next release we will switch to |
2.14.2 is out |
pulp_ansible has been updated to use jsonschema up to v4.17 (required by ansible-lint v6.8.7, which is a dependency for galaxy_importer v0.4.6). The current pulp_container requirement of jsonschema <4.17 will cause errors when installing together with pulp_ansible. |
@tjmullicani thanks for pointing out. the jsonschema dep was updated on the main brain of pulp_ansible, we will make sure that main brain of pulp_container includes 3.17 |
Version
Pulpcore 3.21
pulp_container 2.14
Describe the bug
The jsonschema version required by pulp_container conflicts with the version required by pulp-ansible
pulp-container requires ~=4.4
Pulp-ansible requires >=4.9,<4.10
This also conflicts with pulp-rpm that requires jsonschema~=4.6
To Reproduce
I'm branching the rpm packages for 3.21, it's not reproducible yet.
Expected behavior
All packages to have at least the same jsonchema version as dependency or having a more flexible dependency requirement.
Additional context
https://github.com/pulp/pulp_container/blob/2.14.0/requirements.txt#L6
https://github.com/pulp/pulp_rpm/blob/3.18.3/requirements.txt#L3
https://github.com/pulp/pulp_ansible/blob/0.15.0/requirements.txt#L4
The text was updated successfully, but these errors were encountered: