[packages/python3-h2] - updated to 4.3.0
qboosh
qboosh at pld-linux.org
Sat Dec 13 09:54:57 CET 2025
commit fc9c42202f7c9a9345f63afd20baf1f5d9a3c59a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Dec 13 09:55:15 2025 +0100
- updated to 4.3.0
python3-h2.spec | 37 +++++++++++++++++++++----------------
1 file changed, 21 insertions(+), 16 deletions(-)
---
diff --git a/python3-h2.spec b/python3-h2.spec
index ed1fea6..56ce910 100644
--- a/python3-h2.spec
+++ b/python3-h2.spec
@@ -6,31 +6,33 @@
Summary: hyper-h2 - HTTP/2 protocol stack
Summary(pl.UTF-8): hyper-h2 - stos protokołu HTTP/2
Name: python3-h2
-# beware of twisted compatibility
-Version: 4.1.0
+# beware of twisted compatibility (<5 in twisted 25.5.0)
+Version: 4.3.0
Release: 1
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/h2/
Source0: https://files.pythonhosted.org/packages/source/h/h2/h2-%{version}.tar.gz
-# Source0-md5: 4274f9619c0a43bb4ae01b6b02bf0c99
+# Source0-md5: b4781bbaaae609aa759565585718e0d7
URL: https://pypi.org/project/h2/
-BuildRequires: python3-modules >= 1:3.6.1
+BuildRequires: python3-build
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.9
BuildRequires: python3-setuptools
%if %{with tests}
-BuildRequires: python3-hpack >= 4.0
+BuildRequires: python3-hpack >= 4.1
BuildRequires: python3-hpack < 5
-BuildRequires: python3-hyperframe >= 6.0
+BuildRequires: python3-hyperframe >= 6.1
BuildRequires: python3-hyperframe < 7
-BuildRequires: python3-hypothesis >= 5.5
-BuildRequires: python3-pytest >= 6.0.1
+BuildRequires: python3-hypothesis >= 6.119.4
+BuildRequires: python3-pytest >= 8.3.3
%endif
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
+BuildRequires: rpmbuild(macros) >= 2.044
%if %{with doc}
-BuildRequires: sphinx-pdg >= 4.0.2
+BuildRequires: sphinx-pdg-3 >= 7.4.7
%endif
-Requires: python3-modules >= 1:3.6.1
+Requires: python3-modules >= 1:3.9
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -60,23 +62,26 @@ Dokumentacja API modułu Pythona h2.
%setup -q -n h2-%{version}
%build
-%py3_build
+%py3_build_pyproject
%if %{with tests}
# test_changing_max_frame_size exceeds timeout
+# test_range_of_acceptable_outputs: hypothesis error "The method ... was called from multiple different executors. This may lead to flaky tests and nonreproducible errors when replaying from database."
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
PYTHONPATH=$(pwd)/src \
-%{__python3} -m pytest test -k 'not test_changing_max_frame_size'
+%{__python3} -m pytest tests -k 'not test_changing_max_frame_size and not test_range_of_acceptable_outputs'
%endif
%if %{with doc}
-%{__make} -C docs html
+PYTHONPATH=$(pwd)/src \
+%{__make} -C docs html \
+ PYTHONPATH=sphinx-build-3
%endif
%install
rm -rf $RPM_BUILD_ROOT
-%py3_install
+%py3_install_pyproject
%clean
rm -rf $RPM_BUILD_ROOT
@@ -85,7 +90,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc CHANGELOG.rst LICENSE README.rst
%{py3_sitescriptdir}/h2
-%{py3_sitescriptdir}/h2-%{version}-py*.egg-info
+%{py3_sitescriptdir}/h2-%{version}.dist-info
%if %{with doc}
%files apidocs
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-h2.git/commitdiff/fc9c42202f7c9a9345f63afd20baf1f5d9a3c59a
More information about the pld-cvs-commit
mailing list