Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipywidgets 7 support #1479

Closed

Conversation

martinRenou
Copy link
Member

@martinRenou martinRenou commented Jul 15, 2024

This is the approach I'm taking:

If ipywidgets 7 or 8 is spotted as federated extension, we don't enable it but provide our own versions of @jupyter-widgets/base and @jupyter-widgets/controls in the page using our manager for the given version.

Copy link
Contributor

Binder 👈 Launch a Binder on branch martinRenou/voila/ipywidgets7_support

@martinRenou martinRenou added the enhancement New feature or request label Jul 15, 2024
@martinRenou
Copy link
Member Author

Testing with ipyleaflet works like a charm, testing bqplot fails with:

TypeError: _jupyter_widgets_base__WEBPACK_IMPORTED_MODULE_0__.JupyterPhosphorPanelWidget is not a constructor

@martinRenou
Copy link
Member Author

I'm closing this, instead of this approach we should do something similar to #1482 and use the lazy loading approach.

@martinRenou martinRenou deleted the ipywidgets7_support branch July 17, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant