From b9a26c455058ff26d176f00836ac20437665a2c4 Mon Sep 17 00:00:00 2001 From: fawney19 Date: Fri, 19 Dec 2025 12:01:19 +0800 Subject: [PATCH] fix: add SETUPTOOLS_SCM_PRETEND_VERSION for CI builds --- Dockerfile.base | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.base b/Dockerfile.base index f4a695a..fca9c96 100644 --- a/Dockerfile.base +++ b/Dockerfile.base @@ -19,7 +19,7 @@ RUN apt-get update && apt-get install -y \ # Python 依赖(安装到系统,不用 -e 模式) COPY pyproject.toml README.md ./ RUN mkdir -p src && touch src/__init__.py && \ - pip install --no-cache-dir . + SETUPTOOLS_SCM_PRETEND_VERSION=0.1.0 pip install --no-cache-dir . # 前端依赖 COPY frontend/package*.json /tmp/frontend/