Project

Profile

Help

Issue #6689

Story #6688: pulp_installer: preflight check and system-wide packages are incompatible

pre-flight check errors when a package is installed system-wide at a version that is not available on PyPI

Added by mdepaulo@redhat.com over 1 year ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
Installer - Moved to GitHub issues
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

This happens for old pulp_rpm prereqs.

This is a regression implemented in the referenced issue's fix.

We should workaround this as best as possible for now, until system-wide packages are disabled altogether, by at least not enumerating the system-wide packages in the pre-flight check's current-state requirements.txt

re: #6642 pre-flight check does not analyze older pulp 3 installs properly https://pulp.plan.io/issues/6642


Related issues

Related to Pulp - Issue #6642: pre-flight check does not check older pulp 3 installs properlyCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 37aab669 View on GitHub
Added by Mike DePaulo over 1 year ago

Problem: pre-flight check errors when a package is installed

system-wide at a version that is not available on PyPI, and

This happens for old pulp_rpm prereqs.

This is a regression implemented in the referenced issue's fix.

Solution: Have pip freeze not list system-site packages. pip-compile will fail if compatible packages are not available on PyPI. However, they are, and Pulp does not rely on system-site packages anymore.

This makes the check behave like before the referenced issue's fix.

fixes: #6689 pre-flight check errors when a package is installed system-wide at a version that is not available on PyPI https://pulp.plan.io/issues/6689

re: #6642 pre-flight check does not analyze older pulp 3 installs properly https://pulp.plan.io/issues/6642

Revision 37aab669 View on GitHub
Added by Mike DePaulo over 1 year ago

Problem: pre-flight check errors when a package is installed

system-wide at a version that is not available on PyPI, and

This happens for old pulp_rpm prereqs.

This is a regression implemented in the referenced issue's fix.

Solution: Have pip freeze not list system-site packages. pip-compile will fail if compatible packages are not available on PyPI. However, they are, and Pulp does not rely on system-site packages anymore.

This makes the check behave like before the referenced issue's fix.

fixes: #6689 pre-flight check errors when a package is installed system-wide at a version that is not available on PyPI https://pulp.plan.io/issues/6689

re: #6642 pre-flight check does not analyze older pulp 3 installs properly https://pulp.plan.io/issues/6642

History

#1 Updated by mdepaulo@redhat.com over 1 year ago

  • Related to Issue #6642: pre-flight check does not check older pulp 3 installs properly added

#2 Updated by Anonymous over 1 year ago

  • Status changed from NEW to MODIFIED

#3 Updated by bmbouter over 1 year ago

  • Category set to Installer - Moved to GitHub issues
  • Tags deleted (Pulp 3 installer)

#4 Updated by dkliban@redhat.com over 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF