Accepting request 1087125 from devel:languages:python

- update to 11.0.3:
  * Fixed the :mod:`threading` implementation of servers on
    Windows.

- update to 11.0.2:
  * Fixed a deadlock in the :mod:`threading` implementation when
    closing a connection without reading all messages.
  * Restored the C extension in the source distribution.
  * Backwards-incompatible changes
  * The Sans-I/O implementation was moved.
  * The ``connection`` module was renamed to ``protocol``.
  * The ``connection.Connection``, ``server.ServerConnection``,
    and ``client.ClientConnection`` classes were renamed to
    ``protocol.Protocol``, ``server.ServerProtocol``, and 
    ``client.ClientProtocol``.
  * If you instantiate :class:`~server.ServerProtocol` or
    :class:`~client.ClientProtocol` directly, make sure you are
    using keyword arguments.
  * Closing a connection without an empty close frame is OK.
  * .. admonition:: websockets 10.0 introduces a implementation
    on top of :mod:`threading`.
  * It may be more convenient if you don't need to manage many
    connections and you're more comfortable with :mod:`threading`
    than :mod:`asyncio`.
  * It is particularly suited to client applications that
    establish only one connection. It may be used for servers
    handling few connections.
  * See :func:`~sync.client.connect` and
    :func:`~sync.server.serve` for details.
  * Added ``open_timeout`` to :func:`~server.serve`.

OBS-URL: https://build.opensuse.org/request/show/1087125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-websockets?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2023-05-19 09:55:18 +00:00 committed by Git OBS Bridge
commit 38c47a0d14
4 changed files with 49 additions and 7 deletions

BIN
10.4.tar.gz (Stored with Git LFS)

Binary file not shown.

3
11.0.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e412f6480c9bf8d5a58cb746a4d20df391a19017b6d2c39b136d84b0be8309c9
size 347652

View File

@ -1,3 +1,48 @@
-------------------------------------------------------------------
Sun May 14 18:45:02 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 11.0.3:
* Fixed the :mod:`threading` implementation of servers on
Windows.
-------------------------------------------------------------------
Wed May 10 06:57:26 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 11.0.2:
* Fixed a deadlock in the :mod:`threading` implementation when
closing a connection without reading all messages.
* Restored the C extension in the source distribution.
* Backwards-incompatible changes
* The Sans-I/O implementation was moved.
* The ``connection`` module was renamed to ``protocol``.
* The ``connection.Connection``, ``server.ServerConnection``,
and ``client.ClientConnection`` classes were renamed to
``protocol.Protocol``, ``server.ServerProtocol``, and
``client.ClientProtocol``.
* If you instantiate :class:`~server.ServerProtocol` or
:class:`~client.ClientProtocol` directly, make sure you are
using keyword arguments.
* Closing a connection without an empty close frame is OK.
* .. admonition:: websockets 10.0 introduces a implementation
on top of :mod:`threading`.
* It may be more convenient if you don't need to manage many
connections and you're more comfortable with :mod:`threading`
than :mod:`asyncio`.
* It is particularly suited to client applications that
establish only one connection. It may be used for servers
handling few connections.
* See :func:`~sync.client.connect` and
:func:`~sync.server.serve` for details.
* Added ``open_timeout`` to :func:`~server.serve`.
* Made it possible to close a server without closing existing
connections.
* Added :attr:`~server.ServerProtocol.select_subprotocol` to
customize negotiation of subprotocols in the Sans-I/O layer.
* Added platform-independent wheels.
* Improved error handling in :func:`~websockets.broadcast`.
* Set ``server_hostname`` automatically on TLS connections when
providing a ``sock`` argument to :func:`~sync.client.connect`.
-------------------------------------------------------------------
Fri Apr 21 12:38:50 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -16,12 +16,9 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define skip_python36 1
%{?sle15_python_module_pythons}
Name: python-websockets
Version: 10.4
Version: 11.0.3
Release: 0
Summary: An implementation of the WebSocket Protocol (RFC 6455)
License: BSD-3-Clause