[meta-python] python3-websockets: upgrade 10.0 -> 10.1

Message ID 1637653896-2629-1-git-send-email-xuhuan.fnst@fujitsu.com
State New
Headers show
Series [meta-python] python3-websockets: upgrade 10.0 -> 10.1 | expand

Commit Message

XU Huan Nov. 23, 2021, 7:51 a.m. UTC
From: Xu Huan <xuhuan.fnst@fujitsu.com>

New features
Added a tutorial.

Made the second parameter of connection handlers optional. It will be 
deprecated in the next major release. The request path is available in
 the path attribute of the first argument.

If you implemented the connection handler of a server as:

async def handler(request, path):
    ...
You should replace it by:

async def handler(request):
    path = request.path  # if handler() uses the path argument
    ...
Added python -m websockets --version.

Improvements
Added wheels for Python 3.10, PyPy 3.7, and for more platforms.

Reverted optimization of default compression settings for clients, mainly 
to avoid triggering bugs in poorly implemented servers like AWS API Gateway.

Mirrored the entire Server API in WebSocketServer.

Improved performance for large messages on ARM processors.

Documented how to auto-reload on code changes in development.

Bug fixes
Avoided half-closing TCP connections that are already closed.

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
---
 .../{python3-websockets_10.0.bb => python3-websockets_10.1.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-websockets_10.0.bb => python3-websockets_10.1.bb} (79%)

Patch

diff --git a/meta-python/recipes-devtools/python/python3-websockets_10.0.bb b/meta-python/recipes-devtools/python/python3-websockets_10.1.bb
similarity index 79%
rename from meta-python/recipes-devtools/python/python3-websockets_10.0.bb
rename to meta-python/recipes-devtools/python/python3-websockets_10.1.bb
index 004d3beb17..6dd29a9ff6 100644
--- a/meta-python/recipes-devtools/python/python3-websockets_10.0.bb
+++ b/meta-python/recipes-devtools/python/python3-websockets_10.1.bb
@@ -6,7 +6,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=78c2cc91e172ca96d6f8e4a76c739ec6"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "c4fc9a1d242317892590abe5b61a9127f1a61740477bfb121743f290b8054002"
+SRC_URI[sha256sum] = "181d2b25de5a437b36aefedaf006ecb6fa3aa1328ec0236cdde15f32f9d3ff6d"
 
 BBCLASSEXTEND = "native nativesdk"