Revisions of python-websockets
buildservice-autocommit
accepted
request 1141312
from
Daniel Garcia (dgarcia)
(revision 52)
baserev update by copy to link target
- Disable broken tests with openssl 3.2 and python < 3.11 bsc#1217782
buildservice-autocommit
accepted
request 1131292
from
Dirk Mueller (dirkmueller)
(revision 50)
baserev update by copy to link target
- 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
buildservice-autocommit
accepted
request 1112605
from
Ondřej Súkup (mimi_vx)
(revision 48)
baserev update by copy to link target
- Add py312-shutdown.patch to fix server shutdown on Python 3.12
buildservice-autocommit
accepted
request 1109360
from
Dirk Mueller (dirkmueller)
(revision 46)
baserev update by copy to link target
- Include in SLE-15 (bsc#1199282, jsc#PM-3243, jsc#SLE-24629)
buildservice-autocommit
accepted
request 1088821
from
Daniel Garcia (dgarcia)
(revision 44)
baserev update by copy to link target
- Run tests with pytest - Disable flaky test gh#python-websockets/websockets#1322
buildservice-autocommit
accepted
request 1087125
from
Dirk Mueller (dirkmueller)
(revision 42)
baserev update by copy to link target
- 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`. * 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.
buildservice-autocommit
accepted
request 1081725
from
Dirk Mueller (dirkmueller)
(revision 39)
baserev update by copy to link target
SR for python stack proposal
buildservice-autocommit
accepted
request 1035269
from
Markéta Machová (mcalabkova)
(revision 37)
baserev update by copy to link target
- Update to 10.4 New features * Validated compatibility with Python 3.11. * Added the latency property to protocols. * Changed ping to return the latency of the connection. * Supported overriding or removing the User-Agent header in clients and the Server header in servers. * Added deployment guides for more Platform as a Service providers.
buildservice-autocommit
accepted
request 1005792
from
Dirk Mueller (dirkmueller)
(revision 35)
baserev update by copy to link target
- update to 10.3: * Reduced noise in logs when :mod:`ssl` or :mod:`zlib` raise exceptions. * Made compression negotiation more lax for compatibility with Firefox. * Improved FAQ and quick start guide. * Fixed backwards-incompatibility in 10.1 for connection handlers created with * Avoided leaking open sockets when :func:`~client.connect` is canceled.
- update to 10.1: * Made the second parameter of connection handlers optional. It will be deprecated in the next major release. The request path is available in the :attr:`~legacy.protocol.WebSocketCommonProtocol.path` attribute of the first argument. 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 ... * Added ``python -m websockets --version``. * Reverted optimization of default compression settings for clients, mainly to avoid triggering bugs in poorly implemented servers like `AWS API Gateway`_. * Mirrored the entire :class:`~asyncio.Server` API in :class:`~server.WebSocketServer`. * Improved performance for large messages on ARM processors. * Documented how to auto-reload on code changes in development. * Avoided half-closing TCP connections that are already closed.
Displaying revisions 1 - 20 of 52