From 2b47edc16dc50ccaa6e90eb9849ac05d5d623b88 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Sat, 4 May 2024 11:02:35 -0500 Subject: [PATCH] readthedocs: use latest recommendations for poetry install --- .readthedocs.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 5dfe61b..e70ed6a 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -20,12 +20,10 @@ 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: # VIRTUAL_ENV needs to be set manually for now. # See https://github.com/readthedocs/readthedocs.org/pull/11152/ - - cd doc && poetry install + - cd doc && VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install # Build documentation in the "docs/" directory with Sphinx sphinx: