don't depend on /plugins/ folder for installation of pip packages
Bug #2077747 reported by
Sven Kieske
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
In Progress
|
Medium
|
Sven Kieske |
Bug Description
remove check for plugins directory
macros.install_pip doesn't need the check
as it's handling empty package lists already
the check was introduced in Id75c387668c627
when there was no macro, but an unconditional direct pip install
call.
to spell it out for posterity, currently macro.install_pip does:
{%- if packages is sequence and packages|length > 0 -%}
python{{ python_version }} -m pip --no-cache-dir install --upgrade{{ ' ' }}
while before pip was called directly:
pip --no-cache-dir install --upgrade -c requirements/
see: https:/
To post a comment you must log in.