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: