question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for ipywidgets 8

See original GitHub issue

Packages such as tqdm will not work with the latest version of IPyWidgets 8

Work around - Please install ipywidgets==7.7.2

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:23
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

9reactions
alex180500commented, Dec 8, 2022

any update on this?

7reactions
DonJayamannecommented, Nov 6, 2022

Required work to get this working in VS Code:

  • Support running kernel startup code prior to synchronizing kernel messages with webview kernel
    • Buffer kernel messages, see work done in lazy creation of controllers (switching controller from remote kernel spec to live kernel spec)
  • Support lazy loading of IPyWidget script instead of statitcally contributing this in controller
  • Support querying version of ipywidgets
  • Create a loader script that will load version 7 or 8 of ipywidgets
    • Careful thought needs to go into designing this (see last point)
  • Publish IPyWidget npm package as version 7
    • Plan is to eventually create a seprate branch for v7 after publishing to version 7 (consider this new branch as the branch for maintenance of the older version, hopefully no more changes here)
    • The main branch will subsequently be used for version 8 & the new version of npm will be version 8
  • Pull in the npm package version 7 into Jupyter extension
  • Review the renderer script, we might need to make some changes there for
Read more comments on GitHub >

github_iconTop Results From Across the Web

install ipywidgets - Read the Docs
No information is available for this page.
Read more >
ipywidgets · PyPI
ipywidgets, also known as jupyter-widgets or simply widgets, are interactive HTML widgets for Jupyter notebooks and the IPython kernel.
Read more >
How can I get ipywidgets to work with JupyterLab v3.0?
It seems that in my kernel's conda environment, I have to have ipywidgets version 8 installed. This can be tested with:
Read more >
Miscellaneous questions on the usage of JupyterLite - General
Regarding widgets: we're working on an interim approach to supporting ipywidgets 8 and 7 in the same jupyterlite package by shipping two versions...
Read more >
Python Add Interactivity to Jupyter Notebooks with ipywidgets
Python Add Interactivity to Jupyter Notebooks with ipywidgets · Widget List · IntSlider · BoundedIntText · Checkbox · Dropdown · Text...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found