14
0
2024-12-18 04:39:27 +00:00
committed by Git OBS Bridge
parent b36c84dfb1
commit a1024b8d67
2 changed files with 14 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
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>

View File

@@ -16,8 +16,6 @@
#
# avoid taskgroup backports
%define skip_python310 1
Name: python-hypercorn
Version: 0.17.3
Release: 0
@@ -36,6 +34,7 @@ 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
@@ -44,6 +43,12 @@ Requires: python-h11
Requires: python-h2 >= 3.1.0
Requires: python-priority
Requires: python-wsproto >= 0.14.0
%if %{python_version_nodots} < 311
Requires: python-exceptiongroup >= 1.1
Requires: python-taskgroup
Requires: python-tomli
Requires: python-typing-extensions
%endif
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
@@ -81,6 +86,8 @@ sed -i 's/--no-cov-on-fail//' pyproject.toml
%python_uninstall_alternative hypercorn
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/hypercorn
%{python_sitelib}/hypercorn-%{version}.dist-info
%python_alternative %{_bindir}/hypercorn