Fixed broken setuptools import

pyScss tries to import a module called "Feature" from setuptools,
which was removed from setuptools 46.0.0 (mar 8 2020). This causes
compilation erros. The fix updates "pip install" in Dockerfile
to install setuptools < 46.0.0

Change-Id: Ib5c00aafb934efaf1413e72ede30638f2dc35230
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
(cherry picked from commit 3b0e2dd4ea)
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Closes-Bug: 1886963
This commit is contained in:
Davlet Panech 2020-03-09 14:54:10 -04:00
parent 08c97cbfc0
commit e16f4c4bed
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ RUN set -ex ;\
wget openldap-devel mariadb mariadb-devel \
libvirt libvirt-devel liberasurecode-devel nss-devel \
systemd-devel postgresql-devel ;\
pip install --upgrade pip setuptools
pip install --upgrade pip 'setuptools<46.0.0'
COPY docker-build-wheel.sh /
COPY ${BUILD_STREAM}-wheels.cfg /wheels.cfg