File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -3,18 +3,17 @@ version: 2
3
3
build :
4
4
os : " ubuntu-22.04"
5
5
tools :
6
- python : " 3.10 "
6
+ python : " 3.12 "
7
7
jobs :
8
- post_create_environment :
8
+ post_install :
9
9
# Install poetry
10
10
# https://python-poetry.org/docs/#installing-manually
11
11
- pip install poetry
12
- # Tell poetry to not use a virtual environment
13
- - poetry config virtualenvs.create false
14
- post_install :
15
- # Install dependencies with extras dependency group
12
+ # Install dependencies with 'docs' dependency group
16
13
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
17
- - poetry install --all-extras
14
+ # VIRTUAL_ENV needs to be set manually for now.
15
+ # See https://github.com/readthedocs/readthedocs.org/pull/11152/
16
+ - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --all-extras
18
17
19
18
sphinx :
20
19
configuration : docs/_source/conf.py
You can’t perform that action at this time.
0 commit comments