From dba1a62b214fb4f3dd2c5bfd0e8d2f6dba178901 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 16 Sep 2024 09:48:23 +0300 Subject: [PATCH] Use venv for uv to fix 'failed to create directory' --- .github/workflows/doc.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 901d4357298..f34e5041091 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -32,8 +32,9 @@ jobs: - name: Install dependencies run: | python -m pip install uv - python -m uv pip install --system -e ".[d]" - python -m uv pip install --system -r "docs/requirements.txt" + python -m uv venv + python -m uv pip install -e ".[d]" + python -m uv pip install -r "docs/requirements.txt" - name: Build documentation run: sphinx-build -a -b html -W --keep-going docs/ docs/_build