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 9, 2025
1 parent 0eb77b8 commit 90faa52
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
- asdf global uv 0.5
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 90faa52

Please sign in to comment.