Update to JupyterLab 4.0.0a33 (#6713)

* Update to JupyterLab 4.0.0a33

* Update Lumino packages

* Update to React 18

* Fix default browser

* Add defaultFileBrowser plugin

* Update yarn.lock

* Require Python 3.8

* Remove docprovider

* Bump Python dependencies

* Move Python bumps

* Unbump `jupyterlab_server`

* Align `jupyterlab_server`dep

* Bump jupyterlab_server

* Try with 3.10

* Manually set checkpoint text in UI tests

* Fix checkpoints value in UI tests

* Update snapshots
pull/6720/head
Jeremy Tuloup 3 years ago committed by GitHub
parent 8ca2c1892b
commit 27c2bfbb80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -85,6 +85,7 @@ jobs:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
dependency_type: minimum
python_version: '3.10'
- name: Run the unit tests
run: |
hatch run test:nowarn || hatch run test:nowarn --lf
@ -110,9 +111,9 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ['3.7', '3.11']
python: ['3.8', '3.11']
include:
- python: '3.7'
- python: '3.8'
dist: 'notebook*.tar.gz'
- python: '3.11'
dist: 'notebook*.whl'

@ -26,7 +26,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -U "jupyterlab>=4.0.0a32,<5" hatch
python -m pip install -U "jupyterlab>=4.0.0a33,<5" hatch
jlpm
jlpm run build
@ -76,6 +76,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -U "jupyterlab>=4.0.0a32,<5" pip
python -m pip install -U "jupyterlab>=4.0.0a33,<5" pip
jlpm
jlpm run build

@ -117,12 +117,14 @@ async function main() {
'@jupyterlab/docmanager-extension:manager'
].includes(id)
),
require('@jupyterlab/docprovider-extension'),
require('@jupyterlab/documentsearch-extension').default.filter(({ id }) =>
['@jupyterlab/documentsearch-extension:plugin'].includes(id)
),
require('@jupyterlab/filebrowser-extension').default.filter(({ id }) =>
['@jupyterlab/filebrowser-extension:factory'].includes(id)
[
'@jupyterlab/filebrowser-extension:factory',
'@jupyterlab/filebrowser-extension:defaultFileBrowser'
].includes(id)
),
require('@jupyterlab/fileeditor-extension').default.filter(({ id }) =>
['@jupyterlab/fileeditor-extension:plugin'].includes(id)

@ -22,91 +22,89 @@
"@jupyter-notebook/tree": "~7.0.0-alpha.11",
"@jupyter-notebook/tree-extension": "~7.0.0-alpha.11",
"@jupyter-notebook/ui-components": "~7.0.0-alpha.11",
"@jupyter/ydoc": "~0.2.2",
"@jupyterlab/application": "~4.0.0-alpha.17",
"@jupyterlab/application-extension": "~4.0.0-alpha.17",
"@jupyterlab/apputils": "~4.0.0-alpha.17",
"@jupyterlab/apputils-extension": "~4.0.0-alpha.17",
"@jupyterlab/cell-toolbar": "~4.0.0-alpha.17",
"@jupyterlab/cell-toolbar-extension": "~4.0.0-alpha.17",
"@jupyterlab/celltags": "~4.0.0-alpha.17",
"@jupyterlab/celltags-extension": "~4.0.0-alpha.17",
"@jupyterlab/codeeditor": "~4.0.0-alpha.17",
"@jupyterlab/codemirror": "~4.0.0-alpha.17",
"@jupyterlab/codemirror-extension": "~4.0.0-alpha.17",
"@jupyterlab/collaboration": "~4.0.0-alpha.17",
"@jupyterlab/collaboration-extension": "~4.0.0-alpha.17",
"@jupyterlab/completer": "~4.0.0-alpha.17",
"@jupyterlab/completer-extension": "~4.0.0-alpha.17",
"@jupyterlab/console": "~4.0.0-alpha.17",
"@jupyterlab/console-extension": "~4.0.0-alpha.17",
"@jupyterlab/coreutils": "~6.0.0-alpha.17",
"@jupyterlab/debugger": "~4.0.0-alpha.17",
"@jupyterlab/debugger-extension": "~4.0.0-alpha.17",
"@jupyterlab/docmanager": "~4.0.0-alpha.17",
"@jupyterlab/docmanager-extension": "~4.0.0-alpha.17",
"@jupyterlab/docprovider": "~4.0.0-alpha.17",
"@jupyterlab/docprovider-extension": "~4.0.0-alpha.17",
"@jupyterlab/documentsearch": "~4.0.0-alpha.17",
"@jupyterlab/documentsearch-extension": "~4.0.0-alpha.17",
"@jupyterlab/filebrowser": "~4.0.0-alpha.17",
"@jupyterlab/filebrowser-extension": "~4.0.0-alpha.17",
"@jupyterlab/fileeditor": "~4.0.0-alpha.17",
"@jupyterlab/fileeditor-extension": "~4.0.0-alpha.17",
"@jupyterlab/htmlviewer": "~4.0.0-alpha.17",
"@jupyterlab/htmlviewer-extension": "~4.0.0-alpha.17",
"@jupyterlab/hub-extension": "~4.0.0-alpha.17",
"@jupyterlab/javascript-extension": "~4.0.0-alpha.17",
"@jupyterlab/json-extension": "~4.0.0-alpha.17",
"@jupyterlab/lsp": "~4.0.0-alpha.17",
"@jupyterlab/lsp-extension": "~4.0.0-alpha.17",
"@jupyterlab/mainmenu": "~4.0.0-alpha.17",
"@jupyterlab/mainmenu-extension": "~4.0.0-alpha.17",
"@jupyterlab/markedparser-extension": "~4.0.0-alpha.17",
"@jupyterlab/mathjax2-extension": "~4.0.0-alpha.17",
"@jupyterlab/notebook": "~4.0.0-alpha.17",
"@jupyterlab/notebook-extension": "~4.0.0-alpha.17",
"@jupyterlab/observables": "~5.0.0-alpha.17",
"@jupyterlab/outputarea": "~4.0.0-alpha.17",
"@jupyterlab/pdf-extension": "~4.0.0-alpha.17",
"@jupyterlab/rendermime": "~4.0.0-alpha.17",
"@jupyterlab/rendermime-extension": "~4.0.0-alpha.17",
"@jupyterlab/rendermime-interfaces": "~3.8.0-alpha.17",
"@jupyterlab/running-extension": "~4.0.0-alpha.17",
"@jupyterlab/services": "~7.0.0-alpha.17",
"@jupyterlab/settingeditor": "~4.0.0-alpha.17",
"@jupyterlab/settingeditor-extension": "~4.0.0-alpha.17",
"@jupyterlab/settingregistry": "~4.0.0-alpha.17",
"@jupyterlab/shortcuts-extension": "~4.0.0-alpha.17",
"@jupyterlab/statedb": "~4.0.0-alpha.17",
"@jupyterlab/statusbar": "~4.0.0-alpha.17",
"@jupyterlab/terminal": "~4.0.0-alpha.17",
"@jupyterlab/terminal-extension": "~4.0.0-alpha.17",
"@jupyterlab/theme-dark-extension": "~4.0.0-alpha.17",
"@jupyterlab/theme-light-extension": "~4.0.0-alpha.17",
"@jupyterlab/toc-extension": "~6.0.0-alpha.17",
"@jupyterlab/tooltip": "~4.0.0-alpha.17",
"@jupyterlab/tooltip-extension": "~4.0.0-alpha.17",
"@jupyterlab/translation": "~4.0.0-alpha.17",
"@jupyterlab/translation-extension": "~4.0.0-alpha.17",
"@jupyterlab/ui-components": "~4.0.0-alpha.32",
"@jupyterlab/ui-components-extension": "~4.0.0-alpha.17",
"@jupyterlab/vega5-extension": "~4.0.0-alpha.17",
"@lumino/algorithm": "~2.0.0-alpha.7",
"@lumino/application": "~2.0.0-alpha.7",
"@lumino/commands": "~2.0.0-alpha.7",
"@lumino/coreutils": "~2.0.0-alpha.7",
"@lumino/disposable": "~2.0.0-alpha.7",
"@lumino/domutils": "~2.0.0-alpha.7",
"@lumino/dragdrop": "~2.0.0-alpha.7",
"@lumino/messaging": "~2.0.0-alpha.7",
"@lumino/properties": "~2.0.0-alpha.7",
"@lumino/signaling": "~2.0.0-alpha.7",
"@lumino/virtualdom": "~2.0.0-alpha.7",
"@lumino/widgets": "~2.0.0-alpha.7",
"react": "~17.0.2",
"react-dom": "~17.0.2",
"yjs": "~13.5.44"
"@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/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",
"@lumino/algorithm": "~2.0.0-beta.0",
"@lumino/application": "~2.0.0-beta.1",
"@lumino/commands": "~2.0.0-beta.1",
"@lumino/coreutils": "~2.0.0-beta.0",
"@lumino/disposable": "~2.0.0-beta.1",
"@lumino/domutils": "~2.0.0-beta.0",
"@lumino/dragdrop": "~2.0.0-beta.1",
"@lumino/messaging": "~2.0.0-beta.0",
"@lumino/properties": "~2.0.0-beta.0",
"@lumino/signaling": "~2.0.0-beta.1",
"@lumino/virtualdom": "~2.0.0-beta.0",
"@lumino/widgets": "~2.0.0-beta.1",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"yjs": "~13.5.45"
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.0-alpha.11",
@ -120,51 +118,50 @@
"@jupyter-notebook/tree": "^7.0.0-alpha.11",
"@jupyter-notebook/tree-extension": "^7.0.0-alpha.11",
"@jupyter-notebook/ui-components": "^7.0.0-alpha.11",
"@jupyterlab/application-extension": "^4.0.0-alpha.17",
"@jupyterlab/apputils-extension": "^4.0.0-alpha.17",
"@jupyterlab/cell-toolbar-extension": "^4.0.0-alpha.17",
"@jupyterlab/celltags": "^4.0.0-alpha.17",
"@jupyterlab/celltags-extension": "^4.0.0-alpha.17",
"@jupyterlab/codemirror": "^4.0.0-alpha.17",
"@jupyterlab/codemirror-extension": "^4.0.0-alpha.17",
"@jupyterlab/collaboration-extension": "^4.0.0-alpha.17",
"@jupyterlab/completer-extension": "^4.0.0-alpha.17",
"@jupyterlab/console-extension": "^4.0.0-alpha.17",
"@jupyterlab/coreutils": "^6.0.0-alpha.17",
"@jupyterlab/debugger-extension": "^4.0.0-alpha.17",
"@jupyterlab/docmanager-extension": "^4.0.0-alpha.17",
"@jupyterlab/docprovider-extension": "^4.0.0-alpha.17",
"@jupyterlab/documentsearch-extension": "^4.0.0-alpha.17",
"@jupyterlab/filebrowser-extension": "^4.0.0-alpha.17",
"@jupyterlab/fileeditor-extension": "^4.0.0-alpha.17",
"@jupyterlab/htmlviewer-extension": "^4.0.0-alpha.17",
"@jupyterlab/hub-extension": "^4.0.0-alpha.17",
"@jupyterlab/javascript-extension": "^4.0.0-alpha.17",
"@jupyterlab/json-extension": "^4.0.0-alpha.17",
"@jupyterlab/lsp": "^4.0.0-alpha.17",
"@jupyterlab/lsp-extension": "^4.0.0-alpha.17",
"@jupyterlab/mainmenu-extension": "^4.0.0-alpha.17",
"@jupyterlab/markedparser-extension": "^4.0.0-alpha.17",
"@jupyterlab/mathjax2-extension": "^4.0.0-alpha.17",
"@jupyterlab/notebook-extension": "^4.0.0-alpha.17",
"@jupyterlab/pdf-extension": "^4.0.0-alpha.17",
"@jupyterlab/rendermime-extension": "^4.0.0-alpha.17",
"@jupyterlab/running-extension": "^4.0.0-alpha.17",
"@jupyterlab/settingeditor": "^4.0.0-alpha.17",
"@jupyterlab/settingeditor-extension": "^4.0.0-alpha.17",
"@jupyterlab/shortcuts-extension": "^4.0.0-alpha.17",
"@jupyterlab/terminal-extension": "^4.0.0-alpha.17",
"@jupyterlab/theme-dark-extension": "^4.0.0-alpha.17",
"@jupyterlab/theme-light-extension": "^4.0.0-alpha.17",
"@jupyterlab/toc-extension": "^6.0.0-alpha.17",
"@jupyterlab/tooltip-extension": "^4.0.0-alpha.17",
"@jupyterlab/translation-extension": "^4.0.0-alpha.17",
"@jupyterlab/ui-components-extension": "^4.0.0-alpha.17",
"@jupyterlab/vega5-extension": "^4.0.0-alpha.17"
"@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"
},
"devDependencies": {
"@jupyterlab/builder": "^4.0.0-alpha.17",
"@jupyterlab/buildutils": "^4.0.0-alpha.17",
"@jupyterlab/builder": "^4.0.0-alpha.18",
"@jupyterlab/buildutils": "^4.0.0-alpha.18",
"@types/rimraf": "^3.0.2",
"css-loader": "~5.0.1",
"fs-extra": "^8.1.0",

@ -30,7 +30,7 @@
"watch": "tsc -w --listEmittedFiles"
},
"dependencies": {
"@jupyterlab/buildutils": "^4.0.0-alpha.17",
"@jupyterlab/buildutils": "^4.0.0-alpha.18",
"commander": "^6.2.0",
"fs-extra": "^9.1.0",
"typescript": "~4.9.3"

@ -233,7 +233,7 @@ class JupyterNotebookApp(NotebookConfigShimMixin, LabServerApp):
flags = flags
flags["expose-app-in-browser"] = (
{"JupyterNotebookApp": {"expose_app_in_browser": True}},
"Expose the global app instance to browser via window.jupyterlab.",
"Expose the global app instance to browser via window.jupyterapp.",
)
flags["collaborative"] = (
{"JupyterNotebookApp": {"collaborative": True}},

@ -43,7 +43,7 @@
"watch:lib": "lerna exec --stream --scope @jupyter-notebook/metapackage jlpm watch"
},
"devDependencies": {
"@jupyterlab/buildutils": "^4.0.0-alpha.17",
"@jupyterlab/buildutils": "^4.0.0-alpha.18",
"@typescript-eslint/eslint-plugin": "^4.2.0",
"@typescript-eslint/parser": "^4.2.0",
"eslint": "^7.10.0",

@ -41,20 +41,20 @@
"dependencies": {
"@jupyter-notebook/application": "^7.0.0-alpha.11",
"@jupyter-notebook/ui-components": "^7.0.0-alpha.11",
"@jupyterlab/application": "^4.0.0-alpha.17",
"@jupyterlab/apputils": "^4.0.0-alpha.17",
"@jupyterlab/celltags": "^4.0.0-alpha.17",
"@jupyterlab/codeeditor": "^4.0.0-alpha.17",
"@jupyterlab/console": "^4.0.0-alpha.17",
"@jupyterlab/coreutils": "^6.0.0-alpha.17",
"@jupyterlab/docmanager": "^4.0.0-alpha.17",
"@jupyterlab/docregistry": "^4.0.0-alpha.17",
"@jupyterlab/mainmenu": "^4.0.0-alpha.17",
"@jupyterlab/settingregistry": "^4.0.0-alpha.17",
"@jupyterlab/translation": "^4.0.0-alpha.17",
"@lumino/coreutils": "^2.0.0-alpha.7",
"@lumino/disposable": "^2.0.0-alpha.7",
"@lumino/widgets": "^2.0.0-alpha.7"
"@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",
"@lumino/coreutils": "^2.0.0-beta.0",
"@lumino/disposable": "^2.0.0-beta.1",
"@lumino/widgets": "^2.0.0-beta.1"
},
"devDependencies": {
"rimraf": "^3.0.2",

@ -43,22 +43,22 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/application": "^4.0.0-alpha.17",
"@jupyterlab/coreutils": "^6.0.0-alpha.17",
"@jupyterlab/docregistry": "^4.0.0-alpha.17",
"@jupyterlab/rendermime-interfaces": "^3.8.0-alpha.17",
"@jupyterlab/ui-components": "^4.0.0-alpha.32",
"@lumino/algorithm": "^2.0.0-alpha.7",
"@lumino/coreutils": "^2.0.0-alpha.7",
"@lumino/messaging": "^2.0.0-alpha.7",
"@lumino/polling": "^2.0.0-alpha.7",
"@lumino/signaling": "^2.0.0-alpha.7",
"@lumino/widgets": "^2.0.0-alpha.7"
"@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",
"@lumino/algorithm": "^2.0.0-beta.0",
"@lumino/coreutils": "^2.0.0-beta.0",
"@lumino/messaging": "^2.0.0-beta.0",
"@lumino/polling": "^2.0.0-beta.1",
"@lumino/signaling": "^2.0.0-beta.1",
"@lumino/widgets": "^2.0.0-beta.1"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.12.1",
"@jupyterlab/testutils": "^4.0.0-alpha.17",
"@jupyterlab/testutils": "^4.0.0-alpha.18",
"@types/jest": "^29.2.5",
"jest": "^29.3.1",
"rimraf": "^3.0.2",

@ -39,10 +39,10 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/application": "^4.0.0-alpha.17",
"@jupyterlab/console": "^4.0.0-alpha.17",
"@jupyterlab/coreutils": "^6.0.0-alpha.17",
"@lumino/algorithm": "^2.0.0-alpha.7"
"@jupyterlab/application": "^4.0.0-alpha.18",
"@jupyterlab/console": "^4.0.0-alpha.18",
"@jupyterlab/coreutils": "^6.0.0-alpha.18",
"@lumino/algorithm": "^2.0.0-beta.0"
},
"devDependencies": {
"rimraf": "^3.0.2",

@ -39,13 +39,13 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/application": "^4.0.0-alpha.17",
"@jupyterlab/coreutils": "^6.0.0-alpha.17",
"@jupyterlab/docmanager": "^4.0.0-alpha.17",
"@jupyterlab/docregistry": "^4.0.0-alpha.17",
"@jupyterlab/services": "^7.0.0-alpha.17",
"@lumino/algorithm": "^2.0.0-alpha.7",
"@lumino/signaling": "^2.0.0-alpha.7"
"@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",
"@lumino/algorithm": "^2.0.0-beta.0",
"@lumino/signaling": "^2.0.0-beta.1"
},
"devDependencies": {
"rimraf": "^3.0.2",

@ -40,9 +40,9 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.0-alpha.11",
"@jupyterlab/application": "^4.0.0-alpha.17",
"@jupyterlab/documentsearch": "^4.0.0-alpha.17",
"@lumino/widgets": "^2.0.0-alpha.7"
"@jupyterlab/application": "^4.0.0-alpha.18",
"@jupyterlab/documentsearch": "^4.0.0-alpha.18",
"@lumino/widgets": "^2.0.0-beta.1"
},
"devDependencies": {
"rimraf": "^3.0.2",

@ -40,14 +40,17 @@
},
"dependencies": {
"@jupyter-notebook/ui-components": "^7.0.0-alpha.11",
"@jupyterlab/application": "^4.0.0-alpha.17",
"@jupyterlab/apputils": "^4.0.0-alpha.17",
"@jupyterlab/mainmenu": "^4.0.0-alpha.17",
"@jupyterlab/translation": "^4.0.0-alpha.17"
"@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",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"rimraf": "^3.0.2",
"typescript": "~4.9.3"
"typescript": "~4.9.3",
"@types/react": "^18.0.27"
},
"publishConfig": {
"access": "public"

@ -44,17 +44,17 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.0-alpha.11",
"@jupyterlab/application": "^4.0.0-alpha.17",
"@jupyterlab/apputils": "^4.0.0-alpha.17",
"@jupyterlab/coreutils": "^6.0.0-alpha.17",
"@jupyterlab/docregistry": "^4.0.0-alpha.17",
"@jupyterlab/notebook": "^4.0.0-alpha.17",
"@jupyterlab/translation": "^4.0.0-alpha.17",
"@lumino/commands": "^2.0.0-alpha.7",
"@lumino/disposable": "^2.0.0-alpha.7"
"@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",
"@lumino/commands": "^2.0.0-beta.1",
"@lumino/disposable": "^2.0.0-beta.1"
},
"devDependencies": {
"@jupyterlab/builder": "^4.0.0-alpha.17",
"@jupyterlab/builder": "^4.0.0-alpha.18",
"rimraf": "^3.0.2",
"typescript": "~4.9.3"
},

@ -40,15 +40,15 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.0-alpha.11",
"@jupyterlab/application": "^4.0.0-alpha.17",
"@jupyterlab/apputils": "^4.0.0-alpha.17",
"@jupyterlab/cells": "^4.0.0-alpha.17",
"@jupyterlab/docmanager": "^4.0.0-alpha.17",
"@jupyterlab/notebook": "^4.0.0-alpha.17",
"@jupyterlab/settingregistry": "^4.0.0-alpha.17",
"@jupyterlab/translation": "^4.0.0-alpha.17",
"@lumino/polling": "^2.0.0-alpha.7",
"@lumino/widgets": "^2.0.0-alpha.7"
"@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",
"@lumino/polling": "^2.0.0-beta.1",
"@lumino/widgets": "^2.0.0-beta.1"
},
"devDependencies": {
"rimraf": "^3.0.2",

@ -39,10 +39,10 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/application": "^4.0.0-alpha.17",
"@jupyterlab/coreutils": "^6.0.0-alpha.17",
"@jupyterlab/terminal": "^4.0.0-alpha.17",
"@lumino/algorithm": "^2.0.0-alpha.7"
"@jupyterlab/application": "^4.0.0-alpha.18",
"@jupyterlab/coreutils": "^6.0.0-alpha.18",
"@jupyterlab/terminal": "^4.0.0-alpha.18",
"@lumino/algorithm": "^2.0.0-beta.0"
},
"devDependencies": {
"rimraf": "^3.0.2",

@ -41,21 +41,21 @@
"dependencies": {
"@jupyter-notebook/application": "^7.0.0-alpha.11",
"@jupyter-notebook/tree": "^7.0.0-alpha.11",
"@jupyterlab/application": "^4.0.0-alpha.17",
"@jupyterlab/apputils": "^4.0.0-alpha.17",
"@jupyterlab/coreutils": "^6.0.0-alpha.17",
"@jupyterlab/docmanager": "^4.0.0-alpha.17",
"@jupyterlab/filebrowser": "^4.0.0-alpha.17",
"@jupyterlab/mainmenu": "^4.0.0-alpha.17",
"@jupyterlab/services": "^7.0.0-alpha.17",
"@jupyterlab/settingeditor": "^4.0.0-alpha.17",
"@jupyterlab/settingregistry": "^4.0.0-alpha.17",
"@jupyterlab/statedb": "^4.0.0-alpha.17",
"@jupyterlab/translation": "^4.0.0-alpha.17",
"@jupyterlab/ui-components": "^4.0.0-alpha.32",
"@lumino/algorithm": "^2.0.0-alpha.7",
"@lumino/commands": "^2.0.0-alpha.7",
"@lumino/widgets": "^2.0.0-alpha.7"
"@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",
"@lumino/algorithm": "^2.0.0-beta.0",
"@lumino/commands": "^2.0.0-beta.1",
"@lumino/widgets": "^2.0.0-beta.1"
},
"devDependencies": {
"rimraf": "^3.0.2",

@ -13,9 +13,9 @@ import {
} from '@jupyterlab/apputils';
import {
IFileBrowserFactory,
FileBrowser,
Uploader
Uploader,
IDefaultFileBrowser
} from '@jupyterlab/filebrowser';
import { ISettingRegistry } from '@jupyterlab/settingregistry';
@ -109,17 +109,16 @@ const createNew: JupyterFrontEndPlugin<void> = {
*/
const openFileBrowser: JupyterFrontEndPlugin<void> = {
id: '@jupyter-notebook/tree-extension:open-file-browser',
requires: [INotebookTree, IFileBrowserFactory],
requires: [INotebookTree, IDefaultFileBrowser],
autoStart: true,
activate: (
app: JupyterFrontEnd,
notebookTree: INotebookTree,
factory: IFileBrowserFactory
browser: IDefaultFileBrowser
) => {
const { commands } = app;
commands.addCommand(CommandIDs.activate, {
execute: () => {
const { defaultBrowser: browser } = factory;
notebookTree.currentWidget = browser;
}
});
@ -132,7 +131,7 @@ const openFileBrowser: JupyterFrontEndPlugin<void> = {
const notebookTreeWidget: JupyterFrontEndPlugin<INotebookTree> = {
id: '@jupyter-notebook/tree-extension:widget',
requires: [
IFileBrowserFactory,
IDefaultFileBrowser,
ITranslator,
ISettingRegistry,
IToolbarWidgetRegistry
@ -142,7 +141,7 @@ const notebookTreeWidget: JupyterFrontEndPlugin<INotebookTree> = {
provides: INotebookTree,
activate: (
app: JupyterFrontEnd,
factory: IFileBrowserFactory,
browser: IDefaultFileBrowser,
translator: ITranslator,
settingRegistry: ISettingRegistry,
toolbarRegistry: IToolbarWidgetRegistry,
@ -153,7 +152,6 @@ const notebookTreeWidget: JupyterFrontEndPlugin<INotebookTree> = {
const trans = translator.load('notebook');
const { defaultBrowser: browser } = factory;
browser.title.label = trans.__('Files');
browser.node.setAttribute('role', 'region');
browser.node.setAttribute('aria-label', trans.__('File Browser Section'));

@ -40,21 +40,21 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.0-alpha.11",
"@jupyterlab/application": "^4.0.0-alpha.17",
"@jupyterlab/apputils": "^4.0.0-alpha.17",
"@jupyterlab/coreutils": "^6.0.0-alpha.17",
"@jupyterlab/docmanager": "^4.0.0-alpha.17",
"@jupyterlab/filebrowser": "^4.0.0-alpha.17",
"@jupyterlab/mainmenu": "^4.0.0-alpha.17",
"@jupyterlab/services": "^7.0.0-alpha.17",
"@jupyterlab/settingregistry": "^4.0.0-alpha.17",
"@jupyterlab/statedb": "^4.0.0-alpha.17",
"@jupyterlab/translation": "^4.0.0-alpha.17",
"@jupyterlab/ui-components": "^4.0.0-alpha.32",
"@lumino/algorithm": "^2.0.0-alpha.7",
"@lumino/commands": "^2.0.0-alpha.7",
"@lumino/coreutils": "^2.0.0-alpha.7",
"@lumino/widgets": "^2.0.0-alpha.7"
"@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",
"@lumino/algorithm": "^2.0.0-beta.0",
"@lumino/commands": "^2.0.0-beta.1",
"@lumino/coreutils": "^2.0.0-beta.0",
"@lumino/widgets": "^2.0.0-beta.1"
},
"devDependencies": {
"rimraf": "^3.0.2",

@ -43,14 +43,14 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/ui-components": "^4.0.0-alpha.32",
"react": "^17.0.1",
"react-dom": "^17.0.1"
"@jupyterlab/ui-components": "^4.0.0-alpha.33",
"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.17",
"@jupyterlab/testutils": "^4.0.0-alpha.18",
"@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.0a32,<5"]
requires = ["hatchling>=1.11", "jupyterlab>=4.0.0a33,<5"]
build-backend = "hatchling.build"
[project]
@ -7,7 +7,7 @@ name = "notebook"
description = "Jupyter Notebook - A web-based notebook environment for interactive computing"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.7"
requires-python = ">=3.8"
authors = [
{ name = "Jupyter Development Team", email = "jupyter@googlegroups.com" },
]
@ -23,7 +23,6 @@ classifiers = [
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
@ -31,12 +30,12 @@ classifiers = [
"Typing :: Typed",
]
dependencies = [
"jupyter_server>=2.0.0rc3,<3",
"jupyter_server>=2.0.1,<3",
"importlib-resources>=5.0;python_version<\"3.9\"",
"jupyterlab>=4.0.0a32,<5",
"jupyterlab_server>=2.16.3,<3",
"jupyterlab>=4.0.0a33,<5",
"jupyterlab_server>=2.19.0,<3",
"notebook_shim>=0.2,<0.3",
"tornado>=6.1.0",
"tornado>=6.2.0",
]
dynamic = ["version"]
@ -60,8 +59,8 @@ test = [
"pytest-timeout",
"pytest-console-scripts",
"ipykernel",
"jupyter_server[test]>=2.0.0rc3,<3",
"jupyterlab_server[test]>=2.16.3,<3",
"jupyter_server[test]>=2.0.1,<3",
"jupyterlab_server[test]>=2.19.0,<3",
]
docs = [
"myst_parser",

@ -24,8 +24,16 @@ test.describe('General', () => {
".jp-Notebook-ExecutionIndicator[data-status='idle']"
);
const checkpointLocator = '.jp-NotebookCheckpoint';
// wait for the checkpoint indicator to be displayed
await page.waitForSelector('.jp-NotebookCheckpoint');
await page.waitForSelector(checkpointLocator);
// remove the amount of seconds manually since it might display strings such as "3 seconds ago"
await page
.locator(checkpointLocator)
.evaluate(
element => (element.innerHTML = 'Last Checkpoint: 3 seconds ago')
);
// force switching back to command mode to avoid capturing the cursor in the screenshot
await page.evaluate(async () => {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 41 KiB

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save