From c24fbc89d5c61c03b77014f471bb68a47d51a1c8 Mon Sep 17 00:00:00 2001 From: Enno Hermann Date: Tue, 7 May 2024 23:03:18 +0200 Subject: [PATCH] build: specify setuptools version --- Dockerfile | 3 +++ pyproject.toml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9fb3005ef4..7f199eda49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,9 @@ FROM ${BASE} RUN apt-get update && apt-get upgrade -y RUN apt-get install -y --no-install-recommends gcc g++ make python3 python3-dev python3-pip python3-venv python3-wheel espeak-ng libsndfile1-dev && rm -rf /var/lib/apt/lists/* +RUN apt-get purge python3-setuptools +RUN pip3 list +# RUN pip3 install -U setuptools RUN pip3 install llvmlite --ignore-installed # Install Dependencies: diff --git a/pyproject.toml b/pyproject.toml index bc34abddc0..9fc00ec3c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] requires = [ - "setuptools", - "cython~=0.29.30", + "setuptools>=61.0", + "Cython~=0.29.30", "numpy>=1.24.3", ] build-backend = "setuptools.build_meta"