Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

fix: ci build failed

huanggawaaaec4f6befe2
diff --git a/scripts/build.ps1 b/scripts/build.ps1
index 7538837223..21cfc38f38 100644
--- a/scripts/build.ps1
+++ b/scripts/build.ps1
@@ -50,7 +50,7 @@ Write-Host "[build] 正在构建 wheel 包..." -ForegroundColor Yellow
Push-Location $ProjectRoot
try {
python -m pip install --upgrade build wheel 2>$null
- python -m build --wheel
+ python -m build --wheel --no-isolation
if ($LASTEXITCODE -ne 0) {
throw "wheel 构建失败"
}
diff --git a/scripts/build.sh b/scripts/build.sh
index 0d16443a27..9defa3f7a8 100644
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -53,7 +53,7 @@ trap cleanup EXIT
# 2. 构建 wheel
echo "[build] 正在构建 wheel 包..."
pip install -q --upgrade build wheel
-python -m build --wheel
+python -m build --wheel --no-isolation
# 确保 dist 目录存在
DIST_OUTPUT="$PROJECT_ROOT/dist"