From 2a4119dd539067d3803b86e41e974813342a5d5a Mon Sep 17 00:00:00 2001 From: Anton Tetov Johansson <anton@tetov.se> Date: Wed, 28 Sep 2022 20:18:40 +0000 Subject: [PATCH] install poetry and package as described in https://github.com/readthedocs/readthedocs.org/issues/4912#issuecomment-1143587902 --- .readthedocs.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 373ef55..8252713 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,13 +6,10 @@ build: tools: python: "3.10" jobs: - post_create_environment: - # Install poetry - - curl -sSL https://install.python-poetry.org | python - - # Tell poetry to not use a virtual environment - - $HOME/.poetry/bin/poetry config virtualenvs.create false - # Install project's dependencies - - $HOME/.poetry/bin/poetry install + post_install: + - pip install poetry + - poetry config virtualenvs.create false + - poetry install sphinx: configuration: docs/conf.py -- GitLab