From 20cef78899fd086ab50215bf8a146b94c46c8628 Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Wed, 8 Jan 2025 10:40:49 +0100 Subject: [PATCH] Simplify uv configuration in .reatthedocs.yml + update uv version --- .readthedocs.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 8f1e3118d0..06bbc03c0f 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -15,12 +15,14 @@ build: jobs: # Use uv to speed up the build # https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-uv - post_create_environment: + pre_create_environment: - asdf plugin add uv - - asdf install uv 0.2.9 - - asdf global uv 0.2.9 - post_install: - - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install .[docs,tests,rest,atomic_tools] + - asdf install uv 0.5.15 + - asdf global uv 0.5.15 + create_environment: + - uv venv + install: + - uv pip install .[docs,tests,rest,atomic_tools] # Let the build fail if there are any warnings sphinx: