From 21ca355f59ddbe2a243ff3eed624f52a4dfe0342 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Sat, 18 Jul 2026 20:04:29 +1000 Subject: [PATCH] Align build environment with the English source MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit environment.yml copied from lecture-python.myst (anaconda 2026.06, jupyter-book <2.0, quantecon-book-theme 0.21.0, sphinx-tojupyter 0.6.0 and current sphinx-* pins) so the resynced 2026-era lecture code builds against the same stack the source executes under. Adds the source's nb_merge_streams setting to _config.yml. Supersedes the environment half of #97 (which pinned anaconda 2025.12 / theme 0.15.1 — current in December, seven months behind now). Part of Phase 0 Track B, QuantEcon/lecture-python.myst#947. Co-Authored-By: Claude Fable 5 --- environment.yml | 22 ++++++++++++---------- lectures/_config.yml | 1 + 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/environment.yml b/environment.yml index 8d36c88d..dbc833d1 100644 --- a/environment.yml +++ b/environment.yml @@ -3,15 +3,17 @@ channels: - default dependencies: - python=3.13 - - anaconda=2025.06 + - anaconda=2026.06 - pip - pip: - - jupyter-book==1.0.4post1 - - quantecon-book-theme==0.10.1 - - sphinx-tojupyter==0.3.1 - - sphinxext-rediraffe==0.2.7 - - sphinx-exercise==1.2.0 - - sphinx-proof==0.3.0 - - sphinxcontrib-youtube==1.4.1 - - sphinx-togglebutton==0.3.2 - - sphinx-reredirects==0.1.4 \ No newline at end of file + - jupyter-book>=1.0.4post1,<2.0 + - quantecon-book-theme==0.21.0 + - sphinx-tojupyter==0.6.0 + - sphinxext-rediraffe==0.3.0 + - sphinx-exercise==1.2.1 + - sphinx-proof==0.4.0 + - sphinxcontrib-youtube==1.5.0 + - sphinx-togglebutton==0.4.5 + - sphinx-reredirects==1.1.0 + + diff --git a/lectures/_config.yml b/lectures/_config.yml index b6ef10e8..d49f6123 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -38,6 +38,7 @@ sphinx: # false-positive links linkcheck_ignore: ['https://online.stat.psu.edu/stat415/book/export/html/834'] bibtex_reference_style: author_year + nb_merge_streams: true nb_mime_priority_overrides: [ # HTML ['html', 'application/vnd.jupyter.widget-view+json', 10],