Skip to content

Commit f8f6416

Browse files
fix(ci): use --system flag for uv pip install
Added the `--system` flag to the `uv pip install` command in the GitHub Actions workflow. This fixes the "No virtual environment found" error by instructing uv to install dependencies into the system's Python environment, which is appropriate for a CI context.
1 parent 14340cb commit f8f6416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test_python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- uses: astral-sh/setup-uv@v1
4646
- name: Install dev dependencies
4747
working-directory: ./Python
48-
run: uv pip install -r requirements.txt
48+
run: uv pip install --system -r requirements.txt
4949
- name: Lint
5050
working-directory: ./Python
5151
run: |

0 commit comments

Comments
 (0)