From e8640e7c225e717fadcb2f023c99f49b563f2a61 Mon Sep 17 00:00:00 2001 From: Andrew Halberstadt Date: Thu, 17 Oct 2024 12:27:38 -0400 Subject: [PATCH] ci: fix readthedocs builds This was regressed by the switch to uv. The fix was copy/pasted directly from the readthedocs documentation: https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-uv --- .readthedocs.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index dddf0860..71cec9a2 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,13 +1,14 @@ --- version: 2 build: - os: ubuntu-20.04 + os: ubuntu-22.04 tools: - python: "3.9" -python: - install: - - requirements: requirements/docs.txt - - method: pip - path: . + python: "3.12" + commands: + - asdf plugin add uv + - asdf install uv latest + - asdf global uv latest + - uv sync --only-dev + - uv run -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html sphinx: configuration: docs/conf.py