Skip to content

Commit 5a93f6b

Browse files
committed
ci: fix build for static tests and doc
1 parent 0e6cbac commit 5a93f6b

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

.github/workflows/static-analysis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121

2222
- name: Install the project
2323
run: |
24-
uv sync --only-group=dev
24+
uv pip install -U pip wheel setuptools
25+
uv sync --group=dev
2526
2627
- name: Run static analysis
2728
run: make static-analysis

.github/workflows/static-gh-pages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020

2121
- name: Install doc dependencies and build docs
2222
run: |
23+
uv pip install -U pip wheel setuptools
2324
uv sync --group=doc
2425
cd docs
2526
uv run --no-sync make html

.gitlab-ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ ruff-lint:
3131
image: python:3.8-buster
3232
before_script:
3333
- *default-before-script
34-
- uv sync --only-group=dev
34+
- uv pip install -U pip wheel setuptools
35+
- uv sync --group=dev
3536
script:
3637
- uv run --no-sync make check-ruff-lint
3738
tags:
@@ -42,7 +43,8 @@ ruff-format:
4243
image: python:3.8-buster
4344
before_script:
4445
- *default-before-script
45-
- uv sync --only-group=dev
46+
- uv pip install -U pip wheel setuptools
47+
- uv sync --group=dev
4648
script:
4749
- uv run --no-sync make check-ruff-format
4850
tags:
@@ -53,7 +55,8 @@ ruff-organize-imports:
5355
image: python:3.8-buster
5456
before_script:
5557
- *default-before-script
56-
- uv sync --only-group=dev
58+
- uv pip install -U pip wheel setuptools
59+
- uv sync --group=dev
5760
script:
5861
- uv run --no-sync make check-ruff-organize-imports
5962
tags:
@@ -64,6 +67,7 @@ doc:
6467
image: python:3.8-buster
6568
before_script:
6669
- *default-before-script
70+
- uv pip install -U pip wheel setuptools
6771
- uv sync --group=doc
6872
- cd docs
6973
script:

scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ mkdir -p ${MODELS_WEIGHT_DIR}
7979

8080

8181
main () {
82-
pip3 install -U pip wheel
82+
pip3 install -U pip wheel setuptools
8383

8484
install_torch
8585

scripts/install_uv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ main () {
8888

8989
uv sync --extra="${BUILD_SUFFIX}"
9090

91-
uv pip install -U pip wheel
91+
uv pip install -U pip wheel setuptools
9292

9393
# No longer needed.
9494
# install_torch

0 commit comments

Comments
 (0)