From 172259d17c32c3457379b129d94cfa0a6d24994a Mon Sep 17 00:00:00 2001 From: David Alber Date: Tue, 27 Feb 2024 10:57:22 -0800 Subject: [PATCH] Attempt to fix broken docs build due to Poetry changes This commit introduces the changes from readthedocs/readthedocs.org#11150. --- .readthedocs.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 194368e..bb451eb 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -15,12 +15,12 @@ build: # Install poetry # https://python-poetry.org/docs/#installing-manually - pip install poetry - # Tell poetry to not use a virtual environment - - poetry config virtualenvs.create false post_install: # Install dependencies with 'docs' dependency group # https://python-poetry.org/docs/managing-dependencies/#dependency-groups - - poetry install --with docs + # VIRTUAL_ENV needs to be set manually for now. + # See https://github.com/readthedocs/readthedocs.org/pull/11152/ + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs # Build documentation in the docs/ directory with Sphinx sphinx: