From 56d175bf860b2d3dd6040d5f508c33cf5c0d607c Mon Sep 17 00:00:00 2001 From: Paolo Cozzi Date: Wed, 19 Jun 2024 17:02:31 +0200 Subject: [PATCH] :green_heart: update readthedocs CI config --- .readthedocs.yml => .readthedocs.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename .readthedocs.yml => .readthedocs.yaml (76%) diff --git a/.readthedocs.yml b/.readthedocs.yaml similarity index 76% rename from .readthedocs.yml rename to .readthedocs.yaml index f0d661d..f65b949 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yaml @@ -8,18 +8,18 @@ version: 2 build: os: "ubuntu-22.04" tools: - python: "3.10" + python: "3.11" jobs: post_create_environment: # 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 + # 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 --no-root # Build documentation in the docs/ directory with Sphinx sphinx: