From 491a084a312e3fd8f0c0039d06a67b3608d71802 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Tue, 17 Feb 2026 10:35:00 -0600 Subject: [PATCH 1/2] pointing readthedocs deps at pyproject.toml --- .readthedocs.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 639c8ee4e..f4e164d9e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -3,13 +3,16 @@ version: 2 build: os: "ubuntu-22.04" tools: - python: "3.11" + python: "3.12" # Build from the docs/ directory with Sphinx sphinx: configuration: docs/conf.py -# Install the requirements needed to build the documentation from the appropriate requirements.txt file +# Install the package with the doc dependency group from pyproject.toml python: install: - - requirements: doc-requirements.txt + - method: pip + path: . + extra_requirements: + - doc From 72721f8da7bf02c5eec2ee36701917d8c4de774d Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Tue, 17 Feb 2026 10:46:10 -0600 Subject: [PATCH 2/2] proper uv update based on docs --- .readthedocs.yaml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index f4e164d9e..eb9e72cc8 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,18 +1,19 @@ version: 2 -build: - os: "ubuntu-22.04" - tools: - python: "3.12" - -# Build from the docs/ directory with Sphinx sphinx: - configuration: docs/conf.py + configuration: docs/conf.py -# Install the package with the doc dependency group from pyproject.toml -python: - install: - - method: pip - path: . - extra_requirements: - - doc +# https://docs.readthedocs.com/platform/stable/build-customization.html#install-dependencies-with-uv +build: + os: ubuntu-24.04 + tools: + python: "3.13" + jobs: + pre_create_environment: + - asdf plugin add uv + - asdf install uv latest + - asdf global uv latest + create_environment: + - uv venv "${READTHEDOCS_VIRTUALENV_PATH}" + install: + - UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --group doc