From b69c58971895a6ab8a23bcdc4b7b56d01f26e2f5 Mon Sep 17 00:00:00 2001 From: "Dr. Jens Harbott" Date: Mon, 20 Dec 2021 14:44:58 +0100 Subject: 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 Change-Id: I112c0ea510aad80f28fc3f8a9f04cdf09c924b18 --- docker/base/Dockerfile.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docker') diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2 index 26a6bd218..8733d82c1 100644 --- a/docker/base/Dockerfile.j2 +++ b/docker/base/Dockerfile.j2 @@ -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/ -- cgit v1.2.3