From 093c821abec6072fffe04d085f7094f6b55badff Mon Sep 17 00:00:00 2001 From: Tim Jenness Date: Wed, 29 May 2024 15:25:42 -0700 Subject: [PATCH] Use modern uv pip --system call signature Virtual env environment variable is no longer supported. --- .github/workflows/build_docs.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_docs.yaml b/.github/workflows/build_docs.yaml index b61071e33..c3c9dc7d6 100644 --- a/.github/workflows/build_docs.yaml +++ b/.github/workflows/build_docs.yaml @@ -25,25 +25,21 @@ jobs: - name: Install graphviz run: sudo apt-get install graphviz - - name: Set the VIRTUAL_ENV variable for uv to work - run: | - echo "VIRTUAL_ENV=${Python_ROOT_DIR}" >> $GITHUB_ENV - - name: Update pip/wheel infrastructure and install uv run: | python -m pip install --upgrade pip pip install uv - uv pip install wheel + uv pip install --system wheel - name: Install documenteer - run: uv pip install 'documenteer[pipelines]==0.8.2' + run: uv pip install --system 'documenteer[pipelines]==0.8.2' - name: Install dependencies run: | - uv pip install -r requirements.txt + uv pip install --system -r requirements.txt - name: Build and install - run: uv pip install --no-deps -v -e . + run: uv pip install --system --no-deps -v -e . - name: Build documentation working-directory: ./doc