aboutsummaryrefslogtreecommitdiff
path: root/docker/macros.j2
diff options
context:
space:
mode:
authorJeffrey Zhang <zhang.lei.fly@gmail.com>2016-10-03 14:02:05 +0800
committerJeffrey Zhang <zhang.lei.fly@gmail.com>2016-10-03 14:43:55 +0800
commit195bcd0f4323462b77d025936b898c85ddd8fdb3 (patch)
tree8eed3d79ad8d3ecb233809150f4e3302bdd167ea /docker/macros.j2
parent789f50b2f3bc733015d11287054b63db7c01c03a (diff)
downloadkolla-195bcd0f4323462b77d025936b898c85ddd8fdb3.tar.gz
kolla-195bcd0f4323462b77d025936b898c85ddd8fdb3.zip
Fix pycparser wheel package issue
pycparser-2.14-py2.py3-none-any.whl is broken or something misconfigured, while pycparser-2.14.tar.gz is ok. Revert this PS when the bug is fixed[0] [0] https://github.com/eliben/pycparser/issues/147 TrivialFix Change-Id: If719a5fdfbcedfe4770354b18dc47cc94e90dc3d
Diffstat (limited to 'docker/macros.j2')
-rw-r--r--docker/macros.j26
1 files changed, 5 insertions, 1 deletions
diff --git a/docker/macros.j2 b/docker/macros.j2
index 32496a921..c19098e30 100644
--- a/docker/macros.j2
+++ b/docker/macros.j2
@@ -15,5 +15,9 @@
{% macro install_pip(packages) %}
-RUN /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt {% for package in packages %}{{ package }} {% endfor %}
+{#-
+TODO(Jeffrey4l): remove `--no-binary pycparser` when the bug[0] is fixed.
+[0] https://github.com/eliben/pycparser/issues/147
+-#}
+RUN /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade --no-binary pycparser -c requirements/upper-constraints.txt {% for package in packages %}{{ package }} {% endfor %}
{% endmacro %}