Skip to content

Commit a554925

Browse files
authored
⬆️ Upgrade build software and dependencies (#274)
* ⬆️ Upgrade build software and dependencies - Upgrade anaconda to 2025.12 - Upgrade quantecon-book-theme to 0.15.1 - Add jupyter-book version constraint (<2.0) - Configure Dependabot for conda ecosystem with jupyter-book restriction - Temporarily disable build cache for full execution check * Update collab.yml to use current package versions matching environment.yml - jupyter-book: 0.15.1 -> >=1.0.4post1,<2.0 - sphinx-exercise: 0.4.1 -> 1.2.1 (fixes exercise_style config warning) - quantecon-book-theme: 0.7.1 -> 0.15.1 - sphinx-tojupyter: 0.3.0 -> 0.6.0 - sphinxext-rediraffe: 0.2.7 -> 0.3.0 - sphinxcontrib-youtube: 1.1.0 -> 1.4.1 - sphinx-togglebutton: 0.3.1 -> 0.3.2 - Added sphinx-proof 0.3.0, sphinx-reredirects 1.0.0 - Removed docutils==0.17.1, arviz==0.13.0 (not in environment.yml) * Fix pip install command in collab.yml - remove escaped < character * ⬆️ Configure dependabot to ignore Python version updates Python version should be constrained by the anaconda distribution version specified in environment.yml, not updated independently by dependabot. * Fix dependabot python ignore rule to include versions constraint * Re-enable build cache in CI workflow
1 parent c390704 commit a554925

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,16 @@ updates:
1111
prefix: ⬆️
1212
schedule:
1313
interval: weekly
14+
15+
- package-ecosystem: "conda"
16+
directory: "/"
17+
commit-message:
18+
prefix: ⬆️
19+
schedule:
20+
interval: weekly
21+
ignore:
22+
- dependency-name: "jupyter-book"
23+
versions: [">=2.0"]
24+
- dependency-name: "python"
25+
# Python version should be constrained by the anaconda distribution version
26+
versions: [">0"]

.github/workflows/collab.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Install Build Software
3333
shell: bash -l {0}
3434
run: |
35-
pip install jupyter-book==0.15.1 docutils==0.17.1 quantecon-book-theme==0.7.1 sphinx-tojupyter==0.3.0 sphinxext-rediraffe==0.2.7 sphinx-exercise==0.4.1 sphinxcontrib-youtube==1.1.0 sphinx-togglebutton==0.3.1 arviz==0.13.0
35+
pip install "jupyter-book>=1.0.4post1,<2.0" quantecon-book-theme==0.15.1 sphinx-tojupyter==0.6.0 sphinxext-rediraffe==0.3.0 sphinx-exercise==1.2.1 sphinx-proof==0.3.0 sphinxcontrib-youtube==1.4.1 sphinx-togglebutton==0.3.2 sphinx-reredirects==1.0.0
3636
# Build of HTML (Execution Testing)
3737
- name: Build HTML
3838
shell: bash -l {0}

environment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ channels:
33
- default
44
dependencies:
55
- python=3.13
6-
- anaconda=2025.06
6+
- anaconda=2025.12
77
- pip
88
- pip:
9-
- jupyter-book==1.0.4post1
10-
- quantecon-book-theme==0.15.0
9+
- jupyter-book>=1.0.4post1,<2.0
10+
- quantecon-book-theme==0.15.1
1111
- sphinx-tojupyter==0.6.0
1212
- sphinxext-rediraffe==0.3.0
1313
- sphinx-exercise==1.2.1

0 commit comments

Comments
 (0)