Compare commits
10 Commits
Author | SHA256 | Date | |
---|---|---|---|
ffb8ed7cfb | |||
45ada2cdf1 | |||
373568a188 | |||
e0d07b5263 | |||
ba07752f61 | |||
55016d2190 | |||
0cc7ff6f69 | |||
a1024b8d67 | |||
68d33ab575 | |||
b36c84dfb1 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7fc8578cde36f3b5a08845c2ef37ff2aafb5efcbb40be561f58405fe0b8f88de
|
||||
size 159038
|
BIN
0.17.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
0.17.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,51 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 21 08:31:04 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives on SLE-16-based and newer systems only
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 10 13:13:00 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 27 11:55:41 UTC 2025 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 18 04:38:54 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Enable Python 3.10 builds.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 31 14:12:37 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- 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 <steven.kowalik@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-hypercorn
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,19 +16,23 @@
|
||||
#
|
||||
|
||||
|
||||
# avoid taskgroup backports
|
||||
%define skip_python310 1
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
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}
|
||||
@@ -36,18 +40,29 @@ BuildRequires: %{python_module priority}
|
||||
BuildRequires: %{python_module pytest-asyncio}
|
||||
BuildRequires: %{python_module pytest-trio}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module taskgroup if %python-base < 3.11}
|
||||
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
|
||||
Requires: python-wsproto >= 0.14.0
|
||||
BuildArch: noarch
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%if %{python_version_nodots} < 311
|
||||
Requires: python-exceptiongroup >= 1.1
|
||||
Requires: python-taskgroup
|
||||
Requires: python-tomli
|
||||
Requires: python-typing-extensions
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -81,7 +96,12 @@ sed -i 's/--no-cov-on-fail//' pyproject.toml
|
||||
%postun
|
||||
%python_uninstall_alternative hypercorn
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative hypercorn
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/hypercorn
|
||||
%{python_sitelib}/hypercorn-%{version}.dist-info
|
||||
%python_alternative %{_bindir}/hypercorn
|
||||
|
Reference in New Issue
Block a user