17
0

Commit Graph

  • e23ad7733a Accepting request 1275264 from devel:languages:python factory Dominique Leuenberger 2025-05-08 18:39:43 +00:00
  • 35ae3bdd17 Accepting request 1275264 from devel:languages:python slfo-main slfo-1.2 Dominique Leuenberger 2025-05-08 18:39:43 +00:00
  • fa7667b061 - Increase WEBSOCKETS_TESTS_TIMEOUT_FACTOR to 50 to fix flaky tests in different architectures, bsc#1242254 Daniel Garcia 2025-05-07 12:15:20 +00:00
  • 05c978a7da - Increase WEBSOCKETS_TESTS_TIMEOUT_FACTOR to 50 to fix flaky tests in different architectures, bsc#1242254 Daniel Garcia 2025-05-07 12:15:20 +00:00
  • 415c9f2078 - Skip flaky tests for s390x Daniel Garcia 2025-05-06 09:35:04 +00:00
  • 100595c278 - Skip flaky tests for s390x Daniel Garcia 2025-05-06 09:35:04 +00:00
  • ffe098c78c Accepting request 1245879 from home:nkrapp:branches:devel:languages:python Steve Kowalik 2025-02-17 03:17:17 +00:00
  • 871da8c36e Accepting request 1245879 from home:nkrapp:branches:devel:languages:python Steve Kowalik 2025-02-17 03:17:17 +00:00
  • 52afb4dd59 Accepting request 1219093 from devel:languages:python Dominique Leuenberger 2024-10-30 16:32:53 +00:00
  • 380c183220 Accepting request 1219093 from devel:languages:python Dominique Leuenberger 2024-10-30 16:32:53 +00:00
  • 9c8d258c38 Accepting request 1219084 from home:glaubitz:branches:devel:languages:python Dirk Mueller 2024-10-29 17:04:19 +00:00
  • 1603d86393 - Update to 13.1 * Added support for reconnecting automatically by using connect() as an asynchronous iterator to the new asyncio implementation. * connect() now follows redirects in the new asyncio implementation. * Added HTTP Basic Auth to the new asyncio and threading implementations of servers. * Made the set of active connections available in the Server.connections property. * Improved reporting of errors during the opening handshake. * Raised ConcurrencyError on unsupported concurrent calls. Previously, RuntimeError was raised. For backwards compatibility, ConcurrencyError is a subclass of RuntimeError. * The new asyncio and threading implementations of servers don’t start the connection handler anymore when process_request or process_response returns an HTTP response. * Fixed a bug in the threading implementation that could lead to incorrect error reporting when closing a connection while recv() is running. - from version 13.0.1 * Restored the C extension in the source distribution. - from version 13.0 * Validated compatibility with Python 3.12 and 3.13. * Added environment variables to configure debug logs, the Server and User-Agent headers, as well as security limits. * If you were monkey-patching constants, be aware that they were renamed, which will break your configuration. You must switch to the environment variables. * The error message in server logs when a header is too long is more explicit. * Fixed a bug in the threading implementation that could prevent the program from exiting when a connection wasn’t closed properly. * Redirecting from a ws:// URI to a wss:// URI now works. Dirk Mueller 2024-10-29 17:04:19 +00:00
  • b3b153fe33 Accepting request 1141312 from devel:languages:python Ana Guerrero 2024-01-29 21:25:50 +00:00
  • d16e1f2cab Accepting request 1141312 from devel:languages:python Ana Guerrero 2024-01-29 21:25:50 +00:00
  • 17470302ba - Disable broken tests with openssl 3.2 and python < 3.11 bsc#1217782 Daniel Garcia 2024-01-24 16:30:35 +00:00
  • 63a2ad2a30 - Disable broken tests with openssl 3.2 and python < 3.11 bsc#1217782 Daniel Garcia 2024-01-24 16:30:35 +00:00
  • bf6cd10d4e Accepting request 1131292 from devel:languages:python Ana Guerrero 2023-12-07 18:09:05 +00:00
  • fe29046a4b Accepting request 1131292 from devel:languages:python Ana Guerrero 2023-12-07 18:09:05 +00:00
  • 0b746c8e5f - 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 Dirk Mueller 2023-12-06 09:19:34 +00:00
  • eb8262d0fe - 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 Dirk Mueller 2023-12-06 09:19:34 +00:00
  • 698e3aeed1 Accepting request 1112605 from devel:languages:python Ana Guerrero 2023-09-22 19:47:16 +00:00
  • 781b5890a4 Accepting request 1112605 from devel:languages:python Ana Guerrero 2023-09-22 19:47:16 +00:00
  • ebda6bd6d4 Accepting request 1112595 from home:mcalabkova:branches:devel:languages:python:312 Ondřej Súkup 2023-09-20 16:04:07 +00:00
  • c5cb3d81f6 Accepting request 1112595 from home:mcalabkova:branches:devel:languages:python:312 Ondřej Súkup 2023-09-20 16:04:07 +00:00
  • ebee9371ac Accepting request 1109360 from devel:languages:python Ana Guerrero 2023-09-07 19:12:55 +00:00
  • 27810f6d13 Accepting request 1109360 from devel:languages:python Ana Guerrero 2023-09-07 19:12:55 +00:00
  • 8a553b68ba - Include in SLE-15 (bsc#1199282, jsc#PM-3243, jsc#SLE-24629) Dirk Mueller 2023-09-06 21:49:10 +00:00
  • d8691c83dc - Include in SLE-15 (bsc#1199282, jsc#PM-3243, jsc#SLE-24629) Dirk Mueller 2023-09-06 21:49:10 +00:00
  • 97f0319951 Accepting request 1088821 from devel:languages:python Dominique Leuenberger 2023-05-26 18:14:23 +00:00
  • 7ddf42e8ce Accepting request 1088821 from devel:languages:python Dominique Leuenberger 2023-05-26 18:14:23 +00:00
  • 8767d1975f - Run tests with pytest - Disable flaky test gh#python-websockets/websockets#1322 Daniel Garcia 2023-05-24 11:13:16 +00:00
  • f04943187a - Run tests with pytest - Disable flaky test gh#python-websockets/websockets#1322 Daniel Garcia 2023-05-24 11:13:16 +00:00
  • c3c1121df3 Accepting request 1087125 from devel:languages:python Dominique Leuenberger 2023-05-19 09:55:18 +00:00
  • 38c47a0d14 Accepting request 1087125 from devel:languages:python Dominique Leuenberger 2023-05-19 09:55:18 +00:00
  • d58a5d6660 - update to 11.0.3: * Fixed the :mod:threading implementation of servers on Windows. Dirk Mueller 2023-05-14 18:45:11 +00:00
  • c083aba17f - update to 11.0.3: * Fixed the :mod:threading implementation of servers on Windows. Dirk Mueller 2023-05-14 18:45:11 +00:00
  • e6e0622c2f - 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. Dirk Mueller 2023-05-10 06:59:05 +00:00
  • 2a045d24e0 - 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. Dirk Mueller 2023-05-10 06:59:05 +00:00
  • e7b279d44a Accepting request 1081725 from devel:languages:python Dominique Leuenberger 2023-04-22 19:58:09 +00:00
  • e6d0ef2c74 Accepting request 1081725 from devel:languages:python Dominique Leuenberger 2023-04-22 19:58:09 +00:00
  • 22b8283c42 Accepting request 1081696 from home:dirkmueller:acdc:as_python3_module Dirk Mueller 2023-04-21 13:28:15 +00:00
  • 18bd57f078 Accepting request 1081696 from home:dirkmueller:acdc:as_python3_module Dirk Mueller 2023-04-21 13:28:15 +00:00
  • 60f222f25f Accepting request 1035269 from devel:languages:python Dominique Leuenberger 2022-11-12 16:40:19 +00:00
  • 91ce7ad1ba Accepting request 1035269 from devel:languages:python Dominique Leuenberger 2022-11-12 16:40:19 +00:00
  • 097c77f5bd Accepting request 1034940 from home:yarunachalam:branches:devel:languages:python Markéta Machová 2022-11-11 13:28:34 +00:00
  • f1dbe987a7 Accepting request 1034940 from home:yarunachalam:branches:devel:languages:python Markéta Machová 2022-11-11 13:28:34 +00:00
  • 95b6fe5ef0 Accepting request 1005792 from devel:languages:python Dominique Leuenberger 2022-09-25 13:34:43 +00:00
  • cd75130fc0 Accepting request 1005792 from devel:languages:python Dominique Leuenberger 2022-09-25 13:34:43 +00:00
  • 5d344f61a7 - 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 2022-09-24 16:19:07 +00:00
  • 5b751bd6c5 - 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 2022-09-24 16:19:07 +00:00
  • 86689a4e30 Accepting request 951678 from devel:languages:python Dominique Leuenberger 2022-02-09 19:38:07 +00:00
  • 34b5c70db7 Accepting request 951678 from devel:languages:python Dominique Leuenberger 2022-02-09 19:38:07 +00:00
  • 2ae89f488d - 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): ... Dirk Mueller 2022-02-04 22:09:57 +00:00
  • 4438c717b0 - 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): ... Dirk Mueller 2022-02-04 22:09:57 +00:00
  • 6d272d7d6b Accepting request 928437 from devel:languages:python Dominique Leuenberger 2021-11-01 17:35:42 +00:00
  • 0482f1b4f9 Accepting request 928437 from devel:languages:python Dominique Leuenberger 2021-11-01 17:35:42 +00:00
  • a6a9796ea5 Accepting request 928326 from home:bnavigator:branches:devel:languages:python Matej Cepl 2021-10-31 22:35:16 +00:00
  • 8798c73929 Accepting request 928326 from home:bnavigator:branches:devel:languages:python Matej Cepl 2021-10-31 22:35:16 +00:00
  • 7b669073c7 Accepting request 928264 from devel:languages:python Dominique Leuenberger 2021-10-30 21:13:58 +00:00
  • c82edabef4 Accepting request 928264 from devel:languages:python Dominique Leuenberger 2021-10-30 21:13:58 +00:00
  • 9be40fee4f - The test suite is temporarily broken on Python 3.9.7 (gh#aaugustin/websockets#1051). Matej Cepl 2021-10-30 12:32:16 +00:00
  • a70bdba5bb - The test suite is temporarily broken on Python 3.9.7 (gh#aaugustin/websockets#1051). Matej Cepl 2021-10-30 12:32:16 +00:00
  • 46e7fb4581 Accepting request 928132 from devel:languages:python Dominique Leuenberger 2021-10-29 20:34:31 +00:00
  • efcfc1a210 Accepting request 928132 from devel:languages:python Dominique Leuenberger 2021-10-29 20:34:31 +00:00
  • 224e0e973a - Update to 10.0: - Backwards-incompatible changes - websockets 10.0 requires Python ≥ 3.7. - The `loop parameter is deprecated from all APIs. The loop parameter is also removed from ~server.WebSocketServer. This should be transparent. - ~client.connect times out after 10 seconds by default. You can adjust the timeout with the open_timeout parameter. Set it to None to disable the timeout entirely. - The legacy_recv option is deprecated. - The signature of ~exceptions.ConnectionClosed changed. If you raise ~exceptions.ConnectionClosed or a subclass, rather than catch them when websockets raises them, you must change your code. - A msg parameter was added to ~exceptions.InvalidURI. If you raise ~exceptions.InvalidURI, rather than catch it when websockets raises it, you must change your code. - New features - websockets 10.0 introduces a Sans-I/O API for easier integration in third-party libraries. - Added compatibility with Python 3.10. - Added ~websockets.broadcast to send a message to many clients. - Added support for reconnecting automatically by using ~client.connect as an asynchronous iterator. - Added open_timeout to :func:~client.connect`. - Documented how to integrate with Django. - Documented how to deploy websockets in production, with several options. - Documented how to authenticate connections. - Documented how to broadcast messages to many connections. Matej Cepl 2021-10-29 13:14:59 +00:00
  • eed2c397fc - Update to 10.0: - Backwards-incompatible changes - websockets 10.0 requires Python ≥ 3.7. - The `loop parameter is deprecated from all APIs. The loop parameter is also removed from ~server.WebSocketServer. This should be transparent. - ~client.connect times out after 10 seconds by default. You can adjust the timeout with the open_timeout parameter. Set it to None to disable the timeout entirely. - The legacy_recv option is deprecated. - The signature of ~exceptions.ConnectionClosed changed. If you raise ~exceptions.ConnectionClosed or a subclass, rather than catch them when websockets raises them, you must change your code. - A msg parameter was added to ~exceptions.InvalidURI. If you raise ~exceptions.InvalidURI, rather than catch it when websockets raises it, you must change your code. - New features - websockets 10.0 introduces a Sans-I/O API for easier integration in third-party libraries. - Added compatibility with Python 3.10. - Added ~websockets.broadcast to send a message to many clients. - Added support for reconnecting automatically by using ~client.connect as an asynchronous iterator. - Added open_timeout to :func:~client.connect`. - Documented how to integrate with Django. - Documented how to deploy websockets in production, with several options. - Documented how to authenticate connections. - Documented how to broadcast messages to many connections. Matej Cepl 2021-10-29 13:14:59 +00:00
  • 4002488568 Accepting request 911402 from devel:languages:python Richard Brown 2021-08-12 07:01:26 +00:00
  • 8bac15f579 Accepting request 911402 from devel:languages:python Richard Brown 2021-08-12 07:01:26 +00:00
  • 5c71f4b86a - Increase WEBSOCKETS_TESTS_TIMEOUT_FACTOR to 10 to make test_keepalive_ping_with_no_ping_timeout pass again. - Remove skip-test_keepalive_ping_with_no_ping_timeout.patch, of course. Matej Cepl 2021-08-11 09:19:36 +00:00
  • 2bb628a6c4 - Increase WEBSOCKETS_TESTS_TIMEOUT_FACTOR to 10 to make test_keepalive_ping_with_no_ping_timeout pass again. - Remove skip-test_keepalive_ping_with_no_ping_timeout.patch, of course. Matej Cepl 2021-08-11 09:19:36 +00:00
  • a704f34e48 - Add skip-test_keepalive_ping_with_no_ping_timeout.patch for gh#aaugustin/websockets#1026. Matej Cepl 2021-08-10 07:52:37 +00:00
  • 99b8f93569 - Add skip-test_keepalive_ping_with_no_ping_timeout.patch for gh#aaugustin/websockets#1026. Matej Cepl 2021-08-10 07:52:37 +00:00
  • 0601e8018f - Use %pyunittest macro instead of doing it on our own. Matej Cepl 2021-08-10 07:18:23 +00:00
  • 44a7704273 - Use %pyunittest macro instead of doing it on our own. Matej Cepl 2021-08-10 07:18:23 +00:00
  • a0f2238f93 Accepting request 897837 from devel:languages:python Dominique Leuenberger 2021-06-06 20:40:58 +00:00
  • 9ab67a5292 Accepting request 897837 from devel:languages:python Dominique Leuenberger 2021-06-06 20:40:58 +00:00
  • 5a94551d91 - update to 9.1: **Version 9.1 fixes a security issue introduced in version 8.0.** * Restored compatibility of `python -m websockets with Python < 3.9. * Restored compatibility with mypy. * Fixed issues with the packaging of the 9.0 release. * :class:~datastructures.Headers and :exc:~datastructures.MultipleValuesError were moved from websockets.http to :mod:websockets.datastructures. If you're using them, you should adjust the import path. * The client, server, protocol, and auth modules were moved from the websockets package to websockets.legacy sub-package, as part of an upcoming refactoring. Despite the name, they're still fully supported. The refactoring should be a transparent upgrade for most uses when it's available. The legacy implementation will be preserved according to the backwards-compatibility policy_. * The framing, handshake, headers, http, and uri modules in the websockets package are deprecated. These modules provided low-level APIs for reuse by other WebSocket implementations, but that never happened. Keeping these APIs public makes it more difficult to improve websockets for no actual benefit. * Added compatibility with Python 3.9. * Added support for IRIs in addition to URIs. * Added close codes 1012, 1013, and 1014. * Raised an error when passing a :class:dict` to Dirk Mueller 2021-06-06 12:01:51 +00:00
  • ec0b5addeb - update to 9.1: **Version 9.1 fixes a security issue introduced in version 8.0.** * Restored compatibility of `python -m websockets with Python < 3.9. * Restored compatibility with mypy. * Fixed issues with the packaging of the 9.0 release. * :class:~datastructures.Headers and :exc:~datastructures.MultipleValuesError were moved from websockets.http to :mod:websockets.datastructures. If you're using them, you should adjust the import path. * The client, server, protocol, and auth modules were moved from the websockets package to websockets.legacy sub-package, as part of an upcoming refactoring. Despite the name, they're still fully supported. The refactoring should be a transparent upgrade for most uses when it's available. The legacy implementation will be preserved according to the backwards-compatibility policy_. * The framing, handshake, headers, http, and uri modules in the websockets package are deprecated. These modules provided low-level APIs for reuse by other WebSocket implementations, but that never happened. Keeping these APIs public makes it more difficult to improve websockets for no actual benefit. * Added compatibility with Python 3.9. * Added support for IRIs in addition to URIs. * Added close codes 1012, 1013, and 1014. * Raised an error when passing a :class:dict` to Dirk Mueller 2021-06-06 12:01:51 +00:00
  • 2988264b5a Accepting request 851871 from devel:languages:python Dominique Leuenberger 2020-12-01 13:22:57 +00:00
  • 36f43e5bcf Accepting request 851871 from devel:languages:python Dominique Leuenberger 2020-12-01 13:22:57 +00:00
  • 90a2ec2135 Accepting request 851475 from home:jayvdb:branches:devel:languages:python Markéta Machová 2020-11-30 14:56:05 +00:00
  • bb2e419fd2 Accepting request 851475 from home:jayvdb:branches:devel:languages:python Markéta Machová 2020-11-30 14:56:05 +00:00
  • 267d391f46 Accepting request 770600 from devel:languages:python Dominique Leuenberger 2020-02-07 14:54:22 +00:00
  • 64d89def92 Accepting request 770600 from devel:languages:python Dominique Leuenberger 2020-02-07 14:54:22 +00:00
  • cb37ffa3ed Accepting request 770596 from home:mcalabkova:branches:devel:languages:python Tomáš Chvátal 2020-02-06 14:02:22 +00:00
  • 545814b52f Accepting request 770596 from home:mcalabkova:branches:devel:languages:python Tomáš Chvátal 2020-02-06 14:02:22 +00:00
  • 4593b654c0 Accepting request 738721 from devel:languages:python Dominique Leuenberger 2019-10-16 07:18:54 +00:00
  • 9252de4e34 Accepting request 738721 from devel:languages:python Dominique Leuenberger 2019-10-16 07:18:54 +00:00
  • 5320241126 - Add python38-support.patch from upstream that fixes build failures against Python 3.8. Steve Kowalik 2019-10-16 03:20:52 +00:00
  • 5d7a8a7115 - Add python38-support.patch from upstream that fixes build failures against Python 3.8. Steve Kowalik 2019-10-16 03:20:52 +00:00
  • 453ccf649e Accepting request 723124 from devel:languages:python Dominique Leuenberger 2019-08-13 18:45:27 +00:00
  • 6f7e7b1817 Accepting request 723124 from devel:languages:python Dominique Leuenberger 2019-08-13 18:45:27 +00:00
  • b589cbd56e - Update to 8.0.2: * Restored the ability to pass a socket with the sock parameter of :func:~server.serve. * Removed an incorrect assertion when a connection drops. Tomáš Chvátal 2019-08-13 16:38:51 +00:00
  • 7b88575164 - Update to 8.0.2: * Restored the ability to pass a socket with the sock parameter of :func:~server.serve. * Removed an incorrect assertion when a connection drops. Tomáš Chvátal 2019-08-13 16:38:51 +00:00
  • f38acd4205 Accepting request 717556 from devel:languages:python Dominique Leuenberger 2019-07-22 15:19:25 +00:00
  • 29fc4a9775 Accepting request 717556 from devel:languages:python Dominique Leuenberger 2019-07-22 15:19:25 +00:00
  • bdc1c2b17a - Update to 8.0.1: * Version 8.0 drops compatibility with Python 3.4 and 3.5. * Various fixes Tomáš Chvátal 2019-07-22 11:43:21 +00:00
  • 0cb733750b - Update to 8.0.1: * Version 8.0 drops compatibility with Python 3.4 and 3.5. * Various fixes Tomáš Chvátal 2019-07-22 11:43:21 +00:00
  • f3fa68fec2 Accepting request 694783 from devel:languages:python Dominique Leuenberger 2019-05-22 08:58:08 +00:00
  • f868567a6f Accepting request 694783 from devel:languages:python Dominique Leuenberger 2019-05-22 08:58:08 +00:00