From f614acfe6c27d75826e6828c64458f78cc7fdc99 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Wed, 17 Dec 2025 14:30:32 +1100 Subject: [PATCH 1/4] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Update=20dependencies?= =?UTF-8?q?=20and=20configure=20Dependabot=20for=20conda=20ecosystem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update anaconda: 2025.06 → 2025.12 - Update quantecon-book-theme: 0.14.0 → 0.15.1 - Update sphinxext-rediraffe: 0.2.7 → 0.3.0 - Pin jupyter-book to >=1.0.4post1,<2.0 - Configure Dependabot to use conda ecosystem for environment.yml - Add ignore rule for jupyter-book versions >=2.0 --- .github/dependabot.yml | 10 ++++++++++ environment.yml | 8 ++++---- 2 files changed, 14 insertions(+), 4 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/environment.yml b/environment.yml index 55720e34..5db4b19e 100644 --- a/environment.yml +++ b/environment.yml @@ -3,13 +3,13 @@ channels: - default dependencies: - python=3.13 - - anaconda=2025.06 + - anaconda=2025.12 - pip - pip: - - jupyter-book==1.0.4post1 - - quantecon-book-theme==0.14.0 + - jupyter-book>=1.0.4post1,<2.0 + - quantecon-book-theme==0.15.1 - sphinx-tojupyter==0.6.0 - - sphinxext-rediraffe==0.2.7 + - sphinxext-rediraffe==0.3.0 - sphinx-exercise==1.2.1 - sphinxcontrib-youtube==1.4.1 - sphinx-togglebutton==0.3.2 From 8a74a8cb26b050aab1e1bf9321c508456438f73c Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Wed, 17 Dec 2025 14:34:14 +1100 Subject: [PATCH 2/4] Temporarily disable build cache for full preview build --- .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 58f69dcc..a57eaba6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,13 +44,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} From e7421fadc542228829c337ed858648d3b3544b3b Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Mon, 22 Dec 2025 12:05:18 +1100 Subject: [PATCH 3/4] Add nb_merge_streams to _config.yml --- lectures/_config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/lectures/_config.yml b/lectures/_config.yml index 430ab306..75bb1d93 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -27,6 +27,7 @@ sphinx: 'https://www.reddit.com/', 'https://openai.com', 'https://chatgpt.com/'] + nb_merge_streams: true html_favicon: _static/lectures-favicon.ico html_theme: quantecon_book_theme html_static_path: ['_static'] From eae4e493693157f14c82acb6a9d77b22be8ba57e Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Mon, 22 Dec 2025 15:28:59 +1100 Subject: [PATCH 4/4] Add exercise_style config and re-enable build cache - Add exercise_style: solution_follow_exercise for sphinx-exercise - Re-enable build cache after full execution checks --- .github/workflows/ci.yml | 14 +++++++------- lectures/_config.yml | 2 ++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a57eaba6..58f69dcc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,13 +44,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/lectures/_config.yml b/lectures/_config.yml index 75bb1d93..e4a2395b 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -28,6 +28,8 @@ sphinx: 'https://openai.com', 'https://chatgpt.com/'] nb_merge_streams: true + # sphinx-exercise + exercise_style: "solution_follow_exercise" html_favicon: _static/lectures-favicon.ico html_theme: quantecon_book_theme html_static_path: ['_static']