Skip to content

Commit 0b03af7

Browse files
committed
Try convincing RTD to use uv.
Refs: readthedocs/readthedocs.org#11290
1 parent 72a1d29 commit 0b03af7

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.readthedocs.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@ version: 2
33
build:
44
os: ubuntu-22.04
55
tools:
6-
python: "3.11"
6+
python: "3.12"
7+
8+
jobs:
9+
post_create_environment:
10+
- pip install uv
11+
post_install:
12+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install -r docs/requirements.txt
713

814
sphinx:
915
builder: dirhtml
1016
configuration: docs/conf.py
1117
fail_on_warning: true
1218

1319
formats: all
14-
15-
python:
16-
install:
17-
- requirements: docs/requirements.txt

0 commit comments

Comments
 (0)