pulp_installer fails idempotency tests with pip 20.2
pulp_installer is not idempotent (always reports changed, and therefore fails molecule CI) on these tasks:
pulp_common : Install pulpcore via PyPI pulp_common : Install Pulp plugins via PyPI
Upon further investigation, this is caused by:
- A bug in pip 20.2 (we upgrade to the latest pip) comparing package names with '.' vs '_'
- The packages ruamel.yaml ruamel.yaml.clib triggering this bug
- Those 2 packages always getting reinstalled, at the same version, whenever pip installs something that depends on them (drf-yasg, and therefore pupcore and its plugins.) This therefore makes the ansible tasked CHANGED rathe than OK.
Easiest solution is to just have our ansible pip task:
pulp_common: Upgrade to a recent edition of pip (supporting manylinux2014)
Exclude 20.2 specifically. 20.2.1 will almost definitely have a fix for this: The bug report is very active, and there's an open PR to fix it.
Updated by Anonymous over 3 years ago
- Status changed from POST to MODIFIED
Applied in changeset ansible-pulp|77d3be00ee8433a31d462ae2880a3da883b4707f.