From 7aa655b70005653f091859fe66a6916b2739bce5 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Mon, 22 Dec 2025 12:25:47 +1100 Subject: [PATCH 1/6] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Upgrade=20build=20soft?= =?UTF-8?q?ware=20and=20dependencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- .github/dependabot.yml | 10 ++++++++++ .github/workflows/ci.yml | 14 +++++++------- environment.yml | 6 +++--- 3 files changed, 20 insertions(+), 10 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7809c2a9..bb2ad36d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,3 +11,13 @@ updates: prefix: ⬆️ schedule: interval: weekly + + - package-ecosystem: "conda" + directory: "/" + commit-message: + prefix: ⬆️ + schedule: + interval: weekly + ignore: + - dependency-name: "jupyter-book" + versions: [">=2.0"] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b95b7a6e..1f5a3fa8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,13 +30,13 @@ jobs: - name: Display Pip Versions shell: bash -l {0} run: pip list - - name: Download "build" folder (cache) - uses: dawidd6/action-download-artifact@v11 - with: - workflow: cache.yml - branch: main - name: build-cache - path: _build + # - name: Download "build" folder (cache) + # uses: dawidd6/action-download-artifact@v11 + # with: + # workflow: cache.yml + # branch: main + # name: build-cache + # path: _build # Build Assets (Download Notebooks and PDF via LaTeX) - name: Build Download Notebooks (sphinx-tojupyter) shell: bash -l {0} diff --git a/environment.yml b/environment.yml index e16b7c69..46e0ba54 100644 --- a/environment.yml +++ b/environment.yml @@ -3,11 +3,11 @@ channels: - default dependencies: - python=3.13 - - anaconda=2025.06 + - anaconda=2025.12 - pip - pip: - - jupyter-book==1.0.4post1 - - quantecon-book-theme==0.15.0 + - 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 From 1efd55015a3c1067063eb79aadb0adb513e4dc3f Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Mon, 22 Dec 2025 16:15:19 +1100 Subject: [PATCH 2/6] 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) --- .github/workflows/collab.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/collab.yml b/.github/workflows/collab.yml index ed4323fe..6f632c1f 100644 --- a/.github/workflows/collab.yml +++ b/.github/workflows/collab.yml @@ -32,7 +32,7 @@ jobs: - name: Install Build Software shell: bash -l {0} run: | - 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 + 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 # Build of HTML (Execution Testing) - name: Build HTML shell: bash -l {0} From ffdc8fd28d785a5ba3339ee2ac980a26a0f7a72a Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Tue, 23 Dec 2025 12:35:22 +1100 Subject: [PATCH 3/6] Fix pip install command in collab.yml - remove escaped < character --- .github/workflows/collab.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/collab.yml b/.github/workflows/collab.yml index 6f632c1f..8fff8c88 100644 --- a/.github/workflows/collab.yml +++ b/.github/workflows/collab.yml @@ -32,7 +32,7 @@ jobs: - name: Install Build Software shell: bash -l {0} run: | - 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 + 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 # Build of HTML (Execution Testing) - name: Build HTML shell: bash -l {0} From 1108644659bf52be0f239e10abca9463f78031e7 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Tue, 23 Dec 2025 13:08:04 +1100 Subject: [PATCH 4/6] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Configure=20dependabot?= =?UTF-8?q?=20to=20ignore=20Python=20version=20updates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Python version should be constrained by the anaconda distribution version specified in environment.yml, not updated independently by dependabot. --- .github/dependabot.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index bb2ad36d..1ab7ca35 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -21,3 +21,5 @@ updates: ignore: - dependency-name: "jupyter-book" versions: [">=2.0"] + - dependency-name: "python" + # Python version should be constrained by the anaconda distribution version From 9b92938e58a252035ca4e2345e29eb0e49f0f55e Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Tue, 23 Dec 2025 14:21:28 +1100 Subject: [PATCH 5/6] Fix dependabot python ignore rule to include versions constraint --- .github/dependabot.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1ab7ca35..04804108 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -23,3 +23,4 @@ updates: versions: [">=2.0"] - dependency-name: "python" # Python version should be constrained by the anaconda distribution version + versions: [">0"] From 7b394e873af095f025a50a9ebe5663dd7ab24f01 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Tue, 23 Dec 2025 15:52:59 +1100 Subject: [PATCH 6/6] Re-enable build cache in CI workflow --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f5a3fa8..b95b7a6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,13 +30,13 @@ jobs: - name: Display Pip Versions shell: bash -l {0} run: pip list - # - name: Download "build" folder (cache) - # uses: dawidd6/action-download-artifact@v11 - # with: - # workflow: cache.yml - # branch: main - # name: build-cache - # path: _build + - name: Download "build" folder (cache) + uses: dawidd6/action-download-artifact@v11 + with: + workflow: cache.yml + branch: main + name: build-cache + path: _build # Build Assets (Download Notebooks and PDF via LaTeX) - name: Build Download Notebooks (sphinx-tojupyter) shell: bash -l {0}