Skip to content

Commit 4fc132f

Browse files
mmckyclaude
andauthored
Align build environment with the English source (#165)
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 <noreply@anthropic.com>
1 parent 0230e7e commit 4fc132f

2 files changed

Lines changed: 13 additions & 10 deletions

File tree

environment.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@ channels:
33
- default
44
dependencies:
55
- python=3.13
6-
- anaconda=2025.06
6+
- anaconda=2026.06
77
- pip
88
- pip:
9-
- jupyter-book==1.0.4post1
10-
- quantecon-book-theme==0.10.1
11-
- sphinx-tojupyter==0.3.1
12-
- sphinxext-rediraffe==0.2.7
13-
- sphinx-exercise==1.2.0
14-
- sphinx-proof==0.3.0
15-
- sphinxcontrib-youtube==1.4.1
16-
- sphinx-togglebutton==0.3.2
17-
- sphinx-reredirects==0.1.4
9+
- jupyter-book>=1.0.4post1,<2.0
10+
- quantecon-book-theme==0.21.0
11+
- sphinx-tojupyter==0.6.0
12+
- sphinxext-rediraffe==0.3.0
13+
- sphinx-exercise==1.2.1
14+
- sphinx-proof==0.4.0
15+
- sphinxcontrib-youtube==1.5.0
16+
- sphinx-togglebutton==0.4.5
17+
- sphinx-reredirects==1.1.0
18+
19+

lectures/_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ sphinx:
3838
# false-positive links
3939
linkcheck_ignore: ['https://online.stat.psu.edu/stat415/book/export/html/834']
4040
bibtex_reference_style: author_year
41+
nb_merge_streams: true
4142
nb_mime_priority_overrides: [
4243
# HTML
4344
['html', 'application/vnd.jupyter.widget-view+json', 10],

0 commit comments

Comments
 (0)