diff --git a/.readthedocs.yml b/.readthedocs.yml index 65c6382a8..57fc458de 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -16,10 +16,8 @@ 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 + # Install dependencies with 'docs' dependency group with above virtual environment # https://python-poetry.org/docs/managing-dependencies/#dependency-groups - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs