Skip to content

Commit

Permalink
fix: update read-the-docs poetry install
Browse files Browse the repository at this point in the history
Task: IL-483
  • Loading branch information
NiklasKoehneckeAA committed May 7, 2024
1 parent 11738b8 commit 60f0a35
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,12 @@ build:
os: ubuntu-22.04
tools:
python: "3.11"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"
jobs:
# according to https://github.com/readthedocs/readthedocs.org/issues/4912#issuecomment-1992286540
post_create_environment:
# Install poetry:
- asdf plugin add poetry
- asdf install poetry latest
- asdf global poetry latest
- poetry config virtualenvs.create false
- python -m pip install poetry
post_install:
- . "$READTHEDOCS_VIRTUALENV_PATH/bin/activate" && poetry install
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install

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

0 comments on commit 60f0a35

Please sign in to comment.