forked from pool/python-websockets
- update to 12.0:
* websockets 12.0 requires Python ≥ 3.8.
* Made convenience imports from ``websockets`` compatible with
static code analysis tools such as auto-completion in an IDE
or type checking with mypy_.
* Accepted a plain :class:`int` where an
:class:`~http.HTTPStatus` is expected.
* Added :class:`~frames.CloseCode`.
- drop py312-shutdown.patch (upstream)
``protocol.Protocol``, ``server.ServerProtocol``, and
- Update to 10.4
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockets?expand=0&rev=49
This commit is contained in:
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 6 09:18:32 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 12.0:
|
||||
* websockets 12.0 requires Python ≥ 3.8.
|
||||
* Made convenience imports from ``websockets`` compatible with
|
||||
static code analysis tools such as auto-completion in an IDE
|
||||
or type checking with mypy_.
|
||||
* Accepted a plain :class:`int` where an
|
||||
:class:`~http.HTTPStatus` is expected.
|
||||
* Added :class:`~frames.CloseCode`.
|
||||
- drop py312-shutdown.patch (upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 20 14:58:11 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
@@ -28,7 +41,7 @@ Wed May 10 06:57:26 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
* The ``connection`` module was renamed to ``protocol``.
|
||||
* The ``connection.Connection``, ``server.ServerConnection``,
|
||||
and ``client.ClientConnection`` classes were renamed to
|
||||
``protocol.Protocol``, ``server.ServerProtocol``, and
|
||||
``protocol.Protocol``, ``server.ServerProtocol``, and
|
||||
``client.ClientProtocol``.
|
||||
* If you instantiate :class:`~server.ServerProtocol` or
|
||||
:class:`~client.ClientProtocol` directly, make sure you are
|
||||
@@ -67,7 +80,7 @@ Thu Apr 13 22:45:55 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 9 19:45:34 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to 10.4
|
||||
- Update to 10.4
|
||||
New features
|
||||
* Validated compatibility with Python 3.11.
|
||||
* Added the latency property to protocols.
|
||||
@@ -101,9 +114,9 @@ Fri Feb 4 22:08:32 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
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
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user