From 1c5abb937e8dfba3864e5d2011a8cbc5441b4b28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= Date: Thu, 14 Nov 2024 11:46:33 +0100 Subject: [PATCH] compat: websockets 14 (#7491) --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 64b76cd384..8dc56b9401 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -224,6 +224,9 @@ filterwarnings = [ "ignore:distutils Version classes are deprecated:DeprecationWarning:ipywidgets_bokeh.kernel", # OK "ignore:unclosed file <_io.TextIOWrapper name='(/dev/null|nul)' mode='w':ResourceWarning", # OK "ignore:Deprecated in traitlets 4.1, use the instance .metadata dictionary directly", # OK (ipywidgets internal) + # 2024-11 + "ignore:websockets.legacy is deprecated:DeprecationWarning", # https://github.com/encode/uvicorn/issues/1908 + "ignore:websockets.server.WebSocketServerProtocol is deprecated:DeprecationWarning", # https://github.com/encode/uvicorn/issues/1908 ] [tool.mypy]