Use uv in docs build (#4310)

Currently pip spends about 20s
This commit is contained in:
Shantanu 2024-04-14 01:51:07 -07:00 committed by GitHub
parent 9dc9114aef
commit 735733b205
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,9 +30,9 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip setuptools wheel python -m pip install uv
python -m pip install -e ".[d]" python -m uv pip install --system -e ".[d]"
python -m pip install -r "docs/requirements.txt" python -m uv pip install --system -r "docs/requirements.txt"
- name: Build documentation - name: Build documentation
run: sphinx-build -a -b html -W --keep-going docs/ docs/_build run: sphinx-build -a -b html -W --keep-going docs/ docs/_build