meta-openembedded/meta-python/recipes-devtools/python/python3-websockets_10.1.bb
Xu Huan 0d20d26cd3 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 <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-11-24 09:31:08 -08:00

16 lines
420 B
BlitzBasic

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 \
"