Commit b8f4051
committed
fix(jupyterlab): update @jupyter-widgets/base constraint for ipywidgets 8.x
The JupyterLab extension fails to load with ipywidgets 8.x because
the version constraint ">2 <5" rejects @jupyter-widgets/base 6.x
which is provided by ipywidgets 8.x (the current stable release).
Error in browser console:
Unsatisfied version 6.0.11 from @jupyter-widgets/jupyterlab-manager
of shared singleton module @jupyter-widgets/base (required >=2 not(^2) <5)
This causes widgets to fail with:
TypeError: undefined is not iterable
Update the constraint from ">2 <5" to ">2 <7" to support both
ipywidgets 7.x (@jupyter-widgets/base 4.x) and ipywidgets 8.x
(@jupyter-widgets/base 6.x).
Fixes compatibility with:
- JupyterLab 4.x
- ipywidgets 8.x (current stable)
Signed-off-by: Ryan Malloy <ryan@supported.systems>1 parent 079537d commit b8f4051
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments