-
Notifications
You must be signed in to change notification settings - Fork 151
JupyterLab 3 support v2 #452
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
Merged
Merged
Changes from 18 commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
64ed3de
JupyterLab 3
martinRenou acd0163
Working version without jupyter-packaging
martinRenou a170681
Fix import
martinRenou c52ed55
Remove jupyter-packaging
martinRenou 1a0341d
Bring back the original postBuild command
martinRenou 43801d7
Build schemas
martinRenou a5a5bc6
Install pytest-tornasync from conda-forge
martinRenou 80a9973
Remove use of chdir
martinRenou 21c2cbc
Fix data_files
martinRenou df6bac2
Revert name change
martinRenou a1f87ac
Update docs and lab dependency in binder to rc10
karlaspuldaro eba0e53
Update dependencies to rc10
karlaspuldaro 73c4ee3
Merge pull request #1 from karlaspuldaro/kspuldaro-lab3
martinRenou c90dac3
Merge branch 'jupyterlab3' of ssh://github.com/martinRenou/jupyterlab…
krassowski 81753b4
Update versions/code-jumpers transition for JupyterLab 3.0
krassowski 5d6bdce
Remove RC channels and versions
krassowski 3b7ff1a
Remove RC suffixes
krassowski d60f7c2
Lint and integrity checks (note: Node 12 required by v3.0)
krassowski 7e9de94
Release lumino widgets pin which was causing build error
krassowski ec3bfb0
Update dependencies
krassowski fab7e59
Restore lumino widgets pin
krassowski f4c286c
Set promise type to void
krassowski 3b61f8c
Update typescript
krassowski b7b9016
Temporarily disable karma tests
krassowski fdca601
Use ServerApp.jpserver_extensions
krassowski 0d9455b
Fix warning: manifest_maker: MANIFEST.in, line 3: 'recursive-include'…
krassowski 0eb1927
Migrate to jupyter_server
krassowski e413a27
Lint and mypy adaptations for jupyter_server
krassowski bc1cc05
One final notebook → jupyter_server
krassowski c18ee69
Update CONTRIBUTING.md
krassowski bbd36ff
Restore jump in build
krassowski ed651b6
Ling bump versions
krassowski 0edeecf
Update test workflow
krassowski cd15e3e
Use labextension for now
krassowski 760f966
More jupyter_notebook_config.json → jupyter_server_config.json
krassowski 544c314
Adapt robot for JupyterLab 3.0
krassowski aacbdb6
Fix syntax highlighting (needs import of cm/mode/meta)
krassowski b54b3fc
Update themes commands
krassowski 43b0271
Workaround visibility issue (TypeError: rect is undefined)
krassowski bf9f424
Add install.json file with uninstall instructions
krassowski 23d3df5
Update eslint dev-dependencies
krassowski 5c329ca
Make code jumpers accept minor version bumps
krassowski e7c46de
Bump versions and fix jest eslint errors
krassowski a24a475
Pass string for install.json, not path
krassowski 5e6af22
Update and simplify readme
krassowski 688e682
Try to check what's wrong with the docs
krassowski dd59718
Revert docs conf.py modifications (output was being printed out all a…
krassowski f350a08
Pin node 12 for RTD
krassowski de5c618
Update installation documentation
krassowski 02cd810
Fix integrity check
krassowski 842570c
Add missing new line
krassowski 3c736b5
Split into jupyter_lsp and jupyterlab_lsp
krassowski 6982c48
Remove more py_src
krassowski 000f3a2
Update package location for docs
krassowski 976ba86
Fix typo, rename install in readme
krassowski 63e31a9
Fix lint
krassowski c89e0e7
Improve separation of packages
krassowski 0f9b7a0
Add LICENCE files
krassowski 4c8d0bd
Be explicit about package names
krassowski 1193fa3
Fix more typos
krassowski 1f5d4de
This is the price we would have to pay for keeping the shorter hierarchy
krassowski ce76fab
Give up on using src as package root
krassowski cbbefe7
Remove one more old path
krassowski e9bf79a
Correct manifest
krassowski 191e631
Lint
krassowski 816bbdb
Ignore "import not on top of file" in nblint
krassowski fb6eeed
Lint temporary readme jupyterlab_lsp
krassowski f59f598
[squash] Jupyterlab3 CI updates (#454)
bollwyvl 9a8969e
Prepare for jupyterlab_lsp rc0 (#455)
krassowski dea4132
Set jupyter_lsp to rc0
krassowski 664c973
Update issue templates
krassowski 495bc5c
Update CONTRIBUTING.md: add jupyter develop for symlinking,
krassowski cdee4d1
Restore and check setup.cfg integrity
krassowski 4749fbe
Remove rc tags
krassowski 7ab97db
Release suffix can be empty
krassowski 228bdd0
Add pip check
krassowski a0baf84
add pip-only smoke test of installing artifacts
bollwyvl 5f259fe
Merge pull request #456 from bollwyvl/add-pure-python-install-test
krassowski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,3 +116,6 @@ coverage/ | |
_*.d.ts | ||
_build | ||
.virtual_documents/ | ||
|
||
# Built labextensions | ||
py_src/jupyter_lsp/labextensions/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
.mypy_cache | ||
.pytest_cache | ||
.yarn-packages | ||
**/_*.d.ts | ||
**/.ipynb_checkpoints | ||
**/*.egg-info | ||
**/build | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
include LICENSE README.md | ||
recursive-include py_src *.json *.R | ||
recursive-include py_src/jupyter_lsp/labextensions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,9 +77,9 @@ Use context menu on rows in the panel to filter out diagnostics or copy their me | |
|
||
You will need to have all of the following installed: | ||
|
||
- JupyterLab >=2.2.0,<3.0.0a0 | ||
- JupyterLab >=3.0.0,<4.0.0a0 | ||
- Python 3.6+ | ||
- nodejs 10.12+ | ||
- nodejs 12+ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Someone just running |
||
|
||
## Installation | ||
|
||
|
@@ -97,9 +97,9 @@ Use of a python `virtualenv` or a conda env is also recommended. | |
1. install JupyterLab and the server extension | ||
|
||
```bash | ||
conda install -c conda-forge 'jupyterlab>=2.2,<3.0.0a0' jupyter-lsp | ||
conda install -c conda-forge 'jupyterlab>=3.0.0,<4.0.0a0' jupyter-lsp | ||
# or | ||
pip install 'jupyterlab>=2.2,<3.0.0a0' jupyter-lsp | ||
pip install 'jupyterlab>=3.0.0,<4.0.0a0' jupyter-lsp | ||
``` | ||
|
||
> Note: With conda, you could take advantage of the bundles: `jupyter-lsp-python` | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,12 @@ | ||
#!/usr/bin/env bash | ||
set -eux | ||
|
||
# do a dev install of the server side | ||
python -m pip install -e . --ignore-installed --no-deps -vv | ||
jupyter serverextension enable --sys-prefix --py jupyter_lsp | ||
|
||
# should have no extensions | ||
jupyter labextension list | ||
|
||
# do a dev build of the client side | ||
# Build labextensions | ||
jlpm bootstrap | ||
|
||
# link all pieces to lab (no build) | ||
jlpm lab:link && jupyter labextension list | ||
|
||
# list extensions before build | ||
jupyter labextension list | ||
|
||
# actually build | ||
jupyter lab build --debug --dev-build=False --minimize=True | ||
# Do a dev install of the server side | ||
python -m pip install -e . --ignore-installed --no-deps -vv | ||
jupyter serverextension enable --sys-prefix --py jupyter_lsp | ||
|
||
# list extensions again | ||
# List extensions | ||
jupyter labextension list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
const config = require('./babel.config.js'); | ||
module.exports = require('babel-jest').createTransformer(config); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.