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

upgrade to new version of ipywidgets #5784

Closed
williamstein opened this issue Mar 15, 2022 · 1 comment
Closed

upgrade to new version of ipywidgets #5784

williamstein opened this issue Mar 15, 2022 · 1 comment

Comments

@williamstein
Copy link
Contributor

See

jupyter-widgets/ipywidgets#3405

What we currently use:

~/cocalc/src/packages/frontend$ grep widget package.json 
    "@jupyter-widgets/base": "^1.2.5",
    "@jupyter-widgets/controls": "^1.5.3",
    "@jupyter-widgets/output": "^1.1.5",
    "@phosphor/widgets": "^1.9.3",

These above versions are pretty old, e.g., @jupyter-widgets/base is at version 4.0.0 now. However, I'm told that this doesn't actually break backward compat as much as the version suggests, since the version is bumped due to some compat issue with jupyterlab.

  • Critical to be aware of backend version; make sure it is at least version 7.
@williamstein
Copy link
Contributor Author

The frontend now uses the latest jupyter widgets via this package

https://www.npmjs.com/package/@cocalc/widgets

which is based on a heavily modified and updated version of https://github.com/googlecolab/colab-cdn-widget-manager

Also, cocalc no longer ships its own fork of k3d's frontend client. All custom widgets are pulled from the standard ipywidgets cdn (jsdelivr) with version requested by the backend, as is done by colab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant