Project

Profile

Help

Issue #3712

pulp3 packages should not pin pulp dependencies

Added by bizhang over 2 years ago. Updated about 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

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 2 years 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 2 years 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 2 years ago

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

#2 Updated by dalley over 2 years ago

  • Status changed from POST to MODIFIED

#3 Updated by daviddavis over 1 year ago

  • Sprint/Milestone set to 3.0.0

#4 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

#5 Updated by bmbouter about 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF