From 320b229f574fe4662accd9b5ed3a7427e33a782a Mon Sep 17 00:00:00 2001 From: Kirk Byers Date: Fri, 28 Jun 2024 14:30:29 -0600 Subject: [PATCH] Update RTD config to have poetry properly use RTD venv (#942) --- .readthedocs.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index c028a638..b4408131 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -8,11 +8,9 @@ build: jobs: post_create_environment: - pip install poetry - - 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 + # Instructs Poetry to use RTD venv + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs sphinx: configuration: docs/conf.py