Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-uvicorn for openSUSE:Factory checked in at 2026-08-06 16:19:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-uvicorn (Old) and /work/SRC/openSUSE:Factory/.python-uvicorn.new.16738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-uvicorn" Thu Aug 6 16:19:02 2026 rev:25 rq:1369767 version:0.51.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-uvicorn/python-uvicorn.changes 2026-06-04 18:52:19.235937929 +0200 +++ /work/SRC/openSUSE:Factory/.python-uvicorn.new.16738/python-uvicorn.changes 2026-08-06 16:19:14.810259452 +0200 @@ -1,0 +2,108 @@ +Sat Jul 25 18:01:02 UTC 2026 - Matej Cepl <[email protected]> + +- Update to 0.51.0: + - Added + - Restart workers one at a time on SIGHUP, bringing each + replacement up before retiring the old worker, so reloads + no longer drop requests + - Removed + - Remove colorama from the standard extra +- Update to 0.50.2: + - Fixed + - Require websockets>=13.0, which the default + websockets-sansio implementation needs +- Update to 0.50.1: + - Fixed + - Split comma-separated Sec-WebSocket-Protocol values in the + websockets-sansio implementation +- Update to 0.50.0: + If you use WebSockets, note that --ws auto now picks the + websockets-sansio implementation. You shouldn't need it, but + you can pin --ws websockets to get the deprecated legacy one + back. + - Changed + - Exit with the dedicated code 3 on any startup failure: app + loading, socket bind and lifespan startup errors previously + exited with a mix of 0, 1 and 3 + - Stop the multiprocess supervisor when a worker exits with + code 3 instead of restarting it forever + - Default --ws auto to websockets-sansio when websockets is + installed + - Skip the eager app import in the parent process with + --reload or --workers, fixing a memory regression + introduced in 0.47.0 + - Build a fresh asgi scope dict per request + - Cache the asgi scope sub-dict per connection + - Avoid copying single-frame WebSocket payloads in + websockets-sansio + - Memoize trusted host checks in ProxyHeadersMiddleware + - Replace click.style with an internal ANSI style helper + - Deprecated + - Deprecate the legacy websockets implementation; use + websockets-sansio or wsproto instead +- Update to 0.49.0: + - Changed + - Bump httptools minimum version to 0.8.0 + - Consume duplicate forwarding headers in + ProxyHeadersMiddleware +- Update to 0.48.0: + - Changed + - Default ssl_ciphers to None and use OpenSSL defaults + - Fixed + - Ignore duplicate forwarding headers in + ProxyHeadersMiddleware +- Update to 0.47.0: + - Added + - Add ssl_context_factory for custom SSLContext configuration + - Changed + - Eagerly import the ASGI app in the parent process + - Fixed + - Treat fd=0 as a valid file descriptor with reload/workers +- Update to 0.46.0: + - Added + - Support ws_max_size in wsproto implementation + - Support ws_ping_interval and ws_ping_timeout in wsproto + implementation + - Changed + - Use bytearray for incoming WebSocket message buffer in + websockets-sansio +- Update to 0.45.0: + - Added + - Add --reset-contextvars flag to isolate ASGI request + context + - Accept os.PathLike for log_config + - Accept log_level strings case-insensitively + - Changed + - Revert "Emit http.disconnect on server shutdown for + streaming responses" + - Revert "Explicitly start ASGI run with empty context" + - Fixed + - Preserve forwarded client ports in proxy headers middleware + - Raise helpful ImportError when PyYAML is missing for YAML + log config +- Update to 0.44.0: + - Added + - Implement websocket keepalive pings for websockets-sansio +- Update to 0.43.0: + You can quit Uvicorn now. We heard you, + @pamelafox - all 47 of your Ctrl+C's (thanks for flagging it, + and thanks to @tiangolo for the fix 🙏). See the tweet. + - Changed + - Emit http.disconnect ASGI receive() event on server + shutting down for streaming responses + - Use native context parameter for create_task on Python + 3.11+ + - Drop cast in ASGI types +- Update to 0.42.0: + - Changed + - Use bytearray for request body accumulation to avoid O(n^2) + allocation on fragmented bodies + - Fixed + - Escape brackets and backslash in httptools HEADER_RE regex + - Fix multiple issues in websockets sans-io implementation +- Remove upstreamed patches: + - support-websockets-14+.patch +- Skipp benchmarks tests, because they require `codspeed`, which + has only limited architecture availability. + +------------------------------------------------------------------- Old: ---- support-websockets-14+.patch uvicorn-0.41.0.tar.gz New: ---- uvicorn-0.51.0.tar.gz ----------(Old B)---------- Old:- Remove upstreamed patches: - support-websockets-14+.patch - Skipp benchmarks tests, because they require `codspeed`, which ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-uvicorn.spec ++++++ --- /var/tmp/diff_new_pack.IiBCjl/_old 2026-08-06 16:19:15.602287083 +0200 +++ /var/tmp/diff_new_pack.IiBCjl/_new 2026-08-06 16:19:15.606287223 +0200 @@ -23,14 +23,12 @@ %endif %{?sle15_python_module_pythons} Name: python-uvicorn -Version: 0.41.0 +Version: 0.51.0 Release: 0 Summary: An Asynchronous Server Gateway Interface server License: BSD-3-Clause URL: https://github.com/encode/uvicorn Source: https://github.com/encode/uvicorn/archive/%{version}.tar.gz#/uvicorn-%{version}.tar.gz -# PATCH-FIX-OPENSUSE Ignore the large amount of DeprecationWarnings that websockets 14 gave us -Patch0: support-websockets-14+.patch BuildRequires: %{python_module base >= 3.10} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} @@ -103,6 +101,8 @@ %python_exec -m uvicorn --version # No module python-a2wsgi ignore="--ignore tests/middleware/test_wsgi.py" +# benchmarks require `codspeed`, which has limited platform availability +ignore+=" --ignore tests/benchmarks" # Disable flacky test in s390x with current python-websockets %if "%{_arch}" == "s390x" ignore+=" --ignore tests/protocols/test_websocket.py" ++++++ uvicorn-0.41.0.tar.gz -> uvicorn-0.51.0.tar.gz ++++++ ++++ 8354 lines of diff (skipped)
