Repository navigation
environment.yml: the Anaconda channels are defaults - #117
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
📖 Netlify Preview Ready!Preview URL: https://pr-117--verdant-toffee-3261a8.netlify.app Commit: Build Info
|
Full validation:
|
| Side | Run | Commit | Result |
|---|---|---|---|
main (- default) |
45717694377 | cac54c3 |
success on attempt 2 (see below) |
this branch (- defaults) |
45717699268 | 25c535d |
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 two pip "Successfully installed" lines. Cell-level installs (
pandas,polars) fetch the same packages at the same versions; only pip's download-progress text differs. - Build warnings: identical on both sides.
- Pages: 31 pages, 17 with any difference.
status.htmldiffers only in timings. The others differ only in cell output (timings, memory addresses, download progress), and they are the same pages that differ between two builds of identical sources in the programming translations.numpy_vs_numba_vs_jax's pre-existingDeprecationWarning: backend and device argument on jit is deprecatedis on both sides alike; only the ipykernel temp path differs.
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 continuous_time_mcs's main build. 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.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