File tree 3 files changed +8
-3
lines changed
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 29
29
run : |
30
30
pip install "jupyterlab>=4.0.0,<5"
31
31
pip install -e .
32
+ pip install https://github.com/davidbrochart/pycrdt-websocket/archive/sqlite-anyio.zip
32
33
jlpm
33
34
34
35
- name : Run pre-commit
70
71
run : |
71
72
pip install "jupyterlab>=4.0.0,<5"
72
73
pip install -e .
74
+ pip install https://github.com/davidbrochart/pycrdt-websocket/archive/sqlite-anyio.zip
73
75
jlpm
74
76
75
77
- name : Run Tests
@@ -105,6 +107,7 @@ jobs:
105
107
run : |
106
108
python -m pip install "jupyterlab>=4.0.0,<5"
107
109
pip install -e ".[test]" codecov
110
+ pip install https://github.com/davidbrochart/pycrdt-websocket/archive/sqlite-anyio.zip
108
111
109
112
- name : List installed packages
110
113
run : |
@@ -176,6 +179,7 @@ jobs:
176
179
- name : Install the Python dependencies
177
180
run : |
178
181
pip install -e ".[test]"
182
+ pip install https://github.com/davidbrochart/pycrdt-websocket/archive/sqlite-anyio.zip
179
183
180
184
- name : List installed packages
181
185
run : |
@@ -218,6 +222,7 @@ jobs:
218
222
cd test
219
223
python -m pip install "jupyterlab>=4.0.0,<5"
220
224
python -m pip install ".[test]"
225
+ python -m pip install https://github.com/davidbrochart/pycrdt-websocket/archive/sqlite-anyio.zip
221
226
echo "::endgroup::"
222
227
223
228
- name : Run Test
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ classifiers = [
29
29
dependencies = [
30
30
" jupyter_server>=2.0.0,<3.0.0" ,
31
31
" jupyter_ydoc>=2.0.0,<3.0.0" ,
32
- " pycrdt-websocket>=0.12.5,<0.13.0" ,
32
+ # "pycrdt-websocket>=0.12.5,<0.13.0",
33
33
" jupyter_events>=0.10.0" ,
34
34
" jupyter_server_fileid>=0.7.0,<1" ,
35
35
" jsonschema>=4.18.0"
Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ async def connect(
58
58
stop_ready .set ()
59
59
await do_stop .wait ()
60
60
# allow some time for last messages to arrive through websocket
61
- # FIXME: how long? 1 second is arbitrary, maybe not enough
62
- await sleep (1 )
61
+ # FIXME: how long?
62
+ await sleep (10 )
63
63
stop_done .set ()
64
64
return
65
65
await sleep (uniform (0 , change_max_delay ))
You can’t perform that action at this time.
0 commit comments