From e56bc3b42c2ab8dbf7337fce695cc44215b1b4dd Mon Sep 17 00:00:00 2001 From: Robbe Sneyders Date: Wed, 20 Mar 2024 22:23:47 +0100 Subject: [PATCH] Fix docs build for Poetry >=1.8 (#1900) --- .readthedocs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index bf7948d41..1aa8dc2dc 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,9 +10,9 @@ build: jobs: post_create_environment: # Install poetry - - pip install poetry + - python -m pip install poetry # Tell poetry to not use a virtual environment - poetry config virtualenvs.create false post_install: # Install dependencies with 'docs' dependency group - - poetry install --with docs --all-extras + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m poetry install --with docs --all-extras