Skip to content

Commit 0cc728a

Browse files
Update JupyterLab 4.2.0 and fix test start store (#305)
* Update JupyterLab 4.2.0 * Fix test start store * Update snapshots
1 parent ecc0028 commit 0cc728a

File tree

9 files changed

+708
-1176
lines changed

9 files changed

+708
-1176
lines changed

packages/collaboration-extension/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@
5555
"dependencies": {
5656
"@jupyter/collaboration": "^3.0.0-alpha.1",
5757
"@jupyter/docprovider": "^3.0.0-alpha.1",
58-
"@jupyter/ydoc": "^1.1.0-a0",
59-
"@jupyterlab/application": "^4.2.0-beta.0",
60-
"@jupyterlab/apputils": "^4.2.0-beta.0",
61-
"@jupyterlab/codemirror": "^4.2.0-beta.0",
58+
"@jupyter/ydoc": "^2.0.0",
59+
"@jupyterlab/application": "^4.2.0",
60+
"@jupyterlab/apputils": "^4.2.0",
61+
"@jupyterlab/codemirror": "^4.2.0",
6262
"@jupyterlab/coreutils": "^6.0.5",
6363
"@jupyterlab/services": "^7.0.5",
64-
"@jupyterlab/statedb": "^4.2.0-beta.0",
65-
"@jupyterlab/translation": "^4.2.0-beta.0",
66-
"@jupyterlab/ui-components": "^4.2.0-beta.0",
64+
"@jupyterlab/statedb": "^4.2.0",
65+
"@jupyterlab/translation": "^4.2.0",
66+
"@jupyterlab/ui-components": "^4.2.0",
6767
"@lumino/widgets": "^2.1.0",
6868
"y-protocols": "^1.0.5",
6969
"y-websocket": "^1.3.15",

packages/docprovider-extension/package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,16 @@
5454
},
5555
"dependencies": {
5656
"@jupyter/docprovider": "^3.0.0-alpha.1",
57-
"@jupyter/ydoc": "^1.1.0-a0",
58-
"@jupyterlab/application": "^4.2.0-beta.0",
59-
"@jupyterlab/apputils": "^4.2.0-beta.0",
60-
"@jupyterlab/docregistry": "^4.2.0-beta.0",
61-
"@jupyterlab/filebrowser": "^4.2.0-beta.0",
62-
"@jupyterlab/fileeditor": "^4.2.0-beta.0",
63-
"@jupyterlab/logconsole": "^4.2.0-beta.0",
64-
"@jupyterlab/notebook": "^4.2.0-beta.0",
65-
"@jupyterlab/settingregistry": "^4.2.0-beta.0",
66-
"@jupyterlab/translation": "^4.2.0-beta.0",
57+
"@jupyter/ydoc": "^2.0.0",
58+
"@jupyterlab/application": "^4.2.0",
59+
"@jupyterlab/apputils": "^4.2.0",
60+
"@jupyterlab/docregistry": "^4.2.0",
61+
"@jupyterlab/filebrowser": "^4.2.0",
62+
"@jupyterlab/fileeditor": "^4.2.0",
63+
"@jupyterlab/logconsole": "^4.2.0",
64+
"@jupyterlab/notebook": "^4.2.0",
65+
"@jupyterlab/settingregistry": "^4.2.0",
66+
"@jupyterlab/translation": "^4.2.0",
6767
"@lumino/commands": "^2.1.0",
6868
"y-protocols": "^1.0.5",
6969
"y-websocket": "^1.3.15",

packages/docprovider/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"watch": "tsc -b --watch"
4242
},
4343
"dependencies": {
44-
"@jupyter/ydoc": "^1.1.0-a0",
44+
"@jupyter/ydoc": "^2.0.0",
4545
"@jupyterlab/coreutils": "^6.0.5",
4646
"@jupyterlab/services": "^7.0.5",
4747
"@lumino/coreutils": "^2.1.0",

tests/conftest.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from __future__ import annotations
44

55
import json
6-
from asyncio import Event, sleep
6+
from asyncio import Event, create_task, sleep
77
from datetime import datetime
88
from typing import Any
99

@@ -176,7 +176,8 @@ def rtc_create_SQLite_store(jp_serverapp):
176176

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

181182
if type == "notebook":
182183
doc = YNotebook()
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)