File support-websockets-14+.patch of Package python-uvicorn
diff -urB uvicorn-0.41.0/pyproject.toml uvicorn-0.41.0-patch/pyproject.toml
--- uvicorn-0.41.0/pyproject.toml 2020-02-02 02:00:00.000000000 +0200
+++ uvicorn-0.41.0-patch/pyproject.toml 2026-03-08 13:23:28.760279608 +0200
@@ -128,7 +128,8 @@
"ignore: websockets.server.WebSocketServerProtocol is deprecated.*:DeprecationWarning",
"ignore: websockets.client.connect is deprecated.*:DeprecationWarning",
# httptools in Python 3.14t needs the `PYTHON_GIL=0` environment variable, or raises a RuntimeWarning.
- "ignore: The global interpreter lock (GIL)*:RuntimeWarning"
+ "ignore: The global interpreter lock (GIL)*:RuntimeWarning",
+ "ignore: websockets.exceptions.InvalidStatusCode is deprecated:DeprecationWarning"
]
[tool.coverage.run]