Workaround setuptools==60.0.0 breakages

Setuptools 60.0.0 is trying to use it's own distutils[0]. Once again.
Use the workaround they propose until all pkgs we need have fixed their
build processes.

[0] https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6000

Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: I112c0ea510aad80f28fc3f8a9f04cdf09c924b18
This commit is contained in:
Dr. Jens Harbott 2021-12-20 14:44:58 +01:00 committed by Mark Goddard
parent 5dede104bc
commit b69c589718
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ ENV KOLLA_BASE_DISTRO={{ base_distro }} \
KOLLA_DISTRO_PYTHON_VERSION={{ distro_python_version }} \
KOLLA_BASE_ARCH={{ base_arch }}
{# NOTE(frickler): sledgehammer workaround until pkgs are updated to build with setuptools==60.0.0 properly #}
ENV SETUPTOOLS_USE_DISTUTILS=stdlib
#### Customize PS1 to be used with bash shell
COPY kolla_bashrc /tmp/