Revisions of python-websockets
buildservice-autocommit
accepted
request 1141312
from
Daniel Garcia (dgarcia)
(revision 52)
baserev update by copy to link target
Daniel Garcia (dgarcia)
committed
(revision 51)
- 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
Dirk Mueller (dirkmueller)
committed
(revision 49)
- 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
Ondřej Súkup (mimi_vx)
accepted
request 1112595
from
Markéta Machová (mcalabkova)
(revision 47)
- 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
Dirk Mueller (dirkmueller)
committed
(revision 45)
- 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
Daniel Garcia (dgarcia)
committed
(revision 43)
- 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
Dirk Mueller (dirkmueller)
committed
(revision 41)
- update to 11.0.3: * Fixed the :mod:`threading` implementation of servers on Windows.
Dirk Mueller (dirkmueller)
committed
(revision 40)
- 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
Dirk Mueller (dirkmueller)
accepted
request 1081696
from
Dirk Mueller (dirkmueller)
(revision 38)
SR for python stack proposal
buildservice-autocommit
accepted
request 1035269
from
Markéta Machová (mcalabkova)
(revision 37)
baserev update by copy to link target
Markéta Machová (mcalabkova)
accepted
request 1034940
from
Yogalakshmi Arunachalam (yarunachalam)
(revision 36)
- 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
Dirk Mueller (dirkmueller)
committed
(revision 34)
- 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.
Dirk Mueller (dirkmueller)
committed
(revision 33)
- 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