Merge "Use absolute path in install_pip macro"

This commit is contained in:
Zuul 2018-02-13 07:46:32 +00:00 committed by Gerrit Code Review
commit 63df185ab7
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
{% macro install_pip(packages, constraints = true) %}
{%- if packages is sequence and packages|length > 0 -%}
pip --no-cache-dir install --upgrade{{ ' ' }}
{%- if constraints %}-c requirements/upper-constraints.txt {% endif -%}
{%- if constraints %}-c /requirements/upper-constraints.txt {% endif -%}
{{ packages | join(' ') }}
{%- else -%}
true