meta-openembedded/meta-python/recipes-devtools/python/python3-websockets_9.0.1.bb
Leon Anavi 178ef37ed7 python3-websockets: Upgrade 8.1 -> 9.0.1
Upgrade to release 9.0.1:

- Fixed issues with the packaging of the 9.0 release.
- :class:`~datastructures.Headers` and
  :exc:`~datastructures.MultipleValuesError` were moved from
  websockets.http to :mod:`websockets.datastructures`.
  If you're using them, you should adjust the import path.
- The client, server, protocol, and auth modules were moved from
  the websockets package to websockets.legacy sub-package, as part
  of an upcoming refactoring. Despite the name, they're still
  fully supported. The refactoring should be a transparent upgrade
  for most uses when it's available. The legacy implementation
  will be preserved according to the backwards-compatibility
  policy.
- The framing, handshake, headers, http, and uri modules in the
  websockets package are deprecated. These modules provided
  low-level APIs for reuse by other WebSocket implementations, but
  that never happened. Keeping these APIs public makes it more
  difficult to improve websockets for no actual benefit.
- Added compatibility with Python 3.9.
- Added support for IRIs in addition to URIs.
- Added close codes 1012, 1013, and 1014.
- Raised an error when passing a :class:`dict` to
  :meth:`~legacy.protocol.WebSocketCommonProtocol.send`.
- Fixed sending fragmented, compressed messages.
- Fixed Host header sent when connecting to an IPv6 address.
- Fixed creating a client or a server with an existing Unix socket.
- Aligned maximum cookie size with popular web browsers.
- Ensured cancellation always propagates, even on Python versions
  where :exc:`~asyncio.CancelledError` inherits :exc:`Exception`.
- Improved error reporting.

License-Update: Update years

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-05-11 08:25:56 -07: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] = "2ab64e9fd18e57a66b63a8774e337d81d6366412bef65c7d71f87ad5c4faeed5"
BBCLASSEXTEND = "native nativesdk"
RDEPENDS_${PN} = "\
${PYTHON_PN}-asyncio \
"