File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,23 +64,17 @@ jobs:
6464 curl -LsSf https://astral.sh/uv/0.8.22/install.sh | sh
6565 export PATH="$HOME/.local/bin:$PATH"
6666
67- # Create venv with system packages
67+ # Create venv with system packages (this makes container torch available)
6868 uv venv /opt/venv --system-site-packages
6969 export UV_PROJECT_ENVIRONMENT=/opt/venv
7070
71- # Install minimal build deps
72- uv pip install --system setuptools wheel packaging ninja pybind11 Cython "numpy<2.0.0"
71+ # Install build deps first (matches Dockerfile two-step approach)
72+ uv sync --only-group build
7373
74- # Backup and modify pyproject.toml
75- cp pyproject.toml pyproject.toml.backup
76- sed -i "/^override-dependencies = \[/,/^\]/s/^/# /" pyproject.toml
77-
78- # Generate lockfile
74+ # Generate lockfile with the EXACT configuration from pyproject.toml
75+ # No modifications! This ensures lockfile matches what Dockerfile will use
7976 uv lock --no-build-isolation
8077
81- # Restore original
82- mv pyproject.toml.backup pyproject.toml
83-
8478 # Show disk usage
8579 df -h
8680 '
You can’t perform that action at this time.
0 commit comments