From 735733b20516f2ea849d20f585555bf41a40311f Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sun, 14 Apr 2024 01:51:07 -0700 Subject: [PATCH] Use uv in docs build (#4310) Currently pip spends about 20s --- .github/workflows/doc.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 006991a16d8..4c592d73919 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -30,9 +30,9 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip setuptools wheel - python -m pip install -e ".[d]" - python -m pip install -r "docs/requirements.txt" + python -m pip install uv + python -m uv pip install --system -e ".[d]" + python -m uv pip install --system -r "docs/requirements.txt" - name: Build documentation run: sphinx-build -a -b html -W --keep-going docs/ docs/_build