Skip to content

Commit ca90e57

Browse files
committed
Specify the VIRTUAL_ENV variable
See readthedocs/readthedocs.org#11152
1 parent b257ec8 commit ca90e57

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.readthedocs.yaml

+7-6
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ build:
66
python: "3.10"
77
jobs:
88
post_create_environment:
9-
# Install pipx
10-
- pip install pipx
119
# Install poetry
12-
# https://python-poetry.org/docs/#installing-with-pipx
13-
- pipx install poetry
14-
# Install project's dependencies
15-
- pipx run poetry install
10+
# https://python-poetry.org/docs/#installing-manually
11+
- pip install poetry
12+
post_install:
13+
# Install dependencies with 'docs' dependency group
14+
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
15+
# VIRTUAL_ENV needs to be set manually for now, see #11150
16+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install
1617

1718
sphinx:
1819
configuration: docs/conf.py

0 commit comments

Comments
 (0)