Skip to content

deps(containers): move both images to the Anaconda 2026.07 baseline - #199

Merged
mmcky merged 2 commits into
mainfrom
containers-anaconda-2026.07
Sep 25, 2026
Merged

mmcky merged 2 commits into
mainfrom
containers-anaconda-2026.07

Conversation

@mmcky

@mmcky mmcky commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

The three lecture repos in the container validation matrix (lecture-python-intro, lecture-python.myst, lecture-python-advanced.myst) now pin anaconda=2026.07, as do lecture-python-programming, lecture-jax, continuous_time_mcs and lecture-python-programming.fr, while both images still ship 2026.06. So the lecture matrix builds content against a stack one baseline behind the repos (#188). Under the dependency policy in docs/dev/PLAN.md, the two images move together.

Changes

Where Change
Full image (containers/quantecon/environment.yml) anaconda=2026.06 → anaconda=2026.07
Lean image pins Re-derived from the anaconda=2026.07 linux-64 py313_mkl build (both build revisions, _0 and _1, agree on all ten). Three move: scipy 1.17.1 → 1.18.0, matplotlib 3.10.9 → 3.11.0, scikit-learn 1.8.0 → 1.9.0. numpy 2.4.6, pandas 3.0.3, seaborn, sympy, numba, networkx and statsmodels are unchanged.
Lean image icu=73.1 hold Dropped, as its comment planned ("Drop it with the next Anaconda baseline bump"), together with its Dependabot ignore entry.
Docs The baseline named in both Dockerfiles' Node comments (2026.07 pins jupyterlab 4.5.9, still below 4.6, so the reasoning holds), the three container READMEs, CONTAINER-GUIDE.md, ARCHITECTURE.md, PLAN.md and the Dependabot comments. CHANGELOG entry under Unreleased → Changed.

What I checked before merge

Nothing in CI builds an image on a PR (#142), and a workflow_dispatch of build-containers.yml from this branch would push :latest, so the pre-merge evidence is a linux-64 dry-run solve of each environment (CONDA_SUBDIR=linux-64, CONDA_OVERRIDE_GLIBC=2.39 for Ubuntu 24.04, conda deps only):

  • Both images solve. Full: 504 packages, anaconda 2026.07. Lean: 317 packages.
  • Lean and full agree on all ten pinned packages (numpy 2.4.6, scipy 1.18.0, pandas 3.0.3, matplotlib 3.11.0, seaborn 0.13.2, sympy 1.14.0, numba 0.65.1, networkx 3.6.1, statsmodels 0.14.6, scikit-learn 1.9.0), and on mkl 2025.0.0 / mkl-service 2.7.2.
  • Dropping the icu hold re-solves the lean image's native stack, as the old comment predicted. Against today's lean solve: 39 packages change, 16 are added, 14 removed. The notable moves are icu 73.1 → 78.3 (what the full image already has), Qt 5 → Qt 6 (pyqt 5.15 → 6.11, qt-main replaced by qtbase 6.11), lxml 5.3 → 6.1, libxml2 2.13 → 2.15, fontconfig 2.15 → 2.18 and pillow 12.2 → 12.3; the rest are X11, aws-c and similar patch bumps.

Two differences between the images predate this PR and are left alone: the lean image leaves jupyterlab/notebook/ipykernel/plotly unpinned, so it resolves jupyterlab 4.6.4 where the full image has 4.5.9, and it gets Python 3.13.15 against the full image's 3.13.14.

Merging: watch the rebuild

Merging rebuilds both images and pushes :latest straight away, with no validation gate (#142), so merge when someone can watch:

  1. build-containers.yml: both images build. A solve failure here means the pins and the metapackage disagree on the real runner.
  2. test-container.yml (smoke test, via workflow_run).
  3. test-containers-lectures.yml: the lecture matrix. A failure only in the lean legs points at the native re-solve (Qt 6, lxml 6); a failure in both points at scipy 1.18 / matplotlib 3.11 / scikit-learn 1.9. The lecture repos' own CI already installs anaconda=2026.07 from their environment.yml (via setup-miniconda), so the stack itself is not new to the content.

If it goes wrong, reverting this PR rebuilds both :latest images on 2026.06. The documented image sizes were measured on the 2026.06 images; the image-size job reports the new ones after the build.

Part of #188.

Assisted-by: Claude Code (Claude Opus 5.5)

🤖 Generated with Claude Code

Every lecture repo in the validation matrix pins anaconda=2026.07 while
both images still ship 2026.06 (#188). Per the dependency policy the two
images move together:

- full image: anaconda=2026.06 -> 2026.07
- lean image: pins re-derived from the 2026.07 linux-64 py313 MKL build
  (scipy 1.18.0, matplotlib 3.11.0, scikit-learn 1.9.0; the other seven
  unchanged), and the icu=73.1 hold is dropped as its comment planned,
  with its Dependabot ignore. The lean solve moves to icu 78.3, Qt 6,
  lxml 6.1 and libxml2 2.15.

Docs, Dependabot comments and PLAN.md name the new baseline.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 25, 2026 05:49
@mmcky mmcky added the maintenance Routine housekeeping: style, formatting, env & dependency upkeep label Sep 25, 2026

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.

Copilot review overview

🔵 Needs a closer look

It triggers an immediate rebuild/publish of widely-consumed :latest container images without a pre-merge validation gate, so it needs human oversight during/after the rebuild.

Review effort: Lite
Findings: 4 Low severity

Open (4)
What changed in this PR

Updates the repository’s container images and documentation to align with the Anaconda baseline now pinned by the lecture repos, keeping the “full” and “lean” images in sync under the dependency policy.

Changes:

  • Bump the full image to anaconda=2026.07 and re-derive the lean image’s pinned science stack for the 2026.07 linux-64 py313 MKL build (notably scipy/matplotlib/scikit-learn).
  • Drop the lean image’s icu=73.1 hold (and its Dependabot ignore entry) as planned with the baseline bump.
  • Refresh docs/CHANGELOG/Dependabot commentary to reference the 2026.07 baseline.
File Description
docs/​dev/​PLAN.md Updates dependency-policy and “current state” baseline references to 2026.07.
docs/​dev/​ARCHITECTURE.md Updates the documented container contents baseline to Anaconda 2026.07.
docs/​CONTAINER-GUIDE.md Updates the full container baseline reference to Anaconda 2026.07.
containers/​README.md Updates container descriptions to reflect the 2026.07 baseline.
containers/​quantecon/​README.md Updates full-image README baseline references to 2026.07.
containers/​quantecon/​environment.yml Bumps full image metapackage from anaconda=2026.06 to anaconda=2026.07.
containers/​quantecon/​Dockerfile Updates Node/JupyterLab baseline comment to reference Anaconda 2026.07.
containers/​quantecon-build/​README.md Updates lean-image README baseline references to 2026.07.
containers/​quantecon-build/​environment.yml Updates pinned science stack to 2026.07-derived versions and removes the icu=73.1 hold.
containers/​quantecon-build/​Dockerfile Updates Node/JupyterLab baseline comment to reference Anaconda 2026.07.
CHANGELOG.md Adds an Unreleased entry documenting the baseline bump, pin changes, and icu hold removal.
.github/​dependabot.yml Updates baseline commentary to 2026.07 and removes the icu ignore entry.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread containers/README.md Resolved
Comment thread docs/CONTAINER-GUIDE.md Resolved
Comment thread docs/dev/ARCHITECTURE.md Resolved
Comment thread docs/dev/PLAN.md Resolved
Copilot review on #199: the size note in containers/README.md now says
the figures predate the 2026.07 move, and PLAN.md's "Last updated"
header gains a 2026-09-25 entry for this PR and #200.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Routine housekeeping: style, formatting, env & dependency upkeep

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants