Skip to content

Commit

Permalink
ci(readthedocs): resolve poetry install errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ooliver1 committed Mar 23, 2024
1 parent 315852c commit c11817e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ sphinx:
fail_on_warning: false
builder: html

# https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-poetry
build:
os: ubuntu-22.04
tools:
Expand All @@ -15,9 +16,7 @@ build:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- poetry install --with docs
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs

0 comments on commit c11817e

Please sign in to comment.