Skip to content

Commit 300e138

Browse files
committed
fix(ci): remove broken pip install fallback in build.sh — build is a declared dep
1 parent 8a4df3c commit 300e138

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

dev-tools/package/build.sh

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,13 @@ if [ "$QUIET" = false ]; then
2929
fi
3030
rm -rf dist/ build/ -- *.egg-info/
3131

32-
# Install build dependencies if needed
32+
# Verify build dependencies are present (declared in pyproject.toml dev deps)
3333
if [ "$QUIET" = false ]; then
3434
echo "INFO: Checking build dependencies..."
3535
fi
3636
if ! $RUN_TOOL python -c "import build" 2>/dev/null; then
37-
if [ "$QUIET" = false ]; then
38-
echo "INFO: Installing build dependencies..."
39-
fi
40-
if command -v uv >/dev/null 2>&1; then
41-
if [ "$QUIET" = true ]; then
42-
uv pip install build >/dev/null 2>&1
43-
else
44-
uv pip install build
45-
fi
46-
else
47-
if [ "$QUIET" = true ]; then
48-
$RUN_TOOL pip install build >/dev/null 2>&1
49-
else
50-
$RUN_TOOL pip install build
51-
fi
52-
fi
37+
echo "ERROR: 'build' package not found. Ensure 'uv sync --all-extras' has been run." >&2
38+
exit 1
5339
fi
5440

5541
# Build package

0 commit comments

Comments
 (0)