Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-h2 for openSUSE:Factory checked in at 2022-01-09 22:50:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-h2 (Old) and /work/SRC/openSUSE:Factory/.python-h2.new.1892 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-h2" Sun Jan 9 22:50:08 2022 rev:14 rq:944912 version:4.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-h2/python-h2.changes 2021-04-01 14:16:04.271874845 +0200 +++ /work/SRC/openSUSE:Factory/.python-h2.new.1892/python-h2.changes 2022-01-09 22:50:25.643297604 +0100 @@ -1,0 +2,17 @@ +Thu Jan 6 14:23:47 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Update to 4.1.0 + * Support for Python 3.9 has been added. + * Support for Python 3.10 has been added. + * New example for a Python socket HTTP/2 client. + * New `OutputLogger` for use with ``h2.config.logger``. This is + only provided for convenience and not part of the stable API. + * Header validation now rejects empty header names with a + ProtocolError. While hpack decodes such header blocks without + issues, they violate the HTTP semantics. + * Fix TE header name in error message. +- Drop h2-pr1248-disable-hypothesis-healthcheck.patch merged + upstream +- Register hypothesis profile for slow obs executions. + +------------------------------------------------------------------- Old: ---- h2-4.0.0.tar.gz h2-pr1248-disable-hypothesis-healthcheck.patch New: ---- h2-4.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-h2.spec ++++++ --- /var/tmp/diff_new_pack.0XbW2y/_old 2022-01-09 22:50:27.435299203 +0100 +++ /var/tmp/diff_new_pack.0XbW2y/_new 2022-01-09 22:50:27.439299206 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-h2 # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,15 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-h2 -Version: 4.0.0 +Version: 4.1.0 Release: 0 Summary: HTTP/2 State-Machine based protocol implementation License: MIT URL: https://github.com/python-hyper/hyper-h2 Source0: https://files.pythonhosted.org/packages/source/h/h2/h2-%{version}.tar.gz -Patch0: https://github.com/python-hyper/h2/pull/1248.patch#/h2-pr1248-disable-hypothesis-healthcheck.patch BuildRequires: %{python_module hpack >= 2.3} BuildRequires: %{python_module hyperframe >= 6.0} BuildRequires: %{python_module hypothesis >= 5.49} @@ -39,13 +38,23 @@ %description Pure-Python implementation of a HTTP/2 protocol stack. -It???s written from the ground up to be embeddable in whatever program +It's written from the ground up to be embeddable in whatever program you choose to use, ensuring that you can speak HTTP/2 regardless of your programming paradigm. %prep %autosetup -p1 -n h2-%{version} +echo " +# increase test deadline for slow obs executions +import hypothesis +hypothesis.settings.register_profile( + 'obs', + deadline=5000, + suppress_health_check=[hypothesis.HealthCheck.too_slow] +) +" >> test/conftest.py + %build %python_build @@ -54,16 +63,12 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# flaky in OBS -# - test_changing_max_frame_size -# - test_range_of_acceptable_outputs -# - test_connection_only_empty & test_delegated_eq (hypothesis on s390x) -%pytest -k 'not (test_changing_max_frame_size or test_range_of_acceptable_outputs or test_connection_only_empty or test_delegated_eq)' +%pytest --hypothesis-profile=obs %files %{python_files} %license LICENSE %doc CHANGELOG.rst README.rst %{python_sitelib}/h2 -%{python_sitelib}/h2-%{version}-py*.egg-info +%{python_sitelib}/h2-%{version}*-info %changelog ++++++ h2-4.0.0.tar.gz -> h2-4.1.0.tar.gz ++++++ ++++ 1960 lines of diff (skipped)