Skip to content

Add ipywidgets dependency to tutorial notebooks - #213

Merged
bendichter merged 1 commit into
masterfrom
claude/eloquent-sagan-ihmbz2
Oct 5, 2026
Merged

bendichter merged 1 commit into
masterfrom
claude/eloquent-sagan-ihmbz2

Conversation

@yarikoptic-gitmate

Copy link
Copy Markdown

Summary

This PR adds ipywidgets as an explicit dependency to the tutorial notebooks that require interactive widget functionality.

Changes

  • Added ipywidgets to the requirements for three tutorial notebooks:
    • tutorials/cosyne_2023/simple_dandiset_search.ipynb
    • tutorials/neurodatarehack_2024/advanced_asset_search.ipynb
    • tutorials/neurodatarehack_2024/simple_dandiset_search.ipynb
  • Updated corresponding .requirements.in files to include ipywidgets as an explicit dependency
  • Regenerated locked dependency lists to include ipywidgets and its transitive dependencies

Details

The addition of ipywidgets ensures that interactive widgets are available in the tutorial environments. This change was made to the source .requirements.in files, and the locked dependency files were regenerated to capture all transitive dependencies needed for proper functionality.

https://claude.ai/code/session_01PntFeR57FsYaeMEk4XGoii

The cosyne_2023 and neurodatarehack_2024 dandiset-search notebooks import
`tqdm.notebook`, whose progress bar needs ipywidgets. Their install cells
lost the ipywidgets pin when the locks were regenerated from
requirements.in, which listed only dandi and tqdm. Colab preinstalls
ipywidgets so the notebooks still ran there, but CI installs only the
pinned set, and the weekly sweep failed with "IProgress not found".

Declare ipywidgets as a direct dependency and re-lock. The new pins are
additions only, at Colab's versions (ipywidgets 7.7.1 and its notebook
stack) apart from jedi, which Colab does not ship.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PntFeR57FsYaeMEk4XGoii
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

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

github-actions Bot added a commit that referenced this pull request Oct 5, 2026
github-actions Bot added a commit that referenced this pull request Oct 5, 2026
@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Executed notebooks

CI executes the notebooks changed in this PR through a Jupyter kernel and publishes each one, with its outputs, as soon as it finishes. Links appear below as notebooks complete; an hourglass means the notebook is still running.

3 of 3 finished. Commit 9e3f244. The executed copies live only in the preview and are removed when the PR closes; nothing is committed to the branch.

github-actions Bot added a commit that referenced this pull request Oct 5, 2026
github-actions Bot added a commit that referenced this pull request Oct 5, 2026
@yarikoptic
yarikoptic requested a review from bendichter October 5, 2026 18:38
@yarikoptic

yarikoptic commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

@bendichter are you getting those emails about failing CI for this repo which seems never were green? https://github.com/dandi/example-notebooks/actions/workflows/test-all-notebooks-weekly.yml

I think this might make it green finally! Let's do it?!

@yarikoptic yarikoptic added the dependencies Pull requests that update a dependency file label Oct 5, 2026
@bendichter
bendichter merged commit 77a123e into master Oct 5, 2026
8 checks passed
github-actions Bot added a commit that referenced this pull request Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants