-
-
Notifications
You must be signed in to change notification settings - Fork 99
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 Server as Server Extension #79
JupyterLab Server as Server Extension #79
Conversation
jupyterlab_server/tests/schemas/@jupyterlab/shortcuts-extension/plugin.json
Outdated
Show resolved
Hide resolved
Removed WIP from title. This PR is ready for review. |
Just a comment from a quick read through. |
…r_server released
17a1fa8
to
e6ef85d
Compare
I put that coverage threshold stuff in there: we're not in a great place, coverage-wise, but seems like a lot to give up. While we do have the report from that external vendor, now, having it as a real test shows we care. Also re: installing jupyter_server: can this be done as a separate set of test excursions, where notebook is not installed? Tox can union coverage across multiple runs, I think, so i think it might be a good choice to support, while still keeping ci clean. More broadly, this project will probably need to accept people will continue to be running Dropping compatibility will need to be clearly signaled with warnings, potentially all the way up to the UI, well before it is officially dropped (as part of a major version bump). Totally astronaut architecting here: it may be worth considering, in a future effort, the treating of the dependency resolutions as entire separate packages, e.g. |
Sure, I removed that while trying to get CI green (it was not picking the def in setup.py as it was before) - Will put that back in place as soon as we have more CI stablity.
I was able to install jupyter_server from github by defining it in setup.py - Now itt does not work anymore... Sorry for not mentioning that (did that the jupyter_server gitter channel) - The plan is to depend soon on a jupyter_server release that @Zsailer will do.
JupyterLab users will continue to be able to use notebook via the nbclassic package, see jupyterlab/jupyterlab#7416
We have ensured full backward compatilbity via nbclassic (https://github.com/Zsailer/nbclassic) with log warning for traits to be moved to ServerApp and for existing server extensions.
There is obviously room for evolution, (re)packaging and modularity once we can jlab as jserver extension in (which is the goal of this PR). |
I will also have a look at https://github.com/jupyterlab/jupyterlab_server/pull/79/files#diff-f63568f03d848bfe4c05811be269b915R90 (not sure why the json response comes back with a different layout)
|
Codecov Report
@@ Coverage Diff @@
## master #79 +/- ##
===========================================
- Coverage 72.61% 59.95% -12.66%
===========================================
Files 18 19 +1
Lines 1340 1391 +51
===========================================
- Hits 973 834 -139
- Misses 367 557 +190
Continue to review full report at Codecov.
|
This PR migrate the existing ServerApp and Handler as Jupyter Server Extensions. jupyterlab/jupyterlab#7416 must also be considered.
pytest_jupyter_server
pytest_jupyterlab_server
to use by other libraries