⬆️ Bump anaconda from 2026.06 to 2026.07#797
Conversation
✅ Deploy Preview for taupe-gaufre-c4e660 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
) * FIX: remove unused get_cmap import in laffer_adaptive anaconda 2026.07 ships a matplotlib that has removed the long-deprecated `matplotlib.cm.get_cmap`, so the first code cell of `laffer_adaptive.md` fails at import time with: ImportError: cannot import name 'get_cmap' from 'matplotlib.cm' The symbol is never used anywhere in the lecture, so the import is simply dropped rather than migrated to `matplotlib.colormaps[...]`. Found while validating the anaconda 2026.06 -> 2026.07 bump (#797). See QuantEcon/workspace-lectures#21 for the cross-repo validation status. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * FIX: remove unused to_rgba import in laffer_adaptive `to_rgba` is imported but never referenced anywhere in the lecture — the only occurrence in the file is the import statement itself. Unlike `get_cmap` this one is not yet fatal (matplotlib still ships `to_rgba`), but it is dead either way, so it goes with the same cleanup. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
@dependabot rebase |
Bumps anaconda from 2026.06 to 2026.07. --- updated-dependencies: - dependency-name: anaconda dependency-version: '2026.07' dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
1bfc802 to
b9443b9
Compare
mmcky
left a comment
There was a problem hiding this comment.
✅ Validated — safe to merge.
The first validation attempt on this branch (run 29685190525) failed: anaconda 2026.07 ships a matplotlib that removes the long-deprecated matplotlib.cm.get_cmap, and laffer_adaptive.md imported it, so that notebook died on its first cell with ImportError. Every other lecture built clean, so it was a single isolated breakage.
That was fixed on main in #798 (the import was dead — never used — so it was simply dropped, along with an unused to_rgba alongside it). This branch was then rebased onto main to pick the fix up, and I re-dispatched the validation.
Result: run 29708174305 completed success in ~15m under -W --keep-going (warnings→errors) — a full fresh jb build lectures executing every notebook under 2026.07, not a cache reuse.
Note: the pull_request CI check isn't a real test of an env-only bump — it downloads the main build-cache artifact and skips re-executing unchanged notebooks, which is exactly why the original breakage slipped past it. The cache-workflow run above is the canonical signal.
Cross-repo status for this sweep is tracked in QuantEcon/workspace-lectures#21.
Bumps anaconda from 2026.06 to 2026.07.