[CHIP project] fix setuptools bug (#12262)

- this fixes docker build failure, due to bug introduced by update of
[setuptools](https://pypi.org/project/setuptools/) python package to
version 71

- the bug is described here:
https://github.com/pypa/setuptools/issues/4483

- fix involves upgrading `packaging` to latest possible version, which
fixes issue
This commit is contained in:
Amine Alami 2024-07-23 23:14:46 +02:00 committed by GitHub
parent 1098a4006a
commit 3b71dbb308
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,10 @@ RUN apt-get update && \
# the one already installed in /usr/local/bin
ENV PATH="/usr/bin/:${PATH}"
# This fixes setuptools bug related to version 71
# https://github.com/pypa/setuptools/issues/4483
RUN pip install -U packaging
# PEP-517 needed for cryptography. Update pip
RUN pip3 install --upgrade pip setuptools wheel