Skip to content

Commit

Permalink
Fix docs build for Poetry >=1.8 (#1900)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbeSneyders committed Mar 20, 2024
1 parent ee399fb commit e56bc3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ build:
jobs:
post_create_environment:
# Install poetry
- pip install poetry
- python -m pip install poetry
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
post_install:
# Install dependencies with 'docs' dependency group
- poetry install --with docs --all-extras
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m poetry install --with docs --all-extras

0 comments on commit e56bc3b

Please sign in to comment.