diff --git a/10.4.tar.gz b/10.4.tar.gz deleted file mode 100644 index f4e6f9f..0000000 --- a/10.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5c7f345bd7924544db691de2f21c80b6fed1f303a54bfa650b782016b64e54ae -size 309611 diff --git a/11.0.2.tar.gz b/11.0.2.tar.gz new file mode 100644 index 0000000..5d9de6f --- /dev/null +++ b/11.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94b19db57b4a20e1b253d888dfaefdc3bf5c581afbe340cf6d548ae8a419b401 +size 347575 diff --git a/python-websockets.changes b/python-websockets.changes index cc35194..930529c 100644 --- a/python-websockets.changes +++ b/python-websockets.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Wed May 10 06:57:26 UTC 2023 - Dirk Müller + +- 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 diff --git a/python-websockets.spec b/python-websockets.spec index 422cd78..1a73839 100644 --- a/python-websockets.spec +++ b/python-websockets.spec @@ -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.2 Release: 0 Summary: An implementation of the WebSocket Protocol (RFC 6455) License: BSD-3-Clause