From 6deb76ef9855b5cb69155968bdeabf0ac00952f6 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Wed, 9 Nov 2022 14:25:06 +0000 Subject: [PATCH 1/4] suppress installing and reinstalling deps with pip at readthedocs builds --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index c481981750..a2246f0a4d 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -18,7 +18,7 @@ conda: python: install: - - method: pip + - method: setuptools path: . extra_requirements: - doc From b3d61ce25f3af14214d69c6d0de0d724493c9c2e Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Wed, 9 Nov 2022 14:42:42 +0000 Subject: [PATCH 2/4] do entirely with the install section --- .readthedocs.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index a2246f0a4d..467d35258f 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -16,13 +16,6 @@ conda: environment: environment.yml -python: - install: - - method: setuptools - path: . - extra_requirements: - - doc - # Build documentation in the doc directory with Sphinx sphinx: configuration: doc/sphinx/source/conf.py From 658dd372bce02cbe7de94d095940f6b6e5fd8911 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Wed, 9 Nov 2022 15:36:46 +0000 Subject: [PATCH 3/4] plop a post create env job --- .readthedocs.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 467d35258f..18c2c333d2 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,6 +10,9 @@ build: os: ubuntu-22.04 tools: python: "mambaforge-4.10" + jobs: + post_create_environment: + - pip install -e .[develop] # Declare the requirements required to build your docs conda: From 491232a1fd61a7817c3bc1c4b5087d09ca21ac9f Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Thu, 10 Nov 2022 15:15:00 +0000 Subject: [PATCH 4/4] Update .readthedocs.yaml Co-authored-by: Bouwe Andela --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 18c2c333d2..866983be20 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -12,7 +12,7 @@ build: python: "mambaforge-4.10" jobs: post_create_environment: - - pip install -e .[develop] + - pip install . --no-deps # Declare the requirements required to build your docs conda: