From ac74b3746765aee1e7ae2ae3612e8244f3cd0a34 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 9 May 2024 22:23:52 -0400 Subject: [PATCH] ci: try uv on readthedocs Signed-off-by: Henry Schreiner --- .readthedocs.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.readthedocs.yml b/.readthedocs.yml index 0b38c50..f71bb2c 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -4,6 +4,14 @@ build: tools: python: "3.11" rust: "1.75" + jobs: + post_create_environment: + - pip install uv + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install --upgrade pip setuptools + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install --upgrade sphinx readthedocs-sphinx-ext + post_install: + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install .[docs] + python: install: - method: pip