From 05dda95465c98c8617bd2790a73dee796e834060 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 10 Apr 2023 16:27:42 +0800 Subject: python3-websockets: upgrade 10.4 -> 11.0.1 License-Update: Use standard licence text and SPDX identifier. Changelog: ========== Bug fixes ---------- Restored the C extension in the source distribution. Backwards-incompatible changes ------------------------------- The Sans-I/O implementation was moved. Sans-I/O protocol constructors now use keyword-only arguments. Closing a connection without an empty close frame is OK. serve() times out on the opening handshake after 10 seconds by default. New features ------------- websockets 10.0 introduces a implementation on top of threading. Added open_timeout to serve(). Made it possible to close a server without closing existing connections. Added select_subprotocol to customize negotiation of subprotocols in the Sans-I/O layer. Improvements -------------- Added platform-independent wheels. Improved error handling in broadcast(). Set server_hostname automatically on TLS connections when providing a sock argument to connect(). Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-websockets_10.4.bb | 15 --------------- .../recipes-devtools/python/python3-websockets_11.0.1.bb | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-websockets_10.4.bb create mode 100644 meta-python/recipes-devtools/python/python3-websockets_11.0.1.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-websockets_10.4.bb b/meta-python/recipes-devtools/python/python3-websockets_10.4.bb deleted file mode 100644 index fac4d7a424..0000000000 --- a/meta-python/recipes-devtools/python/python3-websockets_10.4.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] = "eef610b23933c54d5d921c92578ae5f89813438fded840c2e9809d378dc765d3" - -BBCLASSEXTEND = "native nativesdk" - -RDEPENDS:${PN} = "\ - ${PYTHON_PN}-asyncio \ -" diff --git a/meta-python/recipes-devtools/python/python3-websockets_11.0.1.bb b/meta-python/recipes-devtools/python/python3-websockets_11.0.1.bb new file mode 100644 index 0000000000..06110d38b9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-websockets_11.0.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=51924a6af4495b8cfaee1b1da869b6f4" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "369410925b240b30ef1c1deadbd6331e9cd865ad0b8966bf31e276cc8e0da159" + +BBCLASSEXTEND = "native nativesdk" + +RDEPENDS:${PN} = "\ + ${PYTHON_PN}-asyncio \ +" -- cgit v1.2.3-54-g00ecf