Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-websockets for openSUSE:Factory checked in at 2026-04-21 12:41:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-websockets (Old) and /work/SRC/openSUSE:Factory/.python-websockets.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-websockets" Tue Apr 21 12:41:58 2026 rev:29 rq:1348387 version:16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-websockets/python-websockets.changes 2025-05-08 20:39:44.795893342 +0200 +++ /work/SRC/openSUSE:Factory/.python-websockets.new.11940/python-websockets.changes 2026-04-21 12:42:18.220152886 +0200 @@ -1,0 +2,27 @@ +Tue Apr 14 06:44:14 UTC 2026 - Dirk Müller <[email protected]> + +- update to 16.0: + * Validated compatibility with Python 3.14. + * Added support for free-threaded Python. + * Allowed setting separate limits for messages and fragments + with max_size. + * Added support for HTTP/1.0 proxies. + * Added support for customizing the close code and reason for + connections in :meth:`Server.close + <asyncio.server.Server.close>`. + * Prevented :meth:`~asyncio.connection.Connection.recv` from + returning :class:`bytearray` instead of :class:`bytes` in + edge cases. + * Fixed a race condition that could lead to an exception when + closing connections in the :mod:`threading` implementation. + * Prevented an exception when exiting the interactive client. + * Added :func:`~asyncio.router.route` and + :func:`~asyncio.router.unix_route` to dispatch connections to + handlers based on the request path. Read more about routing + in :doc:`routing <../topics/routing>`. + * Refreshed several how-to guides and topic guides. + * Added type overloads for the decode argument of + :meth:`~asyncio.connection.Connection.recv`. This may + simplify static typing. + +------------------------------------------------------------------- Old: ---- websockets-14.2.tar.gz New: ---- websockets-16.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-websockets.spec ++++++ --- /var/tmp/diff_new_pack.1SzAq4/_old 2026-04-21 12:42:19.044187122 +0200 +++ /var/tmp/diff_new_pack.1SzAq4/_new 2026-04-21 12:42:19.044187122 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-websockets # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,21 +16,34 @@ # +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif + %{?sle15_python_module_pythons} Name: python-websockets -Version: 14.2 +Version: 16.0 Release: 0 Summary: An implementation of the WebSocket Protocol (RFC 6455) License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/aaugustin/websockets Source: https://github.com/aaugustin/websockets/archive/%{version}.tar.gz#/websockets-%{version}.tar.gz -BuildRequires: %{python_module devel >= 3.8} +BuildRequires: %{python_module devel >= 3.10} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if %{with libalternatives} +BuildRequires: alts +Requires: alts +%else +Requires(post): update-alternatives +Requires(postun): update-alternatives +%endif %python_subpackages %description @@ -51,6 +64,7 @@ %install %pyproject_install +%python_clone -a %{buildroot}%{_bindir}/websockets %python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand rm -f %{buildroot}%{$python_sitearch}/websockets/speedups.c @@ -74,9 +88,16 @@ %pytest_arch -v -k "not ($donttest)" tests +%post +%python_install_alternative websockets + +%postun +%python_uninstall_alternative websockets + %files %{python_files} %license LICENSE %doc README.rst +%python_alternative %{_bindir}/websockets %{python_sitearch}/websockets %{python_sitearch}/websockets-%{version}.dist-info ++++++ websockets-14.2.tar.gz -> websockets-16.0.tar.gz ++++++ ++++ 18694 lines of diff (skipped)
