From 020a6c41cf02c8ddc0eed955f70fb208b27a379d Mon Sep 17 00:00:00 2001 From: Jacob Pavlock Date: Sat, 6 Apr 2024 11:48:39 -0700 Subject: [PATCH] ci: fix readthedocs build configuration taken from https://github.com/readthedocs/readthedocs.org/issues/4912#issuecomment-1992286540 --- .readthedocs.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 2ac26747..7e4ef007 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -6,12 +6,12 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.10" + python: "3.12" jobs: + post_create_environment: + - python -m pip install poetry post_install: - - pip install poetry - - poetry config virtualenvs.create false - - poetry install --without lint,test + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --without lint,test sphinx: configuration: docs/conf.py