Project

Profile

Help

Issue #6689

closed

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 almost 4 years ago. Updated almost 4 years 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 - CURRENTRELEASEmdepaulo@redhat.comActions
Actions #1

Updated by mdepaulo@redhat.com almost 4 years ago

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

Added by Mike DePaulo almost 4 years ago

Revision 37aab669 | View on GitHub

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

Added by Mike DePaulo almost 4 years ago

Revision 37aab669 | View on GitHub

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

Actions #2

Updated by Anonymous almost 4 years ago

  • Status changed from NEW to MODIFIED
Actions #3

Updated by bmbouter almost 4 years ago

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

Updated by dkliban@redhat.com almost 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF