openstack-base: pin setuptools < 46 to get horizon working

pyScss used by Horizon fails to work with setuptools > 46 version.

It's last release was in 2016 so probably no one fix it.
Let make sure that we get older version of setuptools.

Broken due to https://bugs.launchpad.net/kolla/+bug/1866961

Change-Id: I2a3fa657a3e1a9b8b0acb0b50bd4f3e98078f4ff
This commit is contained in:
Marcin Juszkiewicz 2020-03-11 16:52:10 +01:00
parent 031b17226a
commit 5498671b34
1 changed files with 5 additions and 0 deletions

View File

@ -414,6 +414,11 @@ RUN ln -s openstack-base-source/* /requirements \
ENV PATH /var/lib/kolla/venv/bin:$PATH
# FIXME(hrw): pyScss used by Horizon fails to work with setuptools >= 46
# it had last release in 2016 so probably no one will fix it.
# So we need to be sure that we get older version of setuptools.
RUN {{ macros.install_pip(['"setuptools<46"']) }}
RUN {{ macros.install_pip(openstack_base_pip_packages | customizable("pip_packages")) }}
{% endif %}