Skip to content

perf: build using uv instead of pip #13347

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions .github/workflows/sphinxbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- master
- stable*

env:
UV_SYSTEM_PYTHON: "1" # make uv do global installs

jobs:
user_manual:
runs-on: ubuntu-latest
Expand All @@ -16,8 +19,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
Expand All @@ -37,8 +42,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

Expand All @@ -50,8 +57,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
Expand All @@ -71,8 +80,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
Expand Down
Loading