Skip to content

Commit

Permalink
Update JupyterLab 4.2.0 and fix test start store (#305)
Browse files Browse the repository at this point in the history
* Update JupyterLab 4.2.0

* Fix test start store

* Update snapshots
  • Loading branch information
davidbrochart authored May 7, 2024
1 parent ecc0028 commit 0cc728a
Show file tree
Hide file tree
Showing 9 changed files with 708 additions and 1,176 deletions.
14 changes: 7 additions & 7 deletions packages/collaboration-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@
"dependencies": {
"@jupyter/collaboration": "^3.0.0-alpha.1",
"@jupyter/docprovider": "^3.0.0-alpha.1",
"@jupyter/ydoc": "^1.1.0-a0",
"@jupyterlab/application": "^4.2.0-beta.0",
"@jupyterlab/apputils": "^4.2.0-beta.0",
"@jupyterlab/codemirror": "^4.2.0-beta.0",
"@jupyter/ydoc": "^2.0.0",
"@jupyterlab/application": "^4.2.0",
"@jupyterlab/apputils": "^4.2.0",
"@jupyterlab/codemirror": "^4.2.0",
"@jupyterlab/coreutils": "^6.0.5",
"@jupyterlab/services": "^7.0.5",
"@jupyterlab/statedb": "^4.2.0-beta.0",
"@jupyterlab/translation": "^4.2.0-beta.0",
"@jupyterlab/ui-components": "^4.2.0-beta.0",
"@jupyterlab/statedb": "^4.2.0",
"@jupyterlab/translation": "^4.2.0",
"@jupyterlab/ui-components": "^4.2.0",
"@lumino/widgets": "^2.1.0",
"y-protocols": "^1.0.5",
"y-websocket": "^1.3.15",
Expand Down
20 changes: 10 additions & 10 deletions packages/docprovider-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@
},
"dependencies": {
"@jupyter/docprovider": "^3.0.0-alpha.1",
"@jupyter/ydoc": "^1.1.0-a0",
"@jupyterlab/application": "^4.2.0-beta.0",
"@jupyterlab/apputils": "^4.2.0-beta.0",
"@jupyterlab/docregistry": "^4.2.0-beta.0",
"@jupyterlab/filebrowser": "^4.2.0-beta.0",
"@jupyterlab/fileeditor": "^4.2.0-beta.0",
"@jupyterlab/logconsole": "^4.2.0-beta.0",
"@jupyterlab/notebook": "^4.2.0-beta.0",
"@jupyterlab/settingregistry": "^4.2.0-beta.0",
"@jupyterlab/translation": "^4.2.0-beta.0",
"@jupyter/ydoc": "^2.0.0",
"@jupyterlab/application": "^4.2.0",
"@jupyterlab/apputils": "^4.2.0",
"@jupyterlab/docregistry": "^4.2.0",
"@jupyterlab/filebrowser": "^4.2.0",
"@jupyterlab/fileeditor": "^4.2.0",
"@jupyterlab/logconsole": "^4.2.0",
"@jupyterlab/notebook": "^4.2.0",
"@jupyterlab/settingregistry": "^4.2.0",
"@jupyterlab/translation": "^4.2.0",
"@lumino/commands": "^2.1.0",
"y-protocols": "^1.0.5",
"y-websocket": "^1.3.15",
Expand Down
2 changes: 1 addition & 1 deletion packages/docprovider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyter/ydoc": "^1.1.0-a0",
"@jupyter/ydoc": "^2.0.0",
"@jupyterlab/coreutils": "^6.0.5",
"@jupyterlab/services": "^7.0.5",
"@lumino/coreutils": "^2.1.0",
Expand Down
5 changes: 3 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from __future__ import annotations

import json
from asyncio import Event, sleep
from asyncio import Event, create_task, sleep
from datetime import datetime
from typing import Any

Expand Down Expand Up @@ -176,7 +176,8 @@ def rtc_create_SQLite_store(jp_serverapp):

async def _inner(type: str, path: str, content: str) -> DocumentRoom:
db = SQLiteYStore(path=f"{type}:{path}")
await db.start()
task = create_task(db.start())
await db.started.wait()

if type == "notebook":
doc = YNotebook()
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0cc728a

Please sign in to comment.