Skip to content

Commit

Permalink
chore: fix RTD build with Poetry 1.8 (#945)
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke authored Feb 26, 2024
1 parent 2589465 commit 741fef3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ build:
jobs:
post_create_environment:
# Install poetry
- pip install poetry==1.7.1
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
- python -m pip install poetry
post_install:
# Install dependencies
- poetry install --with docs
# Install dependencies, reusing RTD virtualenv
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs

# Build documentation in the docs directory with Sphinx
sphinx:
Expand Down

0 comments on commit 741fef3

Please sign in to comment.