Issue #6689
closedStory #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
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
Updated by mdepaulo@redhat.com over 4 years ago
- Related to Issue #6642: pre-flight check does not check older pulp 3 installs properly added
Added by Mike DePaulo over 4 years ago
Added by Mike DePaulo over 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
Updated by Anonymous over 4 years ago
- Status changed from NEW to MODIFIED
Applied in changeset ansible-pulp|37aab66957f8db44c51fe4e8ddfcc889b32d757c.
Updated by bmbouter over 4 years ago
- Category set to Installer - Moved to GitHub issues
- Tags deleted (
Pulp 3 installer)
Updated by dkliban@redhat.com over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
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