From 29fdaf81e8f98309805ddb7b36d5d367baac0907 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 27 Nov 2026 09:41:39 +0100 Subject: [PATCH 1/5] Add documentation dependencies to pyproject.toml --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 3a3cf7fd..49060537 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,6 +59,13 @@ cluster = [ validation = [ "pydantic==2.14.4", ] +docs = [ + "myst-parser", + "nbsphinx", + "sphinx", + "sphinx_rtd_theme", + "jupyter-book==1.0.0", +] all = [ "mpi4py==4.1.2", "pysqa==1.2.0", From 8b4cef0141d0890ab2d801554fde22345ad35f37 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 27 Nov 2026 09:41:55 +0100 Subject: [PATCH 2/5] Delete .ci_support/environment-docs.yml --- .ci_support/environment-docs.yml | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .ci_support/environment-docs.yml diff --git a/.ci_support/environment-docs.yml b/.ci_support/environment-docs.yml deleted file mode 100644 index 4baff5ee..00000000 --- a/.ci_support/environment-docs.yml +++ /dev/null @@ -1,20 +0,0 @@ -channels: -- conda-forge -dependencies: -- flux-core -- hatchling =1.33.0 -- hatch-vcs =0.5.0 -- myst-parser -- nbsphinx -- numpy -- openmpi -- sphinx -- sphinxcontrib-mermaid -- sphinx_rtd_theme -- cloudpickle =3.1.3 -- h5py =3.16.0 -- jupyter-book =1.0.0 -- mpi4py =4.1.2 -- python =3.12 -- pydantic =2.14.4 -- pyzmq =27.3.0 From 4d18f1050b3077c450f3b275289bfd9036e2903e Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 27 Nov 2026 09:42:18 +0100 Subject: [PATCH 3/5] Exclude 'docs' from optional dependencies aggregation --- .ci_support/check.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.ci_support/check.py b/.ci_support/check.py index 7bab96df..a1f98da9 100644 --- a/.ci_support/check.py +++ b/.ci_support/check.py @@ -6,11 +6,12 @@ data = tomlkit.load(f) lst = list(data['build-system']['requires']) - for sub_lst in data["project"]["optional-dependencies"].values(): - for el in sub_lst: - lst.append(el) + for key, sub_lst in data["project"]["optional-dependencies"].items(): + if key != "docs": + for el in sub_lst: + lst.append(el) data["project"]["dependencies"] += list(set(lst)) with open("pyproject.toml", "w") as f: - f.writelines(tomlkit.dumps(data)) \ No newline at end of file + f.writelines(tomlkit.dumps(data)) From 02f6ca6210de71ef9817e9239b3879da7a51b5ae Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 27 Nov 2026 09:42:53 +0100 Subject: [PATCH 4/5] Update Python version and installation method in config --- .readthedocs.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 2c9f00b2..031e8697 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -8,11 +8,10 @@ version: 2 build: os: "ubuntu-24.04" tools: - python: "mambaforge-23.11" + python: "3.14" jobs: pre_build: # Generate the Sphinx configuration for this Jupyter Book so it builds. - - pip install . --no-deps --no-build-isolation - "cp README.md docs" - "cp notebooks/*.ipynb docs" - "jupyter-book config sphinx docs/" @@ -25,6 +24,11 @@ sphinx: # Optionally build your docs in additional formats such as PDF and ePub formats: [] -# Install executorlib from conda -conda: - environment: .ci_support/environment-docs.yml +# Install executorlib from pypi +python: + install: + - method: uv + command: pip + path: . + extras: + - docs From c55e50043a2377d959efb6102105423b1a3d848b Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 27 Nov 2026 09:46:39 +0100 Subject: [PATCH 5/5] Add sphinxcontrib-mermaid to dependencies --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 49060537..cd460e90 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,6 +64,7 @@ docs = [ "nbsphinx", "sphinx", "sphinx_rtd_theme", + "sphinxcontrib-mermaid", "jupyter-book==1.0.0", ] all = [