websockets.legacy is deprecated and now causes the tests to fail #2530
-
As reported in Debian at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088725 the current release of websockets (14.1) reports a
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
PR welcome to add the line to pyproject to help you folks. |
Beta Was this translation helpful? Give feedback.
-
Of course that will help for the time being (till 2030!), but when the functionality is removed entirely, this code will stop working. The upgrade path is described here: https://websockets.readthedocs.io/en/stable/howto/upgrade.html but I don't know enough about uvicorn to propose a PR to migrate to the new asyncio version of websockets. |
Beta Was this translation helpful? Give feedback.
-
Turns out that that issue does not cover all of the deprecation warnings; I'm not sure whether I should add a note of those here, or to that issue, or open a separate discussion? They are:
|
Beta Was this translation helpful? Give feedback.
PR welcome to add the line to pyproject to help you folks.