Skip to content

Add ipywidgets as a runtime dependency#179

Merged
rafaelha merged 1 commit into
mainfrom
codex/add-ipywidgets-dependency
Jul 21, 2026
Merged

Add ipywidgets as a runtime dependency#179
rafaelha merged 1 commit into
mainfrom
codex/add-ipywidgets-dependency

Conversation

@rafaelha

Copy link
Copy Markdown
Collaborator

Summary

  • promote ipywidgets>=8.0.0 from the development group to runtime dependencies
  • update uv.lock package metadata
  • add a narrow deptry exception for the intentionally transitive dependency

Motivation

pyzx-param imports ipywidgets when running in notebook mode. Without an explicit runtime dependency, importing tsim from a notebook can fail even though tsim itself is installed.

Closes #176.

Validation

  • uv lock --check
  • uv run deptry .
  • import smoke test for ipywidgets and tsim
  • built wheel metadata contains Requires-Dist: ipywidgets>=8.0.0
  • pre-commit packaging checks passed

The full pre-commit run still reports four existing Pyright errors in test/unit/benchmarks/clifft_benchmarks.py for the batch_size argument; those files are unrelated to this packaging-only change.

@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-07-21 21:06 UTC

@rafaelha
rafaelha marked this pull request as ready for review July 21, 2026 20:44
@github-actions

Copy link
Copy Markdown
Contributor

☂️ Code Coverage

current status: ✅

Overall Coverage

Statements Covered Coverage Threshold Status
2962 2774 94% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 4d9ea60 by action🐍

@rafaelha
rafaelha merged commit f1493d9 into main Jul 21, 2026
15 of 17 checks passed
@rafaelha
rafaelha deleted the codex/add-ipywidgets-dependency branch July 21, 2026 21:05
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.

Add explicit ipywidgets dependency

1 participant