From 0d20d26cd3ab1a6c2a5ebb057ed8f3d8f179c401 Mon Sep 17 00:00:00 2001 From: Xu Huan Date: Tue, 23 Nov 2021 15:51:36 +0800 Subject: python3-websockets: upgrade 10.0 -> 10.1 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 Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-websockets_10.0.bb | 15 --------------- .../recipes-devtools/python/python3-websockets_10.1.bb | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-websockets_10.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-websockets_10.1.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-websockets_10.0.bb b/meta-python/recipes-devtools/python/python3-websockets_10.0.bb deleted file mode 100644 index 004d3beb17..0000000000 --- a/meta-python/recipes-devtools/python/python3-websockets_10.0.bb +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "An implementation of the WebSocket Protocol (RFC 6455)" -HOMEPAGE = "https://github.com/aaugustin/websockets" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=78c2cc91e172ca96d6f8e4a76c739ec6" - -inherit pypi setuptools3 - -SRC_URI[sha256sum] = "c4fc9a1d242317892590abe5b61a9127f1a61740477bfb121743f290b8054002" - -BBCLASSEXTEND = "native nativesdk" - -RDEPENDS:${PN} = "\ - ${PYTHON_PN}-asyncio \ -" diff --git a/meta-python/recipes-devtools/python/python3-websockets_10.1.bb b/meta-python/recipes-devtools/python/python3-websockets_10.1.bb new file mode 100644 index 0000000000..6dd29a9ff6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-websockets_10.1.bb @@ -0,0 +1,15 @@ +SUMMARY = "An implementation of the WebSocket Protocol (RFC 6455)" +HOMEPAGE = "https://github.com/aaugustin/websockets" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=78c2cc91e172ca96d6f8e4a76c739ec6" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "181d2b25de5a437b36aefedaf006ecb6fa3aa1328ec0236cdde15f32f9d3ff6d" + +BBCLASSEXTEND = "native nativesdk" + +RDEPENDS:${PN} = "\ + ${PYTHON_PN}-asyncio \ +" -- cgit v1.2.3-54-g00ecf