Skip to content

Commit ac6b3f7

Browse files
committed
fix readthedocs with poetry
xref readthedocs/readthedocs.org#11152
1 parent 37ca772 commit ac6b3f7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.readthedocs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ build:
1313
# Install poetry
1414
# https://python-poetry.org/docs/#installing-manually
1515
- pip install poetry
16-
# Tell poetry to not use a virtual environment
17-
- poetry config virtualenvs.create false
1816
post_install:
1917
# Install dependencies with 'docs' dependency group
2018
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
21-
- poetry install --only main,docs
19+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --only main,docs

0 commit comments

Comments
 (0)