Skip to content

Commit

Permalink
Simplify uv configuration in .reatthedocs.yml
Browse files Browse the repository at this point in the history
+ update uv version
  • Loading branch information
danielhollas committed Jan 8, 2025
1 parent 02cbe0c commit 20cef78
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 20cef78

Please sign in to comment.