Skip to content

Commit

Permalink
use poetry instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
torsdag committed Mar 18, 2024
1 parent 7217171 commit 3c39bb6
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions readthedocs.yaml
Expand Up @@ -5,8 +5,14 @@ build:
tools:
python: "3.10"

python:
install:
- requirements: doc/requirements.txt
- method: pip
path: .
jobs:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
# VIRTUAL_ENV needs to be set manually for now.
# See https://github.com/readthedocs/readthedocs.org/pull/11152/
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with dev

0 comments on commit 3c39bb6

Please sign in to comment.