Skip to content

environment.yml: the Anaconda channels are defaults - #189

Merged
mmcky merged 1 commit into
mainfrom
maint/conda-defaults
Nov 25, 2026
Merged

mmcky merged 1 commit into
mainfrom
maint/conda-defaults

Conversation

@mmcky

@mmcky mmcky commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

What

environment.yml names the conda channel default:

Before After
channels: - default channels: - defaults

default is the anaconda.org user channel of that name, not Anaconda's own channels, which conda calls defaults. That channel is empty today, so the environment resolves from defaults all the same: conda env update appends defaults unless the file lists nodefaults. But conda searches default first, 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.yml builds of this branch and of main on 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

`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

netlify Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for majestic-griffin-10b166 ready!

Name Link
🔨 Latest commit e672ce4
🔍 Latest deploy log https://app.netlify.com/projects/majestic-griffin-10b166/deploys/6b07681f8a2e99dec95dc4b3
😎 Deploy Preview https://deploy-preview-189--majestic-griffin-10b166.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.

@github-actions

Copy link
Copy Markdown

@mmcky

mmcky commented Nov 25, 2026

Copy link
Copy Markdown
Contributor Author

Full validation: default → defaults

Fresh full builds of cache.yml on 2026-11-25 (UTC), every lecture executed, no build cache:

Side Run Commit Result
main (- default) 45717703078 2f2f510 success
this branch (- defaults) 45717707215 e672ce4 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, 16 with any difference. status.html differs 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.

The same batch of runs showed why this matters beyond precedence. The fr and continuous_time_mcs main builds, which still name default, both failed their first attempt with HTTP 503 from https://conda.anaconda.org/default/linux-64/repodata.json, the user channel's server. Builds that list only defaults don't contact it.

@mmcky
mmcky merged commit f04f495 into main Nov 25, 2026
9 checks passed
@mmcky
mmcky deleted the maint/conda-defaults branch November 25, 2026 23:16

This branch was successfully deployed

1 active deployment
pull request — e672ce46 Deployed Nov 25, 2026 by github-actions[bot]
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.

1 participant