python-websockets
No description set
-
1
derived packages
- Links to devel:languages:python / python-websockets
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout system:homeautomation:home-assistant/python-websockets && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
12.0.tar.gz | 0000352120 344 KB | |
python-websockets.changes | 0000014023 13.7 KB | |
python-websockets.spec | 0000002380 2.32 KB |
Revision 8 (latest revision is 12)
Ruediger Oertel (oertel)
committed
(revision 8)
- Reactivate python39 build, only disable testing. No need to break consuming packages -- gh#aaugustin/websockets#1051 - Update to 10.0: - Backwards-incompatible changes - websockets 10.0 requires Python ≥ 3.7. - The ``loop`` parameter is deprecated from all APIs. The ``loop`` parameter is also removed from `~server.WebSocketServer`. This should be transparent. - `~client.connect` times out after 10 seconds by default. You can adjust the timeout with the ``open_timeout`` parameter. Set it to `None` to disable the timeout entirely. - The ``legacy_recv`` option is deprecated. - The signature of `~exceptions.ConnectionClosed` changed. If you raise `~exceptions.ConnectionClosed` or a subclass, rather than catch them when websockets raises them, you must change your code. - A ``msg`` parameter was added to `~exceptions.InvalidURI`. If you raise `~exceptions.InvalidURI`, rather than catch it when websockets raises it, you must change your code. - New features - websockets 10.0 introduces a Sans-I/O API for easier integration in third-party libraries. - Added compatibility with Python 3.10. - Added `~websockets.broadcast` to send a message to many clients. - Added support for reconnecting automatically by using `~client.connect` as an asynchronous iterator. - Added ``open_timeout`` to :func:`~client.connect`. - Documented how to integrate with Django. - Documented how to deploy websockets in production, with
Comments 0