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
This commit is contained in:
parent
789f50b2f3
commit
195bcd0f43
@ -48,11 +48,13 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{{ macros.install_packages(kolla_toolbox_packages | customizable("packages")) }}
|
{{ macros.install_packages(kolla_toolbox_packages | customizable("packages")) }}
|
||||||
|
|
||||||
|
# TODO(Jeffrey4l): remove `--no-binary pycparser` when the bug[0] is fixed.
|
||||||
|
# [0] https://github.com/eliben/pycparser/issues/147
|
||||||
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
|
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
|
||||||
&& python get-pip.py \
|
&& python get-pip.py \
|
||||||
&& rm get-pip.py \
|
&& rm get-pip.py \
|
||||||
&& pip --no-cache-dir install pytz \
|
&& pip --no-cache-dir install pytz \
|
||||||
&& pip --no-cache-dir install \
|
&& pip --no-cache-dir install --no-binary pycparser \
|
||||||
ansible==2.1.1.0 \
|
ansible==2.1.1.0 \
|
||||||
MySQL-python \
|
MySQL-python \
|
||||||
os-client-config==1.16.0 \
|
os-client-config==1.16.0 \
|
||||||
|
@ -15,5 +15,9 @@
|
|||||||
|
|
||||||
|
|
||||||
{% macro install_pip(packages) %}
|
{% 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 %}
|
{% endmacro %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user