Remove kuryr-lib in upper-constraints.txt file when install master kuryr
kuryr add itself to upper-constrains.txt file with kuryr-lib===0.1.0 . then installing master kuryr which is > 0.1.0 with constraints will raises an error. There is nothing we can do unless removing the kuryr-lib line in upper-constrains.txt file. TrivialFix Change-Id: Iec7d8a3bc9e00b2d08665329e2f3c2c5ccc43818
This commit is contained in:
parent
2e91c3a43c
commit
1c6eae70ef
@ -9,7 +9,10 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
||||
{% elif install_type == 'source' %}
|
||||
|
||||
ADD kuryr-base-archive /kuryr-base-source
|
||||
# NOTE(Jeffrey4l): remove kuryr-lib constraint in upper-constraints.txt file.
|
||||
# Otherwise, it will be failed.
|
||||
RUN ln -s kuryr-base-source/* kuryr-base \
|
||||
&& sed -i 's|^kuryr-lib===.*$||g' requirements/upper-constraints.txt \
|
||||
&& /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /kuryr-base
|
||||
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user