Merge "Revert "macros/pip: revert to old setuptools way""

This commit is contained in:
Zuul 2023-09-13 22:33:41 +00:00 committed by Gerrit Code Review
commit 64098b209c

View File

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