From b36c84dfb14889e080dc6e13a18c6605bed9942f415a85ed72774842f0dfe8c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 1 Aug 2024 08:36:54 +0000 Subject: [PATCH] Accepting request 1190693 from home:glaubitz:branches:devel:languages:python - Update to 0.17.3 * Restore set TCP_NODELAY on TCP sockets * Support uvloop >= 0.18 and the loop_factory argument * Bugfix ensure ExceptionGroup lifespan failures crash the server. - from version 0.17.2 * Bugfix pass the correct quic connection to the H3 Protocol. - from version 0.17.1 * Bugfix revert set TCP_NODELAY on sockets. - from version 0.17.0 * Set TCP_NODELAY on sockets. * Support sending trailing headers on h2/h3. * Add support for lifespan state. * Allow sending of the response before body data arrives. * Bugfix properly set host header to ascii string in ProxyFixMiddleware. * Bugfix encode headers using latin-1. * Bugfix don't double-access log if the response was sent. * Bugfix a statsd logging bug. * Bugfix handle already-closed on StreamEnded. * Bugfix send a 400 response if data is received before the websocket is accepted. * Bugfix ensure only a single QUIC timer task per connection. * Bugfix ensure responses are sent with empty bodies for WSGI. - Update BuildRequires and Requires from pyproject.toml OBS-URL: https://build.opensuse.org/request/show/1190693 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypercorn?expand=0&rev=5 --- 0.16.0.tar.gz | 3 --- 0.17.3.tar.gz | 3 +++ python-hypercorn.changes | 28 ++++++++++++++++++++++++++++ python-hypercorn.spec | 5 ++--- 4 files changed, 33 insertions(+), 6 deletions(-) delete mode 100644 0.16.0.tar.gz create mode 100644 0.17.3.tar.gz diff --git a/0.16.0.tar.gz b/0.16.0.tar.gz deleted file mode 100644 index 8db47aa..0000000 --- a/0.16.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7fc8578cde36f3b5a08845c2ef37ff2aafb5efcbb40be561f58405fe0b8f88de -size 159038 diff --git a/0.17.3.tar.gz b/0.17.3.tar.gz new file mode 100644 index 0000000..131d8a2 --- /dev/null +++ b/0.17.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:991221bf8df1368165a22cde98f1ae2b591aa2e65c9c72c8e03ea56a9da7f672 +size 162354 diff --git a/python-hypercorn.changes b/python-hypercorn.changes index c676cce..c8ed203 100644 --- a/python-hypercorn.changes +++ b/python-hypercorn.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Wed Jul 31 14:12:37 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 0.17.3 + * Restore set TCP_NODELAY on TCP sockets + * Support uvloop >= 0.18 and the loop_factory argument + * Bugfix ensure ExceptionGroup lifespan failures crash the server. +- from version 0.17.2 + * Bugfix pass the correct quic connection to the H3 Protocol. +- from version 0.17.1 + * Bugfix revert set TCP_NODELAY on sockets. +- from version 0.17.0 + * Set TCP_NODELAY on sockets. + * Support sending trailing headers on h2/h3. + * Add support for lifespan state. + * Allow sending of the response before body data arrives. + * Bugfix properly set host header to ascii string in + ProxyFixMiddleware. + * Bugfix encode headers using latin-1. + * Bugfix don't double-access log if the response was sent. + * Bugfix a statsd logging bug. + * Bugfix handle already-closed on StreamEnded. + * Bugfix send a 400 response if data is received before the websocket + is accepted. + * Bugfix ensure only a single QUIC timer task per connection. + * Bugfix ensure responses are sent with empty bodies for WSGI. +- Update BuildRequires and Requires from pyproject.toml + ------------------------------------------------------------------- Tue Apr 2 02:07:15 UTC 2024 - Steve Kowalik diff --git a/python-hypercorn.spec b/python-hypercorn.spec index 62adc4b..f5736ed 100644 --- a/python-hypercorn.spec +++ b/python-hypercorn.spec @@ -19,16 +19,16 @@ # avoid taskgroup backports %define skip_python310 1 Name: python-hypercorn -Version: 0.16.0 +Version: 0.17.3 Release: 0 Summary: A ASGI Server based on Hyper libraries and inspired by Gunicorn License: MIT URL: https://github.com/pgjones/hypercorn/ Source: https://github.com/pgjones/hypercorn/archive/refs/tags/%{version}.tar.gz BuildRequires: %{python_module base >= 3.8} -BuildRequires: %{python_module exceptiongroup >= 1.1.0} BuildRequires: %{python_module h11} BuildRequires: %{python_module h2 >= 3.1.0} +BuildRequires: %{python_module httpx} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core >= 1} @@ -40,7 +40,6 @@ BuildRequires: %{python_module trio >= 0.22.0} BuildRequires: %{python_module wsproto >= 0.14.0} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-exceptiongroup >= 1.1.0 Requires: python-h11 Requires: python-h2 >= 3.1.0 Requires: python-priority