From 318b2d16fac5c1a074d8d289bed965ef92c1aab9 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Mon, 27 Nov 2023 16:28:37 +0100 Subject: [PATCH 1/2] Update .readthedocs.yml --- .readthedocs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index b4de3480..c2d96ee1 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -6,9 +6,9 @@ version: 2 build: - os: "ubuntu-20.04" + os: "ubuntu-22.04" tools: - python: "mambaforge-4.10" + python: "mambaforge-22.9" # Build documentation in the docs/ directory with Sphinx sphinx: @@ -25,4 +25,4 @@ conda: python: install: - method: pip - path: . \ No newline at end of file + path: . From d0367b192cbbbe8363b5cccead21741377a38493 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Mon, 27 Nov 2023 17:14:26 +0100 Subject: [PATCH 2/2] use pre_build steps to fix mpi4py install --- .readthedocs.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index c2d96ee1..89236e50 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -9,6 +9,10 @@ build: os: "ubuntu-22.04" tools: python: "mambaforge-22.9" + jobs: + pre_build: + - pip install versioneer[toml]==0.29 + - pip install . --no-deps --no-build-isolation # Build documentation in the docs/ directory with Sphinx sphinx: @@ -20,9 +24,3 @@ formats: [] # Install pyiron from conda conda: environment: .ci_support/environment-docs.yml - -# Optionally set the version of Python and requirements required to build your docs -python: - install: - - method: pip - path: .