From e91da21feb49d9ab86cd45841f519b666848f6a8 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 | 2 ++ pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9fb3005ef4..1968e68924 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,8 @@ 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 pip3 install -U pip setuptools +RUN pip3 list 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"