-
Notifications
You must be signed in to change notification settings - Fork 64
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
JupyterLab 3 compatibility #442
Comments
Echoing #397 (comment) for those watching:
I'll add: we've gotten initial support for the Julia language server into jupyterlab-lsp, which will primarily be supporting JupyterLab 3 going forward... it would be great to include webio in the demo environment. |
PRs welcome. Not sure how much change will be required from 1 -> 3. |
WebIO as it is right now works for JL 2.2.9 already - at least for me (on a Mac using a conda installation) - therefore I guess it is only the step from 2 -> 3 which needs to be taken care of. |
is there developer documentation that could help someone like me start a PR? I don't know how library setup and install works with julia (i'm new to julia and taking the UM Continuum course, but would like to use Jupyter Lab 3) |
The big delta is that lab 3 doesn't need to be rebuilt every time a user adds an extension (though it can be). Much like the notebook classic approach, (aside from needing to be "built" with webpack), the extension distribution folder (which will have at least a To build that folder, extensions need to add: # package.json (ain't yaml)
"dependencies": {
"@jupyterlab/whatever": "^2 || ^3",
# ...
},
"devDependencies": {
"@jupyterlab/builder": "^3.0.1",
# ...
},
"jupyterlab": {
"outputDir": "./some/relative/path",
# "sharedPackages": { "@jupyter-widgets/base": {"bundled": false, "singleton": true} }
# "webpackConfig": "./some.webpack.config.js"
} and then run: jupyter labextension builld . To do the necessary webpack junk to make it resolve itself at runtime. All extensions are singletons, while there are some further options for depending on transient dependencies of other extensions with Unfortunately, I've never successfully gotten this repo's dev setup working properly, but more than happy to help! |
Developer documentation for jupyterlab 3 extensions here, see the Extension Migration Guide section. Jupyterlab 3 has a command that is supposed to automatically upgrade an extension from v2 to v3, I tried that but could not get it to build. |
this assumes a fairly opinionated existing structure based on the cookiecutter and python, and likely won't work for this case. |
Yeah it seems to just infer some settings from from |
Is there a fix to allow WebIO to work with jupyterlab=3.0? Would love to have sliders working! |
The bug
A few months ago, jupyter released a new major version of jupyterlab. Is WebIO.jl compatible with the latest jupyterlab?
When trying to install using
install_jupyter_labextension()
, the following happens:Context
Error running
install_jupyter_labextension()
:WebIO status:
versioninfo():
jupyter nbextension list
:jupyter labextension list
:JupyterLab v3.0.5
The text was updated successfully, but these errors were encountered: