From 747085dbaac9fcbe359878b101cce25975f16d7f Mon Sep 17 00:00:00 2001 From: Josh Date: Mon, 30 Jun 2025 11:23:05 -0400 Subject: [PATCH 1/2] perf: build using uv instead of pip Signed-off-by: Josh --- .github/workflows/sphinxbuild.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sphinxbuild.yml b/.github/workflows/sphinxbuild.yml index b489f757fed..df48ea03d6b 100644 --- a/.github/workflows/sphinxbuild.yml +++ b/.github/workflows/sphinxbuild.yml @@ -16,8 +16,10 @@ jobs: with: python-version: '3.10' cache: 'pip' + - name: Install uv + uses: astral-sh/setup-uv@v6 - name: Install pip dependencies - run: pip install -r requirements.txt + run: uv pip install -r requirements.txt - name: Build using Makefile run: cd user_manual && make html - name: Pack the results in local tar file @@ -37,8 +39,10 @@ jobs: with: python-version: '3.10' cache: 'pip' + - name: Install uv + uses: astral-sh/setup-uv@v6 - name: Install pip dependencies - run: pip install -r requirements.txt + run: uv pip install -r requirements.txt - name: Build using Makefile run: cd user_manual && make html-lang-en @@ -50,8 +54,10 @@ jobs: with: python-version: '3.10' cache: 'pip' + - name: Install uv + uses: astral-sh/setup-uv@v6 - name: Install pip dependencies - run: pip install -r requirements.txt + run: uv pip install -r requirements.txt - name: Build using Makefile run: cd developer_manual && make html - name: Pack the results in local tar file @@ -71,8 +77,10 @@ jobs: with: python-version: '3.10' cache: 'pip' + - name: Install uv + uses: astral-sh/setup-uv@v6 - name: Install pip dependencies - run: pip install -r requirements.txt + run: uv pip install -r requirements.txt - name: Build using Makefile run: cd admin_manual && make html - name: Pack the results in local tar file From c42288ed2165a63f18d4c666c5b0ad990cba8fa9 Mon Sep 17 00:00:00 2001 From: Josh Date: Mon, 30 Jun 2025 11:27:16 -0400 Subject: [PATCH 2/2] Update sphinxbuild.yml Signed-off-by: Josh --- .github/workflows/sphinxbuild.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/sphinxbuild.yml b/.github/workflows/sphinxbuild.yml index df48ea03d6b..0c2df021b01 100644 --- a/.github/workflows/sphinxbuild.yml +++ b/.github/workflows/sphinxbuild.yml @@ -7,6 +7,9 @@ on: - master - stable* +env: + UV_SYSTEM_PYTHON: "1" # make uv do global installs + jobs: user_manual: runs-on: ubuntu-latest