diff --git a/jupyter_collaboration/handlers.py b/jupyter_collaboration/handlers.py index dcbfd6a8..233add4c 100644 --- a/jupyter_collaboration/handlers.py +++ b/jupyter_collaboration/handlers.py @@ -14,9 +14,9 @@ from jupyter_server.base.handlers import APIHandler, JupyterHandler from jupyter_server.utils import ensure_async from jupyter_ydoc import ydocs as YDOCS +from pycrdt import YMessageType, write_var_uint from pycrdt_websocket.websocket_server import YRoom from pycrdt_websocket.ystore import BaseYStore -from pycrdt_websocket.yutils import YMessageType, write_var_uint from tornado import web from tornado.websocket import WebSocketHandler diff --git a/pyproject.toml b/pyproject.toml index 0898c0c8..7055fc0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,8 @@ classifiers = [ dependencies = [ "jupyter_server>=2.0.0,<3.0.0", "jupyter_ydoc>=2.0.0,<3.0.0", - "pycrdt-websocket>=0.13.4,<0.14.0", + "pycrdt", + "pycrdt-websocket>=0.14.0,<0.15.0", "jupyter_events>=0.10.0", "jupyter_server_fileid>=0.7.0,<1", "jsonschema>=4.18.0" @@ -143,6 +144,8 @@ filterwarnings = [ "ignore:can't resolve package from __spec__ or __package__, falling back on __name__ and __path__:ImportWarning", # see https://github.com/dateutil/dateutil/issues/1314 "ignore:.*datetime.utcfromtimestamp\\(\\) is deprecated.*:DeprecationWarning:", + # From anyio https://github.com/agronholm/anyio/pull/715 + 'ignore:Unclosed :ResourceWarning', ] [tool.mypy]