Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
f411061
attempt to fix RTD build
andre-merzky Oct 23, 2024
fd75d50
up
andre-merzky Oct 24, 2024
f4c8782
up
andre-merzky Oct 24, 2024
f854bc9
up
andre-merzky Oct 24, 2024
39e07ea
up
andre-merzky Oct 24, 2024
c31f593
up
andre-merzky Oct 24, 2024
10853f0
up
andre-merzky Oct 24, 2024
c22a22f
up
andre-merzky Oct 24, 2024
c226d15
up
andre-merzky Oct 24, 2024
153685a
Merge branch 'devel' into fix/gh_rtd
mtitov Oct 25, 2024
0040b54
merge from devel
andre-merzky Oct 31, 2024
0dc0e70
merge from devel
andre-merzky Nov 1, 2024
bcdc843
merge from devel
andre-merzky Nov 1, 2024
90c2fbc
merge from devel
andre-merzky Nov 18, 2024
706c11d
merge from devel
andre-merzky Nov 19, 2024
fdf8961
merge from devel
andre-merzky Nov 19, 2024
39a2417
merge from devel
andre-merzky Nov 20, 2024
3b6452f
merge from devel
andre-merzky Nov 20, 2024
cb9be26
merge from devel
andre-merzky Nov 20, 2024
a19e631
deps, upload arts
andre-merzky Nov 25, 2024
2a65e35
collect arts
andre-merzky Nov 25, 2024
a7130a5
snap
andre-merzky Nov 25, 2024
f610cea
snap
andre-merzky Nov 25, 2024
959ec3c
snap
andre-merzky Nov 25, 2024
5321024
snap
andre-merzky Nov 25, 2024
e080f52
snap
andre-merzky Nov 25, 2024
a951240
snap
andre-merzky Nov 25, 2024
09a51ba
snap
andre-merzky Nov 26, 2024
0a42a74
merge from devel
andre-merzky Nov 26, 2024
85a1fe6
merge from devel
andre-merzky Dec 4, 2024
ae93b74
merge from devel
andre-merzky Dec 4, 2024
7633a96
merge from devel
andre-merzky Dec 10, 2024
d46ae97
merge from devel
andre-merzky Dec 10, 2024
dbf76c4
merge from devel
andre-merzky Dec 10, 2024
bb17146
merge from devel
andre-merzky Dec 12, 2024
cd35bbb
merge from devel
andre-merzky Dec 16, 2024
bde23f1
merge from devel
andre-merzky Dec 16, 2024
4a80a6a
merge from devel
andre-merzky Dec 16, 2024
90ed7b9
merge from devel
andre-merzky Dec 16, 2024
4453156
merge from devel
andre-merzky Dec 16, 2024
b7f34db
merge from devel
andre-merzky Dec 16, 2024
ed37ab0
Merge branch 'fix/gh_rtd' of github.com:radical-cybertools/radical.pi…
andre-merzky Jan 21, 2025
24771a9
no python 3.7 anymore in GHs Ubuntu image
andre-merzky Jan 21, 2025
8b88296
no python 3.7 anymore in GHs Ubuntu image
andre-merzky Jan 21, 2025
39023e8
relax version requirement
andre-merzky Jan 21, 2025
d211f68
snap
andre-merzky Jan 21, 2025
296629d
merge from devel
andre-merzky Jan 22, 2025
252d979
merge from devel
andre-merzky Jan 22, 2025
54b780a
merge from devel
andre-merzky Jan 22, 2025
832bcea
merge from devel
andre-merzky Jan 24, 2025
fff3807
merge from devel
andre-merzky Jan 24, 2025
31ede5d
merge from devel
andre-merzky Jan 28, 2025
2e246d4
merge from devel
andre-merzky Feb 4, 2025
dead0d4
merge from devel
andre-merzky Feb 25, 2025
b1af1b3
merge from devel
andre-merzky Feb 25, 2025
6dc55ac
merge from devel
andre-merzky Mar 5, 2025
5118161
merge from devel
andre-merzky Mar 5, 2025
99dbdca
merge from devel
andre-merzky Mar 5, 2025
1269cb9
merge from devel
andre-merzky Mar 6, 2025
ec6ad9e
snap
andre-merzky Mar 7, 2025
240f9f4
snap
andre-merzky Mar 7, 2025
80474ad
merge from devel
andre-merzky Mar 12, 2025
1420a36
merge from devel
andre-merzky Mar 14, 2025
c11081e
merge from devel
andre-merzky Mar 18, 2025
450c2a7
merge from devel
andre-merzky Mar 19, 2025
33f5717
merge from devel
andre-merzky Mar 25, 2025
624f9d5
merge from devel
andre-merzky Mar 26, 2025
f057f68
merge from devel
andre-merzky Apr 3, 2025
e7bf6e6
merge from devel
andre-merzky Apr 23, 2025
5fd9ecd
merge from devel
andre-merzky May 12, 2025
4640651
merge from devel
andre-merzky May 19, 2025
8281b43
merge from devel
andre-merzky May 22, 2025
0449be1
merge from devel
andre-merzky May 23, 2025
b07c7a2
merge from devel
andre-merzky May 28, 2025
302c8b4
merge from devel
andre-merzky Jun 3, 2025
9a83b1a
merge from devel
andre-merzky Jun 10, 2025
1f88d2b
merge from devel
andre-merzky Jun 11, 2025
d33d055
merge from devel
andre-merzky Jul 30, 2025
038c01f
merge from devel
andre-merzky Aug 19, 2025
6592884
merge from devel
andre-merzky Aug 21, 2025
568d751
merge from devel
andre-merzky Sep 24, 2025
d3ddc89
merge from devel
andre-merzky Oct 20, 2025
4e18252
merge from devel
andre-merzky Oct 20, 2025
770f220
merge from devel
andre-merzky Oct 21, 2025
e6d25c4
merge from devel
andre-merzky Oct 27, 2025
3eedeef
merge from devel
andre-merzky Oct 30, 2025
c2f0644
merge from devel
andre-merzky Oct 30, 2025
39f438f
merge from devel
andre-merzky Nov 5, 2025
0b74d9c
merge from devel
andre-merzky Nov 6, 2025
8b3295c
merge from devel
andre-merzky Nov 18, 2025
1b75eb8
merge from devel
andre-merzky Nov 18, 2025
7dc3e04
merge from devel
andre-merzky Nov 19, 2025
5d0ad1a
merge from devel
andre-merzky Dec 9, 2025
fa5eb29
merge from devel
andre-merzky May 20, 2026
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
13 changes: 11 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ jobs:
test-getting_started:
uses: ./.github/workflows/run-rp-notebook.yml
with:
python-version: 3.9
python-version: 3.12
requirements-file: 'requirements-docs-ci.txt'
notebook-name: 'getting_started.ipynb'

test-tutorials:
strategy:
matrix:
tutorial: [
# FIXME: *.ipynb
'configuration.ipynb',
'debugging.ipynb',
'describing_tasks.ipynb',
Expand All @@ -43,8 +44,16 @@ jobs:
]
uses: ./.github/workflows/run-rp-notebook.yml
with:
python-version: 3.9
python-version: 3.12
requirements-file: 'requirements-docs-ci.txt'
notebook-name: ${{ matrix.tutorial }}
notebook-path: 'tutorials'

# build-docs: # FIXME...
# # runs on VM1
# # sphinx w/o notebooks
#
# commit-notebooks: # FIXME...
# # runs on VM2
# # sphinx w/o notebooks

77 changes: 77 additions & 0 deletions .github/workflows/rtd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: 'Build RTD'

on:
push:
branches:
- 'devel*'
pull_request:
branches:
- 'devel*'
- 'master*'

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true

jobs:
rtd:
name: "Build documentation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt update
sudo apt install -y pandoc
sudo apt install -y libopenmpi-dev
sudo apt install -y texlive cm-super
sudo apt install -y texlive-fonts-extra texlive-extra-utils dvipng
sudo apt install -y texlive-fonts-recommended texlive-latex-extra
python -m pip install -U pip
python -m pip install -r requirements-docs-ci.txt

- name: Build the docs
run: |
export RADICAL_LOG_LVL=DEBUG
export RADICAL_BASE=`pwd`
# FIXME: magic rm / empty all cells
sphinx-build -M html docs/source docs/build
cp -R docs/build/*ipy docs/source

- name: Collect artifacts
if: always()
run: |
mkdir doc_artifacts/
cp -R ./docs doc_artifacts/
cp -R ./rp.sess* doc_artifacts/
cp -R /home/runner/radical.pilot.sandbox doc_artifacts/

- name: Upload doc artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: doc_artifacts
path: doc_artifacts
retention-days: 5

- name: Upload to RTD
uses: actions/upload-artifact@v4
if: always()
with:
name: rtd-${{ github.sha }}
path: docs/build

- name: Trigger RTDs build
uses: dfm/rtds-action@v1
with:
webhook_url: ${{ secrets.RTD_URL }}
webhook_token: ${{ secrets.RTD_TOKEN }}
commit_ref: ${{ github.ref }}

18 changes: 18 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

import os

# -- Path setup --------------------------------------------------------------

# If extensions (or modules to document with autodoc) are in another directory,
Expand Down Expand Up @@ -56,6 +58,13 @@
'myst_parser'
]


github_token = os.environ.get("GITHUB_TOKEN")

if github_token:
extensions.append('rtds_action')


# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# The suffix(es) of source filenames.
Expand Down Expand Up @@ -120,3 +129,12 @@
# napoleon_preprocess_types = False
# napoleon_type_aliases = None
# napoleon_attr_annotations = True

# -- rtds settings -------------------------------------------------------------
# The "prefix" used in the `upload-artifact` step of the action
if github_token:
rtds_action_github_repo = "radical-cybertools/radical.pilot"
rtds_action_github_token = github_token
rtds_action_artifact_prefix = "rtd-"
rtds_action_error_if_missing = False

6 changes: 3 additions & 3 deletions docs/source/process/release_procedure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ That last step is hard to automate as it involves resolving conflicts in all bra


Preparing a hotfix release
-------------------------
--------------------------

1. Create branch from latest master: e.g. ``git checkout master; git pull; git
checkout -b hotfix/issue_123``;
Expand All @@ -71,8 +71,8 @@ Preparing a hotfix release
abcsuperdupercommit890`` (The latter is preferred);
4. update release notes: ``$EDITOR CHANGES.md``;
5. commit and push: ``git commit -a; git push``;
6. create `pull-request <https://github.com/radical-cybertools/radical.pilot/pulls>`__
of hotfix branch to master;
6. create `pull-request <https://github.com/radical-cybertools/radical.pilot/pulls>`__ of hotfix
branch to master;
7. wait on and/or nudge other developer to review and test;
8. if not approved, ``GOTO 3``.

Expand Down
2 changes: 2 additions & 0 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ python-dotenv[cli]
sphinx_copybutton
sphinx_rtd_theme>=0.5.1
myst_parser
docutils
rtds_action
docutils==0.17.1
mpi4py

4 changes: 2 additions & 2 deletions src/radical/pilot/task_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,9 +717,9 @@ class TaskDescription(FastTypedDict):

# --------------------------------------------------------------------------
#
def __init__(self, from_dict=None):
def __init__(self, from_dict=None, **kwargs):

super().__init__(from_dict=from_dict)
super().__init__(from_dict=from_dict, **kwargs)


# --------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions tests/workflows/bridges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
4 changes: 2 additions & 2 deletions tests/workflows/summit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
Loading