Skip to content

Install ipywidgets into the image kernel environment - #207

Merged
bendichter merged 1 commit into
masterfrom
image-ipywidgets
Aug 23, 2026
Merged

Install ipywidgets into the image kernel environment#207
bendichter merged 1 commit into
masterfrom
image-ipywidgets

Conversation

@bendichter

Copy link
Copy Markdown
Member

The post-merge rebuild on the 3.13 base (run 32609809895) failed verification for three tutorial groups (cosyne-2023, neurodatarehack-2024 simple and advanced search) with ImportError: IProgress not found. The cause is the same one I fixed for the CI harness in #206: tqdm routes to its widget progress bar inside an IPython session and needs ipywidgets, which Colab preinstalls and the image did not. These notebooks previously passed only because their older pin sets happened to pull ipywidgets in transitively.

This is a user-facing problem as well as a verification one: JupyterLab in the container would raise the same error for anyone running those notebooks. ipywidgets now resolves jointly with the pins alongside ipykernel, so it is part of the kernel environment the same way it is on Colab, and any conflict with a pin set fails the build rather than silently changing a version.

The Dockerfile is part of the build hash, so merging this rebuilds every image; groups already published on 3.13 will rebuild and re-verify but their content does not change. Verified locally by building tutorials-cosyne-2023 and running the verify step as CI does: ok: true, ipywidgets 8.1.9.

🤖 Generated with Claude Code

https://claude.ai/code/session_011NuStoQykizhQCx2KBrMCN

Three tutorial groups failed verification on the 3.13 rebuild with
"IProgress not found": tqdm routes to its widget progress bar inside an
IPython session and needs ipywidgets, which Colab preinstalls and the
image did not. A user running those notebooks in the container would
have hit the same error in JupyterLab. ipywidgets now resolves jointly
with the pins alongside ipykernel, matching what the CI harness installs
in kernel mode. Verified locally on tutorials-cosyne-2023.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011NuStoQykizhQCx2KBrMCN
github-actions Bot added a commit that referenced this pull request Aug 23, 2026
@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Preview for this PR has been removed (PR closed).

@bendichter
bendichter merged commit 3bc3fe4 into master Aug 23, 2026
3 checks passed
github-actions Bot added a commit that referenced this pull request Aug 23, 2026
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