Skip to content

Commit

Permalink
Switch to UV using --system when installing requirements
Browse files Browse the repository at this point in the history
The previous method of setting `VIRTUAL_ENV` was a hack and no longer works. See astral-sh/uv#3765 for more context.
  • Loading branch information
epicserve committed May 24, 2024
1 parent 6c670ad commit bd63875
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,10 @@ jobs:
python-version: "3.12"
- name: Install Node requirements
run: npm ci
- name: Set VIRTUAL_ENV Path
run: echo "VIRTUAL_ENV=${Python_ROOT_DIR}" >> $GITHUB_ENV
- name: Install Python requirements
run: |
pip install --upgrade uv
uv pip install -r config/requirements/dev_lock.txt
uv pip install --system -r config/requirements/dev_lock.txt
- name: Run linting
run: |
PYTHON_CMD_PREFIX="" NODE_CMD_PREFIX="" just lint
Expand Down

0 comments on commit bd63875

Please sign in to comment.