holoviz / panel

Panel: The powerful data exploration & web app framework for Python
https://panel.holoviz.org
BSD 3-Clause "New" or "Revised" License
4.8k stars 519 forks source link

compat: websockets 14 #7491

Closed hoxbro closed 1 week ago

hoxbro commented 1 week ago

To fix the following warnings. By the look of it not much we can do on our end.

  File "/Users/runner/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/uvicorn/protocols/websockets/auto.py", line 19, in <module>
    from uvicorn.protocols.websockets.websockets_impl import WebSocketProtocol
  File "/Users/runner/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 10, in <module>
    import websockets.legacy.handshake
  File "/Users/runner/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/websockets/legacy/__init__.py", line 6, in <module>
    warnings.warn(  # deprecated in 14.0 - 2024-11-09
DeprecationWarning: websockets.legacy is deprecated; see https://websockets.readthedocs.io/en/stable/howto/upgrade.html for upgrade instructions
  File "/Users/runner/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/uvicorn/protocols/websockets/auto.py", line 19, in <module>
    from uvicorn.protocols.websockets.websockets_impl import WebSocketProtocol
  File "/Users/runner/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 16, in <module>
    from websockets.server import WebSocketServerProtocol
  File "/Users/runner/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/websockets/imports.py", line 86, in __getattr__
    warnings.warn(
DeprecationWarning: websockets.server.WebSocketServerProtocol is deprecated
codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.38%. Comparing base (cd645dd) to head (eac935e). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7491 +/- ## ======================================= Coverage 82.38% 82.38% ======================================= Files 339 339 Lines 50986 50994 +8 ======================================= + Hits 42003 42010 +7 - Misses 8983 8984 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.