From 10d1964d417bb8e16778c54248001b69ef88397f Mon Sep 17 00:00:00 2001 From: Thies Moeller Date: Wed, 16 Oct 2024 13:55:11 +0200 Subject: [PATCH] temporary fix for setuptools 72 removed test command --- pyproject.toml | 2 +- scripts/build/Dockerfile.debian | 2 +- scripts/build/Dockerfile.manylinux | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 34732af..729b9df 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=42", "swig>=4.2", "wheel"] +requires = ["setuptools>=42,<72", "swig>=4.2", "wheel"] build-backend = "setuptools.build_meta" [tool.cibuildwheel] diff --git a/scripts/build/Dockerfile.debian b/scripts/build/Dockerfile.debian index 2d007b2..781a857 100644 --- a/scripts/build/Dockerfile.debian +++ b/scripts/build/Dockerfile.debian @@ -23,7 +23,7 @@ RUN pip install wheel 'auditwheel<=5.1.2' # install swig from pypi RUN pip install swig>=4.2 # install setuptools -RUN pip install setuptools --upgrade +RUN pip install "setuptools<72" --upgrade # numpy is required for the pypylon unittests # currently disabled because the numpy install exceeds the current travis max duration diff --git a/scripts/build/Dockerfile.manylinux b/scripts/build/Dockerfile.manylinux index c86ad20..8c5cebd 100644 --- a/scripts/build/Dockerfile.manylinux +++ b/scripts/build/Dockerfile.manylinux @@ -12,7 +12,7 @@ COPY --from=qemu /usr/bin/* /usr/bin/ RUN pip install swig>=4.2 # install setuptools -RUN pip install setuptools --upgrade +RUN pip install "setuptools<72" --upgrade # one genicam unittest requires a french locale RUN yum -y reinstall glibc-common