diff options
| author | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2021-09-16 16:28:00 +0200 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2021-09-16 16:28:00 +0200 |
| commit | a11815cd96d5f55c14e5f58e67d0de14d3eb8a8b (patch) | |
| tree | d29430bb9d669beffe8dc10e5f49aa6c56970692 /docker/macros.j2 | |
| parent | f98ad9462b7bd70ba79e448f97c7d3b21cf5e14b (diff) | |
| download | kolla-a11815cd96d5f55c14e5f58e67d0de14d3eb8a8b.tar.gz kolla-a11815cd96d5f55c14e5f58e67d0de14d3eb8a8b.zip | |
Do not use distro_python_version for interpreter
We can just use python3 - not longer need to tell which exactly like it
was in py2/py3 times.
Change-Id: Ib02f13cd2ad0037228e8975bd3fc37f41f23846f
Diffstat (limited to 'docker/macros.j2')
| -rw-r--r-- | docker/macros.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/macros.j2 b/docker/macros.j2 index 0af1b6f14..61e3edce1 100644 --- a/docker/macros.j2 +++ b/docker/macros.j2 @@ -34,7 +34,7 @@ {% macro install_pip(packages, constraints = true) %} {%- if packages is sequence and packages|length > 0 -%} - python{{ distro_python_version }} -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 -%} |
