Skip to content

Commit 172259d

Browse files
committed
Attempt to fix broken docs build due to Poetry changes
This commit introduces the changes from readthedocs/readthedocs.org#11150.
1 parent 351ca37 commit 172259d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.readthedocs.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ build:
1515
# Install poetry
1616
# https://python-poetry.org/docs/#installing-manually
1717
- pip install poetry
18-
# Tell poetry to not use a virtual environment
19-
- poetry config virtualenvs.create false
2018
post_install:
2119
# Install dependencies with 'docs' dependency group
2220
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
23-
- poetry install --with docs
21+
# VIRTUAL_ENV needs to be set manually for now.
22+
# See https://github.com/readthedocs/readthedocs.org/pull/11152/
23+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
2424

2525
# Build documentation in the docs/ directory with Sphinx
2626
sphinx:

0 commit comments

Comments
 (0)