Project

Profile

Help

Issue #3712

pulp3 packages should not pin pulp dependencies

Added by bizhang over 1 year ago. Updated 6 months ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

Currently we are pinning the pulpcore and pulpcore-common dependencies.
E.g. pulpcore-plugin has its pulpcore dependency pinned to pulpcore==3.0.0b3 [0]

This introduces problems when we are doing a dev install. The packages are not lockstepped
so when pulpcore is updated to 3.0.0b4 the dev install overrides the editable install of pulpcore with the 3.0.0b3 version on PyPI.

When GA is released we can pin dependencies with ~=, but unfortunately this is not possible for beta releases.
I think if plugins do not want to risk breakage they should for now, pin both the pulpcore-plugin and pulpcore version in the individual plugin, and we should get rid of the pinned pulp dependencies in pulpcore, and pulpcore-plugin for now.

[0] https://github.com/pulp/pulp/blob/3.0-dev/plugin/setup.py#L4

Associated revisions

Revision 21ad8fe7 View on GitHub
Added by dalley over 1 year ago

Fix dependencies for source installation

pulpcore is currently at 3.0.0b4, pulpcore-plugin requires 3.0.0b3,
so the editable installation fails and it falls back to installing from
PyPI. So the developer installation will not actually be a developer
installation.

closes #3712
https://pulp.plan.io/issues/3712

Revision 21ad8fe7 View on GitHub
Added by dalley over 1 year ago

Fix dependencies for source installation

pulpcore is currently at 3.0.0b4, pulpcore-plugin requires 3.0.0b3,
so the editable installation fails and it falls back to installing from
PyPI. So the developer installation will not actually be a developer
installation.

closes #3712
https://pulp.plan.io/issues/3712

Revision 21ad8fe7 View on GitHub
Added by dalley over 1 year ago

Fix dependencies for source installation

pulpcore is currently at 3.0.0b4, pulpcore-plugin requires 3.0.0b3,
so the editable installation fails and it falls back to installing from
PyPI. So the developer installation will not actually be a developer
installation.

closes #3712
https://pulp.plan.io/issues/3712

History

#1 Updated by dalley over 1 year ago

  • Status changed from NEW to POST
  • Assignee set to dalley

#2 Updated by dalley over 1 year ago

  • Status changed from POST to MODIFIED

#3 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#4 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF