Skip to content

Commit 204b816

Browse files
committed
RTD: use uv
1 parent b6ea662 commit 204b816

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

readthedocs.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ build:
55
tools:
66
python: "3"
77
jobs:
8+
pre_create_environment:
9+
- asdf plugin add uv
10+
- asdf install uv latest
11+
- asdf global uv latest
12+
create_environment:
13+
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
814
install:
9-
- pip install -U pip
10-
- pip install .
11-
- pip install --group dev
15+
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen
1216

1317
sphinx:
1418
configuration: doc/conf.py

0 commit comments

Comments
 (0)