Project

Profile

Help

Issue #4562

closed

Source installs should fail if a plugin requires a newer version of pulpcore-plugin or pulpcore than is checked out

Added by amacdona@redhat.com over 5 years ago. Updated about 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Dev Environment
Sprint:
Quarter:

Description

This occurs when:
- A plugin is being installed
- pulpcore-plugin is being installed from source
- the plugin requires version X of pulpcore-plugin
- checked out pulpcore-plugin is older than X

When these factors are all true, pulpcore-plugin is installed from PyPI, which is surprising. If pulp_plugin_source_dir is set, and pulpcore-plugin is installed during the plugin installation, the installer should raise an error.

An alternate implementation could be to check the requirements of each plugin early in the installation. If they are not compatible, it could fail quickly.


Related issues

Related to Pulp - Issue #4794: Pulp handles incompatible plugins poorlyCLOSED - CURRENTRELEASEdkliban@redhat.comActions

Also available in: Atom PDF