From 42ca18baa8a9cb06da80b905493e062f5b6c9f07 Mon Sep 17 00:00:00 2001 From: Kurt McKee Date: Tue, 24 Jun 2025 07:24:24 -0500 Subject: [PATCH] Fix Read the Docs builds Read the Docs builds began permanently failing on February 26, 2024. The differential diagnosis between success and failure seems to be that the last successful build used Poetry 1.7.1; the first failing build used Poetry 1.8.1. For reference, Poetry 1.8.1 was released on February 26, 2024. Read the Docs later updated its "Install dependencies with Poetry" documentation to note that Poetry needs a `$VIRTUAL_ENV` environment variable set. https://docs.readthedocs.com/platform/stable/build-customization.html#install-dependencies-with-poetry This change aligns the Read the Docs config with the documented fix, and simultaneously updates the build OS and Python version, which are both very old. --- .readthedocs.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 59848f9..26116de 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,12 +6,10 @@ sphinx: formats: all build: - os: ubuntu-20.04 + os: ubuntu-24.04 tools: - python: "3.9" + python: "3.13" jobs: - post_create_environment: - - pip install poetry - - poetry config virtualenvs.create false post_install: - - poetry install --with docs + - pip install poetry + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy