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

Update to JupyterLab 4.2.0rc0 #7333

Merged
merged 13 commits into from
May 1, 2024
4 changes: 2 additions & 2 deletions .github/workflows/buildutils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Install dependencies
run: |
python -m pip install -U "jupyterlab>=4.2.0b1,<4.3" hatch
python -m pip install -U "jupyterlab>=4.2.0rc0,<4.3" hatch
jlpm
jlpm run build

Expand Down Expand Up @@ -79,6 +79,6 @@ jobs:

- name: Install dependencies
run: |
python -m pip install -U "jupyterlab>=4.2.0b1,<4.3" pip
python -m pip install -U "jupyterlab>=4.2.0rc0,<4.3" pip
jlpm
jlpm run build
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ repos:
files: "^notebook"
stages: [manual]
args: ["--install-types", "--non-interactive"]
additional_dependencies: ["traitlets>=5.13", "tornado", "jupyter_server>=2.10", "jupyterlab_server>=2.25", "jupyterlab>=4.2.0b1,<4.3"]
additional_dependencies: ["traitlets>=5.13", "tornado", "jupyter_server>=2.10", "jupyterlab_server>=2.25", "jupyterlab>=4.2.0rc0,<4.3"]

- repo: https://github.com/pre-commit/pygrep-hooks
rev: 'v1.10.0'
Expand Down
98 changes: 49 additions & 49 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,60 +132,60 @@
"@jupyter-notebook/tree": "^7.2.0-beta.1",
"@jupyter-notebook/tree-extension": "^7.2.0-beta.1",
"@jupyter-notebook/ui-components": "^7.2.0-beta.1",
"@jupyterlab/application-extension": "~4.2.0-beta.1",
"@jupyterlab/apputils-extension": "~4.2.0-beta.1",
"@jupyterlab/attachments": "~4.2.0-beta.1",
"@jupyterlab/cell-toolbar-extension": "~4.2.0-beta.1",
"@jupyterlab/celltags-extension": "~4.2.0-beta.1",
"@jupyterlab/codemirror": "~4.2.0-beta.1",
"@jupyterlab/codemirror-extension": "~4.2.0-beta.1",
"@jupyterlab/completer-extension": "~4.2.0-beta.1",
"@jupyterlab/console-extension": "~4.2.0-beta.1",
"@jupyterlab/coreutils": "~6.2.0-beta.1",
"@jupyterlab/csvviewer-extension": "~4.2.0-beta.1",
"@jupyterlab/debugger-extension": "~4.2.0-beta.1",
"@jupyterlab/docmanager-extension": "~4.2.0-beta.1",
"@jupyterlab/documentsearch-extension": "~4.2.0-beta.1",
"@jupyterlab/extensionmanager-extension": "~4.2.0-beta.1",
"@jupyterlab/filebrowser-extension": "~4.2.0-beta.1",
"@jupyterlab/fileeditor-extension": "~4.2.0-beta.1",
"@jupyterlab/help-extension": "~4.2.0-beta.1",
"@jupyterlab/htmlviewer-extension": "~4.2.0-beta.1",
"@jupyterlab/hub-extension": "~4.2.0-beta.1",
"@jupyterlab/imageviewer-extension": "~4.2.0-beta.1",
"@jupyterlab/javascript-extension": "~4.2.0-beta.1",
"@jupyterlab/json-extension": "~4.2.0-beta.1",
"@jupyterlab/lsp": "~4.2.0-beta.1",
"@jupyterlab/lsp-extension": "~4.2.0-beta.1",
"@jupyterlab/mainmenu-extension": "~4.2.0-beta.1",
"@jupyterlab/markdownviewer-extension": "~4.2.0-beta.1",
"@jupyterlab/markedparser-extension": "~4.2.0-beta.1",
"@jupyterlab/mathjax-extension": "~4.2.0-beta.1",
"@jupyterlab/mermaid-extension": "~4.2.0-beta.1",
"@jupyterlab/metadataform-extension": "~4.2.0-beta.1",
"@jupyterlab/notebook-extension": "~4.2.0-beta.1",
"@jupyterlab/pdf-extension": "~4.2.0-beta.1",
"@jupyterlab/pluginmanager-extension": "~4.2.0-beta.1",
"@jupyterlab/running-extension": "~4.2.0-beta.1",
"@jupyterlab/settingeditor": "~4.2.0-beta.1",
"@jupyterlab/settingeditor-extension": "~4.2.0-beta.1",
"@jupyterlab/shortcuts-extension": "~5.0.0-beta.1",
"@jupyterlab/terminal-extension": "~4.2.0-beta.1",
"@jupyterlab/theme-dark-extension": "~4.2.0-beta.1",
"@jupyterlab/theme-dark-high-contrast-extension": "~4.2.0-beta.1",
"@jupyterlab/theme-light-extension": "~4.2.0-beta.1",
"@jupyterlab/toc-extension": "~6.2.0-beta.1",
"@jupyterlab/tooltip-extension": "~4.2.0-beta.1",
"@jupyterlab/translation-extension": "~4.2.0-beta.1",
"@jupyterlab/ui-components-extension": "~4.2.0-beta.1",
"@jupyterlab/vega5-extension": "~4.2.0-beta.1",
"@jupyterlab/application-extension": "~4.2.0-rc.0",
"@jupyterlab/apputils-extension": "~4.2.0-rc.0",
"@jupyterlab/attachments": "~4.2.0-rc.0",
"@jupyterlab/cell-toolbar-extension": "~4.2.0-rc.0",
"@jupyterlab/celltags-extension": "~4.2.0-rc.0",
"@jupyterlab/codemirror": "~4.2.0-rc.0",
"@jupyterlab/codemirror-extension": "~4.2.0-rc.0",
"@jupyterlab/completer-extension": "~4.2.0-rc.0",
"@jupyterlab/console-extension": "~4.2.0-rc.0",
"@jupyterlab/coreutils": "~6.2.0-rc.0",
"@jupyterlab/csvviewer-extension": "~4.2.0-rc.0",
"@jupyterlab/debugger-extension": "~4.2.0-rc.0",
"@jupyterlab/docmanager-extension": "~4.2.0-rc.0",
"@jupyterlab/documentsearch-extension": "~4.2.0-rc.0",
"@jupyterlab/extensionmanager-extension": "~4.2.0-rc.0",
"@jupyterlab/filebrowser-extension": "~4.2.0-rc.0",
"@jupyterlab/fileeditor-extension": "~4.2.0-rc.0",
"@jupyterlab/help-extension": "~4.2.0-rc.0",
"@jupyterlab/htmlviewer-extension": "~4.2.0-rc.0",
"@jupyterlab/hub-extension": "~4.2.0-rc.0",
"@jupyterlab/imageviewer-extension": "~4.2.0-rc.0",
"@jupyterlab/javascript-extension": "~4.2.0-rc.0",
"@jupyterlab/json-extension": "~4.2.0-rc.0",
"@jupyterlab/lsp": "~4.2.0-rc.0",
"@jupyterlab/lsp-extension": "~4.2.0-rc.0",
"@jupyterlab/mainmenu-extension": "~4.2.0-rc.0",
"@jupyterlab/markdownviewer-extension": "~4.2.0-rc.0",
"@jupyterlab/markedparser-extension": "~4.2.0-rc.0",
"@jupyterlab/mathjax-extension": "~4.2.0-rc.0",
"@jupyterlab/mermaid-extension": "~4.2.0-rc.0",
"@jupyterlab/metadataform-extension": "~4.2.0-rc.0",
"@jupyterlab/notebook-extension": "~4.2.0-rc.0",
"@jupyterlab/pdf-extension": "~4.2.0-rc.0",
"@jupyterlab/pluginmanager-extension": "~4.2.0-rc.0",
"@jupyterlab/running-extension": "~4.2.0-rc.0",
"@jupyterlab/settingeditor": "~4.2.0-rc.0",
"@jupyterlab/settingeditor-extension": "~4.2.0-rc.0",
"@jupyterlab/shortcuts-extension": "~5.0.0-rc.0",
"@jupyterlab/terminal-extension": "~4.2.0-rc.0",
"@jupyterlab/theme-dark-extension": "~4.2.0-rc.0",
"@jupyterlab/theme-dark-high-contrast-extension": "~4.2.0-rc.0",
"@jupyterlab/theme-light-extension": "~4.2.0-rc.0",
"@jupyterlab/toc-extension": "~6.2.0-rc.0",
"@jupyterlab/tooltip-extension": "~4.2.0-rc.0",
"@jupyterlab/translation-extension": "~4.2.0-rc.0",
"@jupyterlab/ui-components-extension": "~4.2.0-rc.0",
"@jupyterlab/vega5-extension": "~4.2.0-rc.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"yjs": "^13.5.40"
},
"devDependencies": {
"@jupyterlab/builder": "~4.2.0-beta.1",
"@jupyterlab/buildutils": "~4.2.0-beta.1",
"@jupyterlab/builder": "~4.2.0-rc.0",
"@jupyterlab/buildutils": "~4.2.0-rc.0",
"@types/rimraf": "^3.0.2",
"css-loader": "~5.0.1",
"extra-watch-webpack-plugin": "^1.0.3",
Expand Down
2 changes: 1 addition & 1 deletion buildutils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"watch": "tsc -w --listEmittedFiles"
},
"dependencies": {
"@jupyterlab/buildutils": "~4.2.0-beta.1",
"@jupyterlab/buildutils": "~4.2.0-rc.0",
"commander": "^6.2.0",
"fs-extra": "^9.1.0",
"typescript": "~5.0.2"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"yjs": "^13.5.40"
},
"devDependencies": {
"@jupyterlab/buildutils": "~4.2.0-beta.1",
"@jupyterlab/buildutils": "~4.2.0-rc.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"eslint": "^8.36.0",
Expand Down
22 changes: 11 additions & 11 deletions packages/application-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@
"dependencies": {
"@jupyter-notebook/application": "^7.2.0-beta.1",
"@jupyter-notebook/ui-components": "^7.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-beta.1",
"@jupyterlab/apputils": "~4.3.0-beta.1",
"@jupyterlab/codeeditor": "~4.2.0-beta.1",
"@jupyterlab/console": "~4.2.0-beta.1",
"@jupyterlab/coreutils": "~6.2.0-beta.1",
"@jupyterlab/docmanager": "~4.2.0-beta.1",
"@jupyterlab/docregistry": "~4.2.0-beta.1",
"@jupyterlab/mainmenu": "~4.2.0-beta.1",
"@jupyterlab/rendermime": "~4.2.0-beta.1",
"@jupyterlab/settingregistry": "~4.2.0-beta.1",
"@jupyterlab/translation": "~4.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-rc.0",
"@jupyterlab/apputils": "~4.3.0-rc.0",
"@jupyterlab/codeeditor": "~4.2.0-rc.0",
"@jupyterlab/console": "~4.2.0-rc.0",
"@jupyterlab/coreutils": "~6.2.0-rc.0",
"@jupyterlab/docmanager": "~4.2.0-rc.0",
"@jupyterlab/docregistry": "~4.2.0-rc.0",
"@jupyterlab/mainmenu": "~4.2.0-rc.0",
"@jupyterlab/rendermime": "~4.2.0-rc.0",
"@jupyterlab/settingregistry": "~4.2.0-rc.0",
"@jupyterlab/translation": "~4.2.0-rc.0",
"@lumino/coreutils": "^2.1.2",
"@lumino/disposable": "^2.1.2",
"@lumino/widgets": "^2.3.2"
Expand Down
12 changes: 6 additions & 6 deletions packages/application/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/application": "~4.2.0-beta.1",
"@jupyterlab/coreutils": "~6.2.0-beta.1",
"@jupyterlab/docregistry": "~4.2.0-beta.1",
"@jupyterlab/rendermime-interfaces": "~3.10.0-beta.1",
"@jupyterlab/ui-components": "~4.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-rc.0",
"@jupyterlab/coreutils": "~6.2.0-rc.0",
"@jupyterlab/docregistry": "~4.2.0-rc.0",
"@jupyterlab/rendermime-interfaces": "~3.10.0-rc.0",
"@jupyterlab/ui-components": "~4.2.0-rc.0",
"@lumino/algorithm": "^2.0.1",
"@lumino/coreutils": "^2.1.2",
"@lumino/messaging": "^2.0.1",
Expand All @@ -57,7 +57,7 @@
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.12.1",
"@jupyterlab/testutils": "~4.2.0-beta.1",
"@jupyterlab/testutils": "~4.2.0-rc.0",
"@types/jest": "^29.2.5",
"jest": "^29.3.1",
"rimraf": "^3.0.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/console-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-beta.1",
"@jupyterlab/console": "~4.2.0-beta.1",
"@jupyterlab/coreutils": "~6.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-rc.0",
"@jupyterlab/console": "~4.2.0-rc.0",
"@jupyterlab/coreutils": "~6.2.0-rc.0",
"@lumino/algorithm": "^2.0.1"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions packages/docmanager-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-beta.1",
"@jupyterlab/coreutils": "~6.2.0-beta.1",
"@jupyterlab/docmanager": "~4.2.0-beta.1",
"@jupyterlab/docregistry": "~4.2.0-beta.1",
"@jupyterlab/services": "~7.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-rc.0",
"@jupyterlab/coreutils": "~6.2.0-rc.0",
"@jupyterlab/docmanager": "~4.2.0-rc.0",
"@jupyterlab/docregistry": "~4.2.0-rc.0",
"@jupyterlab/services": "~7.2.0-rc.0",
"@lumino/algorithm": "^2.0.1",
"@lumino/signaling": "^2.1.2"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/documentsearch-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-beta.1",
"@jupyterlab/documentsearch": "~4.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-rc.0",
"@jupyterlab/documentsearch": "~4.2.0-rc.0",
"@lumino/widgets": "^2.3.2"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/help-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
},
"dependencies": {
"@jupyter-notebook/ui-components": "^7.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-beta.1",
"@jupyterlab/apputils": "~4.3.0-beta.1",
"@jupyterlab/mainmenu": "~4.2.0-beta.1",
"@jupyterlab/translation": "~4.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-rc.0",
"@jupyterlab/apputils": "~4.3.0-rc.0",
"@jupyterlab/mainmenu": "~4.2.0-rc.0",
"@jupyterlab/translation": "~4.2.0-rc.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
16 changes: 8 additions & 8 deletions packages/lab-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,18 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-beta.1",
"@jupyterlab/apputils": "~4.3.0-beta.1",
"@jupyterlab/coreutils": "~6.2.0-beta.1",
"@jupyterlab/docregistry": "~4.2.0-beta.1",
"@jupyterlab/notebook": "~4.2.0-beta.1",
"@jupyterlab/translation": "~4.2.0-beta.1",
"@jupyterlab/ui-components": "~4.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-rc.0",
"@jupyterlab/apputils": "~4.3.0-rc.0",
"@jupyterlab/coreutils": "~6.2.0-rc.0",
"@jupyterlab/docregistry": "~4.2.0-rc.0",
"@jupyterlab/notebook": "~4.2.0-rc.0",
"@jupyterlab/translation": "~4.2.0-rc.0",
"@jupyterlab/ui-components": "~4.2.0-rc.0",
"@lumino/commands": "^2.3.0",
"@lumino/disposable": "^2.1.2"
},
"devDependencies": {
"@jupyterlab/builder": "~4.2.0-beta.1",
"@jupyterlab/builder": "~4.2.0-rc.0",
"rimraf": "^3.0.2",
"typescript": "~5.0.2"
},
Expand Down
14 changes: 7 additions & 7 deletions packages/notebook-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-beta.1",
"@jupyterlab/apputils": "~4.3.0-beta.1",
"@jupyterlab/cells": "~4.2.0-beta.1",
"@jupyterlab/docmanager": "~4.2.0-beta.1",
"@jupyterlab/notebook": "~4.2.0-beta.1",
"@jupyterlab/settingregistry": "~4.2.0-beta.1",
"@jupyterlab/translation": "~4.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-rc.0",
"@jupyterlab/apputils": "~4.3.0-rc.0",
"@jupyterlab/cells": "~4.2.0-rc.0",
"@jupyterlab/docmanager": "~4.2.0-rc.0",
"@jupyterlab/notebook": "~4.2.0-rc.0",
"@jupyterlab/settingregistry": "~4.2.0-rc.0",
"@jupyterlab/translation": "~4.2.0-rc.0",
"@lumino/polling": "^2.1.2",
"@lumino/widgets": "^2.3.2",
"react": "^18.2.0",
Expand Down
9 changes: 0 additions & 9 deletions packages/notebook-extension/style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,6 @@ body[data-notebook='notebooks'] .jp-cell-toolbar {
box-shadow: unset;
}

body[data-notebook='notebooks']
.jp-RawCell[data-windowed-list-index='0']
.jp-cell-toolbar,
body[data-notebook='notebooks']
.jp-MarkdownCell[data-windowed-list-index='0']
.jp-cell-toolbar {
top: calc(2 * var(--jp-notebook-padding));
}

/** first code cell on mobile
(keep the selector above the media query)
*/
Expand Down
6 changes: 3 additions & 3 deletions packages/terminal-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-beta.1",
"@jupyterlab/coreutils": "~6.2.0-beta.1",
"@jupyterlab/terminal": "~4.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-rc.0",
"@jupyterlab/coreutils": "~6.2.0-rc.0",
"@jupyterlab/terminal": "~4.2.0-rc.0",
"@lumino/algorithm": "^2.0.1"
},
"devDependencies": {
Expand Down
24 changes: 12 additions & 12 deletions packages/tree-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@
"dependencies": {
"@jupyter-notebook/application": "^7.2.0-beta.1",
"@jupyter-notebook/tree": "^7.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-beta.1",
"@jupyterlab/apputils": "~4.3.0-beta.1",
"@jupyterlab/coreutils": "~6.2.0-beta.1",
"@jupyterlab/docmanager": "~4.2.0-beta.1",
"@jupyterlab/filebrowser": "~4.2.0-beta.1",
"@jupyterlab/mainmenu": "~4.2.0-beta.1",
"@jupyterlab/services": "~7.2.0-beta.1",
"@jupyterlab/settingeditor": "~4.2.0-beta.1",
"@jupyterlab/settingregistry": "~4.2.0-beta.1",
"@jupyterlab/statedb": "~4.2.0-beta.1",
"@jupyterlab/translation": "~4.2.0-beta.1",
"@jupyterlab/ui-components": "~4.2.0-beta.1",
"@jupyterlab/application": "~4.2.0-rc.0",
"@jupyterlab/apputils": "~4.3.0-rc.0",
"@jupyterlab/coreutils": "~6.2.0-rc.0",
"@jupyterlab/docmanager": "~4.2.0-rc.0",
"@jupyterlab/filebrowser": "~4.2.0-rc.0",
"@jupyterlab/mainmenu": "~4.2.0-rc.0",
"@jupyterlab/services": "~7.2.0-rc.0",
"@jupyterlab/settingeditor": "~4.2.0-rc.0",
"@jupyterlab/settingregistry": "~4.2.0-rc.0",
"@jupyterlab/statedb": "~4.2.0-rc.0",
"@jupyterlab/translation": "~4.2.0-rc.0",
"@jupyterlab/ui-components": "~4.2.0-rc.0",
"@lumino/algorithm": "^2.0.1",
"@lumino/commands": "^2.3.0",
"@lumino/widgets": "^2.3.2"
Expand Down