From 1845311f98ad1491c0438c7689ff2af2b9cd2c54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=9B=A7=E5=9B=A7JOJO?= <58727904+jiongjiongJOJO@users.noreply.github.com> Date: Tue, 11 Nov 2025 17:39:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DDocker=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E6=97=B6=E7=89=88=E6=9C=AC=E4=B8=8D=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=9A=84=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 参考三楼回复: https://stackoverflow.com/questions/76717537/valueerror-requirement-object-has-no-field-use-pep517-when-installing-pytho --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 1153a4f5..ab47e5b9 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -65,8 +65,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ WORKDIR /app COPY requirements.in requirements.in RUN python3 -m venv ${VENV_PATH} \ - && pip install --upgrade pip \ - && pip install Cython pip-tools \ + && pip install --upgrade "pip<25.0" \ + && pip install "Cython" "pip-tools<7.5" \ && pip-compile requirements.in \ && pip install -r requirements.txt