Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .ci_support/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
f.writelines(tomlkit.dumps(data))
20 changes: 0 additions & 20 deletions .ci_support/environment-docs.yml

This file was deleted.

14 changes: 9 additions & 5 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -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
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ cluster = [
validation = [
"pydantic==2.14.4",
]
docs = [
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
"myst-parser",
"nbsphinx",
"sphinx",
"sphinx_rtd_theme",
"sphinxcontrib-mermaid",
"jupyter-book==1.0.0",
]
all = [
"mpi4py==4.1.2",
"pysqa==1.2.0",
Expand Down
Loading