⬆️ Upgrade build software and dependencies#97
Conversation
- 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 - Add nb_merge_streams and path_to_docs to _config.yml - Temporarily disable build cache for full execution check
✅ Deploy Preview for astonishing-narwhal-a8fc64 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…precated JAX API, fix undefined variable - Add 'import matplotlib as mpl' to 7 files that use mpl.font_manager - Fix docstring indentation in ogm.py (7 spaces -> 8 spaces) - Update deprecated jax.lib.xla_bridge to jax.extend.backend in back_prop.md - Fix undefined variable '失败者列表' -> 'loser_list' in house_auction.md
Build Error FixesFixed all 14 build errors across 11 files: 1. Missing
|
Python version should be constrained by the anaconda distribution version specified in environment.yml, not updated independently by dependabot.
✅ Deploy Preview for astonishing-narwhal-a8fc64 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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>
|
Closing as superseded, per review with Matt: the environment/config half landed via #165 (aligned to the source's current pins — this PR's December pins had fallen seven months behind), and the CI/dependabot half plus the missing wald_dec_rule.png carried forward into #166. The lecture-code fixes here were either regenerated correctly by the Track B resync wave (back_prop's jax API, house_auction's identifier) or applied directly to the wave branches (the five missing |
#97) (#166) * CI hardening: strict builds, conda dependabot, missing wald_dec_rule.png Carries forward the pieces of #97 that #165 did not supersede: - jb build gains '-n -W --keep-going' in cache/ci/publish workflows, matching the English source repos' strict-build convention - dependabot watches the conda ecosystem (jupyter-book pinned <2.0, python constrained by the anaconda distribution) - wald_dec_rule.png copied from the source repo (referenced by wald_friedman_2 but absent here - a warning today, an error under -W) Dropped from #97 as obsolete: the lecture-code fixes (regenerated by the Track B resync wave or applied directly to its branches) and the ogm.py tweak (optgrowth_fast was removed in #99). Part of Phase 0 Track B, QuantEcon/lecture-python.myst#947. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Fix the two main-content strict-build breaks: mix_model import, cass_fiscal ref mix_model kept a CJK font-config block without the mpl import it needs (same class as the five wave-branch fixes; mix_model was skipped by the wave so the pre-existing bug stayed on main). cass_fiscal's note pointed {doc} at a document that never existed; replaced with the wave branch's exact {ref}`growth_model` sentence so the resync PR merges cleanly over it. newton_method's two iref_ambiguous warnings are NOT patched here: old main lacks the local anchors, and the resync PR (#140) adds them - merging #140 resolves those warnings without conflict-prone edits. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Summary
Upgrades build software and dependencies to align with lecture-python-intro.
Changes
environment.yml
.github/dependabot.yml
.github/workflows/ci.yml
lectures/_config.yml
Reference