Skip to content

⬆️ Bump anaconda from 2026.06 to 2026.07#364

Merged
mmcky merged 1 commit into
mainfrom
upgrade-anaconda-2026.07
Jul 20, 2026
Merged

⬆️ Bump anaconda from 2026.06 to 2026.07#364
mmcky merged 1 commit into
mainfrom
upgrade-anaconda-2026.07

Conversation

@mmcky

@mmcky mmcky commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Rolling monthly bump of the conda env pin anaconda=2026.06 → 2026.07.

Why this is hand-authored rather than a Dependabot PR

Dependabot assigns each repo a fixed weekly slot, and this repo's slot had not yet fired for the 2026.07 release. The rest of the Python lecture family has already been bumped, validated and merged, so this opens the PR by hand to finish the sweep rather than waiting several more days.

If Dependabot later opens its own PR for the same bump it will not recognise this one, so that duplicate should be closed (as happened with lecture-python-advanced.myst#349 during the 2026.06 round).

Validation

The pull_request CI check is not a meaningful test of an env-only bump — it downloads the main build-cache artifact and reuses the cached notebook outputs, so it skips re-executing the notebooks under the new env entirely. A green check there proves nothing about the upgrade.

The canonical signal is a cache.yml dispatch on this branch, which does a full fresh jb build lectures -W --keep-going (warnings→errors) executing every notebook under 2026.07. I have dispatched that run and will report the result here.

Known 2026.07 breakage — pre-checked

The one regression found so far in this sweep is that anaconda 2026.07's matplotlib removes the long-deprecated matplotlib.cm.get_cmap, which raises ImportError at import time and kills the whole notebook (hit lecture-python-intro laffer_adaptive.md, fixed in QuantEcon/lecture-python-intro#798). I grepped this repo's lectures/ for that pattern before opening — no hits.

Cross-repo status for this sweep is tracked in QuantEcon/workspace-lectures#21.

Rolling monthly bump of the conda env pin. Opened by hand rather than by
Dependabot: this repo's weekly Dependabot slot had not yet fired for the
2026.07 release, and the rest of the Python lecture family has already
been validated and merged.

Validated the same way as the rest of the family — by dispatching
`cache.yml` on this branch for a full fresh `jb build lectures -W
--keep-going` under the new env. See QuantEcon/workspace-lectures#21 for
the cross-repo status.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 19, 2026 23:40
@netlify

netlify Bot commented Jul 19, 2026

Copy link
Copy Markdown

Deploy Preview for lustrous-melomakarona-3ee73e ready!

Name Link
🔨 Latest commit 0568f72
🔍 Latest deploy log https://app.netlify.com/projects/lustrous-melomakarona-3ee73e/deploys/6a5d6054bee81400086ea18f
😎 Deploy Preview https://deploy-preview-364--lustrous-melomakarona-3ee73e.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR performs the monthly maintenance update to the repository’s conda environment by bumping the pinned anaconda metapackage version from 2026.06 to 2026.07, keeping the lecture build environment aligned with the rest of the lecture family.

Changes:

  • Update environment.yml to pin anaconda=2026.07 instead of 2026.06.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

Copy link
Copy Markdown
Contributor

@mmcky

mmcky commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Validated — safe to merge.

Validated by dispatching cache.yml on this branch, which does a full fresh jb build lectures -W --keep-going (warnings→errors), executing every notebook under anaconda 2026.07 rather than reusing the main build cache.

Result: run 29708296981 completed success, with the build job running 41m55s — a full execution pass, not a cache reuse.

I also grepped lectures/ beforehand for the one regression this sweep has turned up — anaconda 2026.07's matplotlib removes the long-deprecated matplotlib.cm.get_cmap, which raises ImportError at import time (it broke lecture-python-intro laffer_adaptive.md, fixed in QuantEcon/lecture-python-intro#798). No hits in this repo.

Note: the pull_request CI check isn't a meaningful test of an env-only bump — it downloads the main build-cache artifact and skips re-executing unchanged notebooks. The cache-workflow run above is the canonical signal.

Cross-repo status for this sweep is tracked in QuantEcon/workspace-lectures#21.

@mmcky
mmcky merged commit 46f0e52 into main Jul 20, 2026
11 checks passed
@mmcky
mmcky deleted the upgrade-anaconda-2026.07 branch July 20, 2026 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants