- Skip flaky tests for s390x
- Increase WEBSOCKETS_TESTS_TIMEOUT_FACTOR to 50 to fix flaky tests in
different architectures, bsc#1242254
- Update to 14.2
* Added support for regular expressions in the origins argument of serve()
* Wrapped errors when reading the opening handshake request or response in
InvalidMessage so that connect() raises InvalidHandshake or a subclass
when the opening handshake fails
* Fixed recv() with timeout=0 in the threading implementation. If a message
is already received, it is returned. Previously, TimeoutError was
raised incorrectly
* Fixed a crash in the asyncio implementation when cancelling a ping then
receiving the corresponding pong
* Prevented close() from blocking when the network becomes unavailable or
when receive buffers are saturated in the asyncio and threading
implementations
- Update to 14.1
* Supported max_queue=None in the asyncio and threading implementations
for consistency with the legacy implementation, even though this is
never a good idea
* Added close_code and close_reason attributes in the asyncio and
threading implementations for consistency with the legacy implementation
* Once the connection is closed, messages previously received and buffered
can be read in the asyncio and threading implementations, just like in
the legacy implementation
- Update to 14.0
* Added an option to receive text frames as bytes, without decoding, in
the threading implementation; also binary frames as str
* Added an option to send bytes in a text frame in the asyncio and
OBS-URL: https://build.opensuse.org/request/show/1275264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-websockets?expand=0&rev=28
- Update to 14.2
* Added support for regular expressions in the origins argument of serve()
* Wrapped errors when reading the opening handshake request or response in
InvalidMessage so that connect() raises InvalidHandshake or a subclass
when the opening handshake fails
* Fixed recv() with timeout=0 in the threading implementation. If a message
is already received, it is returned. Previously, TimeoutError was
raised incorrectly
* Fixed a crash in the asyncio implementation when cancelling a ping then
receiving the corresponding pong
* Prevented close() from blocking when the network becomes unavailable or
when receive buffers are saturated in the asyncio and threading
implementations
OBS-URL: https://build.opensuse.org/request/show/1245879
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockets?expand=0&rev=55
- 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.
OBS-URL: https://build.opensuse.org/request/show/1219084
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockets?expand=0&rev=53