mirror of
https://github.com/jupyter/notebook.git
synced 2024-11-21 01:11:21 +08:00
Update to JupyterLab 4.0.0a34 (#6732)
* Update `@jupyterlab` and `@lumino`packages * Remove docprovider and collaboration packages * Fix rendermime * Drop `@types/react` * Fix `ICompletionProviderManager` * Bump jupyterlab Python package * Update Jupyter Server config * Ignore F821 for now * Try `LabServerApp` * Update Playwright Snapshots * Update Playwright Snapshots * Remove the `--collaborative` flag --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
80c04e1aa2
commit
ef67879306
4
.github/workflows/buildutils.yml
vendored
4
.github/workflows/buildutils.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install -U "jupyterlab>=4.0.0a33,<5" hatch
|
||||
python -m pip install -U "jupyterlab>=4.0.0a34,<5" hatch
|
||||
jlpm
|
||||
jlpm run build
|
||||
|
||||
@ -76,6 +76,6 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install -U "jupyterlab>=4.0.0a33,<5" pip
|
||||
python -m pip install -U "jupyterlab>=4.0.0a34,<5" pip
|
||||
jlpm
|
||||
jlpm run build
|
||||
|
@ -98,7 +98,7 @@ async function main() {
|
||||
require('@jupyterlab/completer-extension').default.filter(({ id }) =>
|
||||
[
|
||||
'@jupyterlab/completer-extension:base-service',
|
||||
'@jupyterlab/completer-extension:tracker'
|
||||
'@jupyterlab/completer-extension:manager'
|
||||
].includes(id)
|
||||
),
|
||||
require('@jupyterlab/console-extension').default.filter(({ id }) =>
|
||||
@ -123,7 +123,7 @@ async function main() {
|
||||
require('@jupyterlab/filebrowser-extension').default.filter(({ id }) =>
|
||||
[
|
||||
'@jupyterlab/filebrowser-extension:factory',
|
||||
'@jupyterlab/filebrowser-extension:defaultFileBrowser'
|
||||
'@jupyterlab/filebrowser-extension:default-file-browser'
|
||||
].includes(id)
|
||||
),
|
||||
require('@jupyterlab/fileeditor-extension').default.filter(({ id }) =>
|
||||
@ -152,7 +152,6 @@ async function main() {
|
||||
require('@jupyterlab/translation-extension'),
|
||||
require('@jupyterlab/ui-components-extension'),
|
||||
// Add the "Hub Control Panel" menu option when running in JupyterHub
|
||||
require('@jupyterlab/collaboration-extension'),
|
||||
require('@jupyterlab/hub-extension')
|
||||
];
|
||||
|
||||
|
219
app/package.json
219
app/package.json
@ -23,74 +23,71 @@
|
||||
"@jupyter-notebook/tree-extension": "~7.0.0-alpha.12",
|
||||
"@jupyter-notebook/ui-components": "~7.0.0-alpha.12",
|
||||
"@jupyter/ydoc": "~0.3.1",
|
||||
"@jupyterlab/application": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/application-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/apputils": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/apputils-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/cell-toolbar": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/cell-toolbar-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/celltags": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/celltags-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/codeeditor": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/codemirror": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/codemirror-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/collaboration": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/collaboration-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/completer": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/completer-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/console": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/console-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/coreutils": "~6.0.0-alpha.18",
|
||||
"@jupyterlab/debugger": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/debugger-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/docmanager": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/docmanager-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/docprovider": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/documentsearch": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/documentsearch-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/filebrowser": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/filebrowser-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/fileeditor": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/fileeditor-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/htmlviewer": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/htmlviewer-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/hub-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/javascript-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/json-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/lsp": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/lsp-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/mainmenu": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/mainmenu-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/markedparser-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/mathjax2-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/notebook": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/notebook-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/observables": "~5.0.0-alpha.18",
|
||||
"@jupyterlab/outputarea": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/pdf-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/rendermime": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/rendermime-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/rendermime-interfaces": "~3.8.0-alpha.18",
|
||||
"@jupyterlab/running-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/services": "~7.0.0-alpha.18",
|
||||
"@jupyterlab/settingeditor": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/settingeditor-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/settingregistry": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/shortcuts-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/statedb": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/statusbar": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/terminal": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/terminal-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/theme-dark-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/theme-light-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/toc-extension": "~6.0.0-alpha.18",
|
||||
"@jupyterlab/tooltip": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/tooltip-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/translation": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/translation-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/ui-components": "~4.0.0-alpha.33",
|
||||
"@jupyterlab/ui-components-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/vega5-extension": "~4.0.0-alpha.18",
|
||||
"@jupyterlab/application": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/application-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/apputils": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/apputils-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/cell-toolbar": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/cell-toolbar-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/celltags": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/celltags-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/codeeditor": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/codemirror": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/codemirror-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/completer": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/completer-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/console": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/console-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/coreutils": "~6.0.0-alpha.19",
|
||||
"@jupyterlab/debugger": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/debugger-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/docmanager": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/docmanager-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/documentsearch": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/documentsearch-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/filebrowser": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/filebrowser-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/fileeditor": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/fileeditor-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/htmlviewer": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/htmlviewer-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/hub-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/javascript-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/json-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/lsp": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/lsp-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/mainmenu": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/mainmenu-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/markedparser-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/mathjax2-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/notebook": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/notebook-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/observables": "~5.0.0-alpha.19",
|
||||
"@jupyterlab/outputarea": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/pdf-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/rendermime": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/rendermime-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/rendermime-interfaces": "~3.8.0-alpha.19",
|
||||
"@jupyterlab/running-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/services": "~7.0.0-alpha.19",
|
||||
"@jupyterlab/settingeditor": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/settingeditor-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/settingregistry": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/shortcuts-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/statedb": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/statusbar": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/terminal": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/terminal-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/theme-dark-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/theme-light-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/toc-extension": "~6.0.0-alpha.19",
|
||||
"@jupyterlab/tooltip": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/tooltip-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/translation": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/translation-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/ui-components": "~4.0.0-alpha.34",
|
||||
"@jupyterlab/ui-components-extension": "~4.0.0-alpha.19",
|
||||
"@jupyterlab/vega5-extension": "~4.0.0-alpha.19",
|
||||
"@lumino/algorithm": "~2.0.0-beta.0",
|
||||
"@lumino/application": "~2.0.0-beta.1",
|
||||
"@lumino/commands": "~2.0.0-beta.1",
|
||||
@ -119,50 +116,49 @@
|
||||
"@jupyter-notebook/tree": "^7.0.0-alpha.12",
|
||||
"@jupyter-notebook/tree-extension": "^7.0.0-alpha.12",
|
||||
"@jupyter-notebook/ui-components": "^7.0.0-alpha.12",
|
||||
"@jupyterlab/application-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/apputils-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/cell-toolbar-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/celltags": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/celltags-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/codemirror": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/codemirror-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/collaboration-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/completer-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/console-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.18",
|
||||
"@jupyterlab/debugger-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/docmanager-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/documentsearch-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/filebrowser-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/fileeditor-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/htmlviewer-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/hub-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/javascript-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/json-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/lsp": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/lsp-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/mainmenu-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/markedparser-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/mathjax2-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/notebook-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/pdf-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/rendermime-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/running-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/settingeditor": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/settingeditor-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/shortcuts-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/terminal-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/theme-dark-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/theme-light-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/toc-extension": "^6.0.0-alpha.18",
|
||||
"@jupyterlab/tooltip-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/translation-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/ui-components-extension": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/vega5-extension": "^4.0.0-alpha.18"
|
||||
"@jupyterlab/application-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/apputils-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/cell-toolbar-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/celltags": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/celltags-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/codemirror": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/codemirror-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/completer-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/console-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
|
||||
"@jupyterlab/debugger-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/docmanager-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/documentsearch-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/filebrowser-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/fileeditor-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/htmlviewer-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/hub-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/javascript-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/json-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/lsp": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/lsp-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/mainmenu-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/markedparser-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/mathjax2-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/notebook-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/pdf-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/rendermime-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/running-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/settingeditor": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/settingeditor-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/shortcuts-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/terminal-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/theme-dark-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/theme-light-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/toc-extension": "^6.0.0-alpha.19",
|
||||
"@jupyterlab/tooltip-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/translation-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/ui-components-extension": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/vega5-extension": "^4.0.0-alpha.19"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jupyterlab/builder": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/buildutils": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/builder": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/buildutils": "^4.0.0-alpha.19",
|
||||
"@types/rimraf": "^3.0.2",
|
||||
"css-loader": "~5.0.1",
|
||||
"fs-extra": "^8.1.0",
|
||||
@ -182,7 +178,6 @@
|
||||
"name": "Jupyter Notebook",
|
||||
"extensions": [
|
||||
"@jupyter-notebook/application-extension",
|
||||
"@jupyterlab/collaboration-extension",
|
||||
"@jupyter-notebook/console-extension",
|
||||
"@jupyter-notebook/docmanager-extension",
|
||||
"@jupyter-notebook/documentsearch-extension",
|
||||
@ -229,13 +224,11 @@
|
||||
"@jupyterlab/celltags",
|
||||
"@jupyterlab/codeeditor",
|
||||
"@jupyterlab/codemirror",
|
||||
"@jupyterlab/collaboration",
|
||||
"@jupyterlab/completer",
|
||||
"@jupyterlab/console",
|
||||
"@jupyterlab/coreutils",
|
||||
"@jupyterlab/debugger",
|
||||
"@jupyterlab/docmanager",
|
||||
"@jupyterlab/docprovider",
|
||||
"@jupyterlab/documentsearch",
|
||||
"@jupyterlab/filebrowser",
|
||||
"@jupyterlab/fileeditor",
|
||||
|
@ -30,7 +30,7 @@
|
||||
"watch": "tsc -w --listEmittedFiles"
|
||||
},
|
||||
"dependencies": {
|
||||
"@jupyterlab/buildutils": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/buildutils": "^4.0.0-alpha.19",
|
||||
"commander": "^6.2.0",
|
||||
"fs-extra": "^9.1.0",
|
||||
"typescript": "~4.9.3"
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"LabApp": { "collaborative": true, "expose_app_in_browser": true },
|
||||
"JupyterNotebookApp": { "collaborative": true, "expose_app_in_browser": true }
|
||||
"LabApp": { "expose_app_in_browser": true },
|
||||
"JupyterNotebookApp": { "expose_app_in_browser": true }
|
||||
}
|
||||
|
@ -47,7 +47,6 @@ class NotebookBaseHandler(ExtensionHandlerJinjaMixin, ExtensionHandlerMixin, Jup
|
||||
"fullStaticUrl": ujoin(self.base_url, "static", self.name),
|
||||
"frontendUrl": ujoin(self.base_url, "/"),
|
||||
"exposeAppInBrowser": app.expose_app_in_browser,
|
||||
"collaborative": app.collaborative,
|
||||
}
|
||||
|
||||
if "hub_prefix" in app.serverapp.tornado_settings:
|
||||
@ -228,17 +227,11 @@ class JupyterNotebookApp(NotebookConfigShimMixin, LabServerApp):
|
||||
help="Whether to expose the global app instance to browser via window.jupyterapp",
|
||||
)
|
||||
|
||||
collaborative = Bool(False, config=True, help="Whether to enable collaborative mode.")
|
||||
|
||||
flags = flags
|
||||
flags["expose-app-in-browser"] = (
|
||||
{"JupyterNotebookApp": {"expose_app_in_browser": True}},
|
||||
"Expose the global app instance to browser via window.jupyterapp.",
|
||||
)
|
||||
flags["collaborative"] = (
|
||||
{"JupyterNotebookApp": {"collaborative": True}},
|
||||
"Whether to enable collaborative mode.",
|
||||
)
|
||||
|
||||
@default("static_dir")
|
||||
def _default_static_dir(self):
|
||||
|
@ -43,7 +43,7 @@
|
||||
"watch:lib": "lerna exec --stream --scope @jupyter-notebook/metapackage jlpm watch"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jupyterlab/buildutils": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/buildutils": "^4.0.0-alpha.19",
|
||||
"@typescript-eslint/eslint-plugin": "^4.2.0",
|
||||
"@typescript-eslint/parser": "^4.2.0",
|
||||
"eslint": "^7.10.0",
|
||||
|
@ -41,17 +41,17 @@
|
||||
"dependencies": {
|
||||
"@jupyter-notebook/application": "^7.0.0-alpha.12",
|
||||
"@jupyter-notebook/ui-components": "^7.0.0-alpha.12",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/apputils": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/celltags": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/codeeditor": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/console": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.18",
|
||||
"@jupyterlab/docmanager": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/docregistry": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/mainmenu": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/settingregistry": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/translation": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/apputils": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/celltags": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/codeeditor": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/console": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
|
||||
"@jupyterlab/docmanager": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/docregistry": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/mainmenu": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/settingregistry": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/translation": "^4.0.0-alpha.19",
|
||||
"@lumino/coreutils": "^2.0.0-beta.0",
|
||||
"@lumino/disposable": "^2.0.0-beta.1",
|
||||
"@lumino/widgets": "^2.0.0-beta.1"
|
||||
|
@ -43,11 +43,11 @@
|
||||
"watch": "tsc -b --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"@jupyterlab/application": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.18",
|
||||
"@jupyterlab/docregistry": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/rendermime-interfaces": "^3.8.0-alpha.18",
|
||||
"@jupyterlab/ui-components": "^4.0.0-alpha.33",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
|
||||
"@jupyterlab/docregistry": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/rendermime-interfaces": "^3.8.0-alpha.19",
|
||||
"@jupyterlab/ui-components": "^4.0.0-alpha.34",
|
||||
"@lumino/algorithm": "^2.0.0-beta.0",
|
||||
"@lumino/coreutils": "^2.0.0-beta.0",
|
||||
"@lumino/messaging": "^2.0.0-beta.0",
|
||||
@ -58,7 +58,7 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.11.6",
|
||||
"@babel/preset-env": "^7.12.1",
|
||||
"@jupyterlab/testutils": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/testutils": "^4.0.0-alpha.19",
|
||||
"@types/jest": "^29.2.5",
|
||||
"jest": "^29.3.1",
|
||||
"rimraf": "^3.0.2",
|
||||
|
@ -39,9 +39,9 @@
|
||||
"watch": "tsc -b --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"@jupyterlab/application": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/console": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.18",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/console": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
|
||||
"@lumino/algorithm": "^2.0.0-beta.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -39,11 +39,11 @@
|
||||
"watch": "tsc -b --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"@jupyterlab/application": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.18",
|
||||
"@jupyterlab/docmanager": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/docregistry": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/services": "^7.0.0-alpha.18",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
|
||||
"@jupyterlab/docmanager": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/docregistry": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/services": "^7.0.0-alpha.19",
|
||||
"@lumino/algorithm": "^2.0.0-beta.0",
|
||||
"@lumino/signaling": "^2.0.0-beta.1"
|
||||
},
|
||||
|
@ -40,8 +40,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@jupyter-notebook/application": "^7.0.0-alpha.12",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/documentsearch": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/documentsearch": "^4.0.0-alpha.19",
|
||||
"@lumino/widgets": "^2.0.0-beta.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -40,15 +40,14 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@jupyter-notebook/ui-components": "^7.0.0-alpha.12",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/apputils": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/mainmenu": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/translation": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/apputils": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/mainmenu": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/translation": "^4.0.0-alpha.19",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.0.27",
|
||||
"rimraf": "^3.0.2",
|
||||
"typescript": "~4.9.3"
|
||||
},
|
||||
|
@ -44,17 +44,17 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@jupyter-notebook/application": "^7.0.0-alpha.12",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/apputils": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.18",
|
||||
"@jupyterlab/docregistry": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/notebook": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/translation": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/apputils": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
|
||||
"@jupyterlab/docregistry": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/notebook": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/translation": "^4.0.0-alpha.19",
|
||||
"@lumino/commands": "^2.0.0-beta.1",
|
||||
"@lumino/disposable": "^2.0.0-beta.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jupyterlab/builder": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/builder": "^4.0.0-alpha.19",
|
||||
"rimraf": "^3.0.2",
|
||||
"typescript": "~4.9.3"
|
||||
},
|
||||
|
@ -40,13 +40,13 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@jupyter-notebook/application": "^7.0.0-alpha.12",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/apputils": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/cells": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/docmanager": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/notebook": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/settingregistry": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/translation": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/apputils": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/cells": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/docmanager": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/notebook": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/settingregistry": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/translation": "^4.0.0-alpha.19",
|
||||
"@lumino/polling": "^2.0.0-beta.1",
|
||||
"@lumino/widgets": "^2.0.0-beta.1"
|
||||
},
|
||||
|
@ -39,9 +39,9 @@
|
||||
"watch": "tsc -b --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"@jupyterlab/application": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.18",
|
||||
"@jupyterlab/terminal": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
|
||||
"@jupyterlab/terminal": "^4.0.0-alpha.19",
|
||||
"@lumino/algorithm": "^2.0.0-beta.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -41,18 +41,18 @@
|
||||
"dependencies": {
|
||||
"@jupyter-notebook/application": "^7.0.0-alpha.12",
|
||||
"@jupyter-notebook/tree": "^7.0.0-alpha.12",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/apputils": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.18",
|
||||
"@jupyterlab/docmanager": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/filebrowser": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/mainmenu": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/services": "^7.0.0-alpha.18",
|
||||
"@jupyterlab/settingeditor": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/settingregistry": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/statedb": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/translation": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/ui-components": "^4.0.0-alpha.33",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/apputils": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
|
||||
"@jupyterlab/docmanager": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/filebrowser": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/mainmenu": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/services": "^7.0.0-alpha.19",
|
||||
"@jupyterlab/settingeditor": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/settingregistry": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/statedb": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/translation": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/ui-components": "^4.0.0-alpha.34",
|
||||
"@lumino/algorithm": "^2.0.0-beta.0",
|
||||
"@lumino/commands": "^2.0.0-beta.1",
|
||||
"@lumino/widgets": "^2.0.0-beta.1"
|
||||
|
@ -40,17 +40,17 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@jupyter-notebook/application": "^7.0.0-alpha.12",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/apputils": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.18",
|
||||
"@jupyterlab/docmanager": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/filebrowser": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/mainmenu": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/services": "^7.0.0-alpha.18",
|
||||
"@jupyterlab/settingregistry": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/statedb": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/translation": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/ui-components": "^4.0.0-alpha.33",
|
||||
"@jupyterlab/application": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/apputils": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
|
||||
"@jupyterlab/docmanager": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/filebrowser": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/mainmenu": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/services": "^7.0.0-alpha.19",
|
||||
"@jupyterlab/settingregistry": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/statedb": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/translation": "^4.0.0-alpha.19",
|
||||
"@jupyterlab/ui-components": "^4.0.0-alpha.34",
|
||||
"@lumino/algorithm": "^2.0.0-beta.0",
|
||||
"@lumino/commands": "^2.0.0-beta.1",
|
||||
"@lumino/coreutils": "^2.0.0-beta.0",
|
||||
|
@ -43,14 +43,14 @@
|
||||
"watch": "tsc -b --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"@jupyterlab/ui-components": "^4.0.0-alpha.33",
|
||||
"@jupyterlab/ui-components": "^4.0.0-alpha.34",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.10.2",
|
||||
"@babel/preset-env": "^7.10.2",
|
||||
"@jupyterlab/testutils": "^4.0.0-alpha.18",
|
||||
"@jupyterlab/testutils": "^4.0.0-alpha.19",
|
||||
"@types/jest": "^29.2.5",
|
||||
"babel-loader": "^8.0.6",
|
||||
"jest": "^29.3.1",
|
||||
|
@ -1,5 +1,5 @@
|
||||
[build-system]
|
||||
requires = ["hatchling>=1.11", "jupyterlab>=4.0.0a33,<5"]
|
||||
requires = ["hatchling>=1.11", "jupyterlab>=4.0.0a34,<5"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
@ -32,7 +32,7 @@ classifiers = [
|
||||
dependencies = [
|
||||
"jupyter_server>=2.0.1,<3",
|
||||
"importlib-resources>=5.0;python_version<\"3.9\"",
|
||||
"jupyterlab>=4.0.0a33,<5",
|
||||
"jupyterlab>=4.0.0a34,<5",
|
||||
"jupyterlab_server>=2.19.0,<3",
|
||||
"notebook_shim>=0.2,<0.3",
|
||||
"tornado>=6.2.0",
|
||||
@ -269,6 +269,8 @@ ignore = [
|
||||
# F841 Local variable `foo` is assigned to but never used
|
||||
# PLR2004 Magic value used in comparison
|
||||
"tests/*" = ["S101", "F841", "PLR2004"]
|
||||
# undefined name 'c'
|
||||
"ui-tests/test/jupyter_server_config.py" = ["F821"]
|
||||
|
||||
[tool.interrogate]
|
||||
ignore-init-module=true
|
||||
|
@ -15,7 +15,7 @@
|
||||
"test:update": "playwright test --update-snapshots"
|
||||
},
|
||||
"dependencies": {
|
||||
"@jupyterlab/galata": "~5.0.0-alpha.17",
|
||||
"@jupyterlab/galata": "~5.0.0-alpha.19",
|
||||
"rimraf": "^3.0.2"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,9 @@
|
||||
from pathlib import Path
|
||||
from tempfile import mkdtemp
|
||||
from typing import Any
|
||||
|
||||
import jupyterlab
|
||||
|
||||
c: Any
|
||||
c.ServerApp.port = 8888 # noqa
|
||||
c.ServerApp.port_retries = 0 # noqa
|
||||
@ -12,3 +15,4 @@ c.ServerApp.password = "" # noqa
|
||||
c.ServerApp.disable_check_xsrf = True # noqa
|
||||
|
||||
c.JupyterNotebookApp.expose_app_in_browser = True # noqa
|
||||
c.LabServerApp.extra_labextensions_path = str(Path(jupyterlab.__file__).parent / "galata")
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 12 KiB |
Binary file not shown.
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 12 KiB |
1644
ui-tests/yarn.lock
1644
ui-tests/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user