Repository navigation
environment.yml: the Anaconda channels are defaults - #249
Conversation
`default`, singular, is an anaconda.org user channel of that name, not Anaconda's own channels, which conda calls `defaults`. It is empty today, so builds resolve from `defaults` all the same, but conda searches `default` first, so anything uploaded there would take precedence. The six series made this change on 2026-11-25 (for the English programming edition, QuantEcon/lecture-python-programming#669). _notebook_repo/environment.yml, if present, is left for its own follow-up, as there. See QuantEcon/workspace-lectures#69. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WT8bMbNM8AQVCt2pfV5GGX
✅ Deploy Preview for sparkly-moxie-de1f0e ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for adorable-cucurucho-69162b ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Full validation:
|
| Side | Run | Commit | Result |
|---|---|---|---|
main (- default) |
45717686336 | 94c1a5f |
success on attempt 2 (see below) |
this branch (- defaults) |
45717690268 | 2c91277 |
success |
- Installed packages: identical. Both builds used the same 504 conda packages, each at the same version and build (from setup-miniconda's record of the package directories it cached), and the same pip "Successfully installed" line.
- Build warnings: identical on both sides.
- Pages: 15 pages, 4 with any difference.
status.htmldiffers only in timings. The other three differ only in figure images (kolmogorov_bwdfigure 1,memoryless2 and 3,poisson4), and the same figures differ between two builds ofmainfrom the same sources a week apart (scheduled runs 43795747430 and 45103603491). They come from random simulations, so this is noise.
The main build's first attempt failed, because of the channel this PR removes. Setup Anaconda stopped with CondaHTTPError: HTTP 503 Service Unavailable for url <https://conda.anaconda.org/default/linux-64/repodata.json>, the user channel default names. The same failure hit the fr edition's main build 14 seconds later. Builds that list only defaults don't contact that server, and none of the three branch builds hit an error. Attempt 2 of the same run succeeded. So besides letting a stranger's uploads take precedence, the default line made builds depend on an unrelated channel's server staying up.
What
environment.ymlnames the conda channeldefault:channels: - defaultchannels: - defaultsdefaultis the anaconda.org user channel of that name, not Anaconda's own channels, which conda callsdefaults. That channel is empty today, so the environment resolves fromdefaultsall the same:conda env updateappendsdefaultsunless the file listsnodefaults. But conda searchesdefaultfirst, so anything ever uploaded there would take precedence. The six lecture series made this change on 2026-11-25 (for the English programming edition, QuantEcon/lecture-python-programming#669), and QuantEcon/workspace-lectures#69 tracks the rest.Not changed here.
_notebook_repo/environment.ymlstill namesdefault. It is the environmentpublish.ymlcopies into the notebooks repository, as in the series, so it gets its own follow-up there.Validation
A full validation before merging: fresh
cache.ymlbuilds of this branch and ofmainon the same day, every lecture executed, compared page by page, with the installed packages compared too. The evidence follows in a comment.This changes the build environment's specification, so it needs a person's review.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMbNM8AQVCt2pfV5GGX