diff options
| author | Dr. Jens Harbott <harbott@osism.tech> | 2021-12-20 14:44:58 +0100 |
|---|---|---|
| committer | Mark Goddard <mark@stackhpc.com> | 2021-12-20 17:03:41 +0000 |
| commit | b69c58971895a6ab8a23bcdc4b7b56d01f26e2f5 (patch) | |
| tree | 5f1cabedb643bd057116ff640be47e01d2b527e7 /docker | |
| parent | 5dede104bcdfa72a8da32c46fe0bd27f54221d4f (diff) | |
| download | kolla-b69c58971895a6ab8a23bcdc4b7b56d01f26e2f5.tar.gz kolla-b69c58971895a6ab8a23bcdc4b7b56d01f26e2f5.zip | |
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
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/base/Dockerfile.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
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/ |
