Skip to content

Commit 9d2d634

Browse files
mmckyclaude
andcommitted
CI: pin jupyter-book<2 in the execution test workflows
Since jupyter-book 2.x became the default pip target the unpinned install has left every scheduled run failing at the build step with "jb: command not found" — no execution signal on any OS since May. - pin "jupyter-book<2" in all three execution-*.yml, mirroring the <2.0 pin in environment.yml (the repo stays on jupyter-book 1.x until a JB2-compatible theme exists) - drop the duplicate bare "pip install jupyter-book" in execution-win.yml - add workflow_dispatch so the workflows can be validated on demand instead of waiting for the next scheduled run Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 8dd1c0a commit 9d2d634

3 files changed

Lines changed: 15 additions & 4 deletions

File tree

.github/workflows/execution-linux.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
schedule:
44
# UTC 15:00 is early morning in Australia
55
- cron: '0 15 * * *'
6+
workflow_dispatch:
67
jobs:
78
execution-tests-linux:
89
name: Execution Tests (${{ matrix.python-version }}, ${{ matrix.os }})
@@ -23,7 +24,10 @@ jobs:
2324
shell: bash -l {0}
2425
run: |
2526
conda install anaconda
26-
pip install jupyter-book sphinx-multitoc-numbering quantecon-book-theme sphinxext-rediraffe sphinx-tojupyter sphinx-exercise sphinx-togglebutton
27+
# jupyter-book pinned <2: the 2.x line drops the jb CLI (see #569);
28+
# this repo stays on jupyter-book 1.x until a JB2-compatible theme
29+
# exists (mirrors the <2.0 pin in environment.yml)
30+
pip install "jupyter-book<2" sphinx-multitoc-numbering quantecon-book-theme sphinxext-rediraffe sphinx-tojupyter sphinx-exercise sphinx-togglebutton
2731
- name: Install Jax [CPU]
2832
shell: bash -l {0}
2933
run: |

.github/workflows/execution-osx.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
schedule:
44
# UTC 16:00 is early morning in Australia
55
- cron: '0 15 * * 1'
6+
workflow_dispatch:
67
jobs:
78
execution-tests-osx:
89
name: Execution Tests (${{ matrix.python-version }}, ${{ matrix.os }})
@@ -23,7 +24,10 @@ jobs:
2324
shell: bash -l {0}
2425
run: |
2526
conda install anaconda
26-
pip install jupyter-book sphinx-multitoc-numbering quantecon-book-theme sphinxext-rediraffe sphinx-tojupyter sphinx-exercise sphinx-togglebutton
27+
# jupyter-book pinned <2: the 2.x line drops the jb CLI (see #569);
28+
# this repo stays on jupyter-book 1.x until a JB2-compatible theme
29+
# exists (mirrors the <2.0 pin in environment.yml)
30+
pip install "jupyter-book<2" sphinx-multitoc-numbering quantecon-book-theme sphinxext-rediraffe sphinx-tojupyter sphinx-exercise sphinx-togglebutton
2731
- name: Install Jax [CPU]
2832
shell: bash -l {0}
2933
run: |

.github/workflows/execution-win.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
schedule:
44
# UTC 17:00 is early morning in Australia
55
- cron: '0 15 * * 4'
6+
workflow_dispatch:
67
jobs:
78
execution-tests-win:
89
name: Execution Tests (${{ matrix.python-version }}, ${{ matrix.os }})
@@ -27,8 +28,10 @@ jobs:
2728
conda install anaconda
2829
conda install -c numba numba
2930
conda install -c numba llvmlite
30-
pip install jupyter-book
31-
pip install jupyter-book sphinx-multitoc-numbering quantecon-book-theme sphinxext-rediraffe sphinx-tojupyter sphinx-exercise sphinx-togglebutton
31+
# jupyter-book pinned <2: the 2.x line drops the jb CLI (see #569);
32+
# this repo stays on jupyter-book 1.x until a JB2-compatible theme
33+
# exists (mirrors the <2.0 pin in environment.yml)
34+
pip install "jupyter-book<2" sphinx-multitoc-numbering quantecon-book-theme sphinxext-rediraffe sphinx-tojupyter sphinx-exercise sphinx-togglebutton
3235
- name: Install Jax [CPU]
3336
shell: bash -l {0}
3437
run: |

0 commit comments

Comments
 (0)