⬆️ Bump anaconda from 2025.12 to 2026.06#923
Conversation
Sets execute_notebooks: force so CI re-executes every lecture under the new stack (pandas 3.0.3, numba 0.65.1, numpy 2.4.6, ...) instead of reusing the main-branch jupyter-cache built under anaconda 2025.12. Validation-only commit for PR #923. REVERT BEFORE MERGE. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
f9887d6 to
237a3ab
Compare
📖 Netlify Preview Ready!Preview URL: https://pr-923--sunny-cactus-210e3e.netlify.app Commit: Build Info
|
- execute_notebooks: force -> re-execute every lecture under the new stack (pandas 3.0.3, numba 0.65.1, numpy 2.4.6, scipy 1.17.1, ...) with -W --keep-going so all execution failures are collected, not just the first. - Upload Execution Reports (notebooks): if always() so reports survive a spot-runner cancellation. Validation-only commit for PR #923. REVERT BEFORE MERGE. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
⛔ Blocked by #924 — labeled A full forced re-execution of all lectures under anaconda 2026.06 (pandas 3.0.3) shows that merging this bump breaks Note: the green Two other lectures ( |
6cfd3d0 to
237a3ab
Compare
…French downloads (#925) * [hansen_singleton] replace pandas-datareader with direct FRED/Fama-French fetch pandas-datareader 0.10.0 (last released 2021, unmaintained) breaks at import under pandas 3.0 -- it relies on pandas' private deprecate_kwarg, whose signature changed -- so hansen_singleton_1982 and hansen_singleton_1983 fail to execute under anaconda 2026.06 (see #923). There is no pandas-3.0-compatible pandas-datareader release to pin to. Replace the two web.DataReader calls with small direct downloads that use only the standard library + pandas: - FRED: pd.read_csv from the fredgraph.csv endpoint - Fama-French: parse the F-F_Research_Data_Factors zip from the Ken French data library Since no extra package is needed, the in-notebook `!pip install pandas-datareader` cell and the now-dead date_parser warnings filter are removed too. Verified the new fetch returns byte-identical FRED and Fama-French data to the old pandas-datareader path on pandas 2.3.3, and that the full data construction runs clean with FutureWarning/DeprecationWarning promoted to errors (i.e. pandas-3.0 safe). Closes #924 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * [hansen_singleton] read vendored data snapshot instead of fetching inline Switch both lectures to read the pre-built monthly CSV from _static/lecture_specific/hansen_singleton_198{2,3}/ (added in PR #926) via its raw GitHub URL, replacing the inline FRED / Fama-French download helpers from the previous commit. The data construction now lives in the per-lecture make_data.py maintenance scripts; the lectures just read the frozen snapshot. This keeps the build reproducible and off the live data endpoints, and still removes the pandas-datareader dependency that breaks under pandas 3.0. Depends on PR #926 (must land on main first so the raw URL resolves). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * [hansen_singleton] cache the vendored CSV at cell scope Read the snapshot once into a module-level _data and have load_hs_monthly_data slice a copy of it, instead of re-downloading/parsing on every call. This removes the redundant fetch in hansen_singleton_1983 (which loads via both get_estimation_data and get_tbill_estimation_data). The .copy() keeps callers from mutating the cached frame. Addresses Copilot review on PR #925. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
|
@dependabot rebase |
Bumps anaconda from 2025.12 to 2026.06. --- updated-dependencies: - dependency-name: anaconda dependency-version: '2026.06' dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
237a3ab to
619773a
Compare
Validation summary — safe to merge ✅TL;DR: under a forced full execution on anaconda 2026.06, this PR introduces no new failures versus Why the green
|
| Lecture | Result |
|---|---|
hansen_singleton_1982 / hansen_singleton_1983 |
✅ pass — re-executed under pandas 3.0 |
ar1_bayes / ar1_turningpts (arviz) |
✅ pass |
house_auction |
❌ fail — AttributeError: module 'wcwidth' has no attribute 'width' |
Control build on main — anaconda 2025.12, same day
Run 28221839832:
| Lecture | Result |
|---|---|
house_auction |
❌ fail — identical wcwidth.width error |
| everything else | ✅ pass |
(The first attempt of this control run was a spot-runner reclamation — failed with no execution reports — now mitigated by on-demand runners in #936.)
Conclusion
Both anaconda bases fail today on exactly one lecture, house_auction, with the same error → the failure is independent of the anaconda version. So this bump adds zero regressions and is strictly an improvement (it carries the Hansen fix).
Detail: house_auction (pre-existing, not this PR)
prettytable 3.18.0 (released 2026-06-22) requires wcwidth>=0.3.5 and calls wcwidth.width(), but the anaconda base ships wcwidth 0.2.13 (no .width), and the lecture's !pip install prettytable doesn't upgrade it. Breaks on any base today; main's last good weekly build just predated the 3.18.0 upload. Tracked with an in-lecture fix in #935 — separate from this PR.
Detail: Hansen — the bump's only real regression, now fixed
Under pandas 3.0, pandas-datareader died at import. Fixed by vendoring the input data (#926) and switching the lectures to read it (#925) — both merged. The vendored data was validated identical to the original live-fetch series to 2.2e-16, and the 1982 figures render pixel-identical (the 1983 MLE residual diagnostic shifts cosmetically; economics unchanged).
Verdict: clean to merge.
Bumps anaconda from 2025.12 to 2026.06.