commit python-h2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-h2 for openSUSE:Factory checked in at 2020-10-29 09:45:06 Comparing /work/SRC/openSUSE:Factory/python-h2 (Old) and /work/SRC/openSUSE:Factory/.python-h2.new.3463 (New) Package is "python-h2" Thu Oct 29 09:45:06 2020 rev:11 rq:834647 version:3.2.0 Changes: --- /work/SRC/openSUSE:Factory/python-h2/python-h2.changes 2020-03-27 00:24:01.840218304 +0100 +++ /work/SRC/openSUSE:Factory/.python-h2.new.3463/python-h2.changes 2020-10-29 09:45:09.911990598 +0100 @@ -1,0 +2,5 @@ +Tue Sep 15 13:10:43 UTC 2020 - Marketa Calabkova + +- Add hyperframe.patch to fix build with hyperframe 6 + +--- New: hyperframe.patch Other differences: -- ++ python-h2.spec ++ --- /var/tmp/diff_new_pack.EzFn1d/_old 2020-10-29 09:45:14.567994996 +0100 +++ /var/tmp/diff_new_pack.EzFn1d/_new 2020-10-29 09:45:14.571995000 +0100 @@ -25,14 +25,16 @@ License:MIT URL:https://github.com/python-hyper/hyper-h2 Source0: https://files.pythonhosted.org/packages/source/h/h2/h2-%{version}.tar.gz +# PATCH-FIX-UPSTREAM https://github.com/python-hyper/hyper-h2/commit/c5d962a14373acf534be620d4e597dfeaff8a2ef bump hyperframe and fix protocol error +Patch0: hyperframe.patch BuildRequires: %{python_module hpack >= 2.3} -BuildRequires: %{python_module hyperframe >= 5.2.0} +BuildRequires: %{python_module hyperframe >= 6.0} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module pytest} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-hpack >= 2.3 -Requires: python-hyperframe >= 5.2.0 +Requires: python-hyperframe >= 6.0 BuildArch: noarch %if %{with python2} BuildRequires: python-enum34 >= 1.1.6 @@ -50,6 +52,7 @@ %prep %setup -q -n h2-%{version} +%patch0 -p1 %build %python_build ++ hyperframe.patch ++ >From c5d962a14373acf534be620d4e597dfeaff8a2ef Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Sun, 6 Sep 2020 12:56:48 +0200 Subject: [PATCH] bump hyperframe and fix protocol error (#1238) --- setup.py | 2 +- src/h2/connection.py | 8 ++-- src/h2/exceptions.py | 19 ++- src/h2/frame_buffer.py | 26 -- test/test_invalid_frame_sequences.py | 2 +- 5 files changed, 22 insertions(+), 35 deletions(-) Index: h2-3.2.0/setup.py === --- h2-3.2.0.orig/setup.py +++ h2-3.2.0/setup.py @@ -67,7 +67,7 @@ setup( 'Programming Language :: Python :: Implementation :: PyPy', ], install_requires=[ -'hyperframe>=5.2.0, <6', +'hyperframe>=6.0, <7', 'hpack>=3.0,<4', ], extras_require={ Index: h2-3.2.0/h2/connection.py === --- h2-3.2.0.orig/h2/connection.py +++ h2-3.2.0/h2/connection.py @@ -1721,12 +1721,8 @@ class H2Connection(object): """ Receive a WINDOW_UPDATE frame on the connection. """ -# Validate the frame. -if not (1 <= frame.window_increment <= self.MAX_WINDOW_INCREMENT): -raise ProtocolError( -"Flow control increment must be between 1 and %d, received %d" -% (self.MAX_WINDOW_INCREMENT, frame.window_increment) -) +# hyperframe will take care of validating the window_increment. +# If we reach in here, we can assume a valid value. events = self.state_machine.process_input( ConnectionInputs.RECV_WINDOW_UPDATE Index: h2-3.2.0/h2/exceptions.py === --- h2-3.2.0.orig/h2/exceptions.py +++ h2-3.2.0/h2/exceptions.py @@ -26,7 +26,7 @@ class FrameTooLargeError(ProtocolError): """ The frame that we tried to send or that we received was too large. """ -#: This error code that corresponds to this kind of Protocol Error. +#: The error code corresponds to this kind of Protocol Error. error_code = h2.errors.ErrorCodes.FRAME_SIZE_ERROR @@ -36,7 +36,7 @@ class FrameDataMissingError(ProtocolErro .. versionadded:: 2.0.0 """ -#: The error code that corresponds to this kind of Protocol Error +#: The error code corresponds to this kind of Protocol Error. error_code = h2.errors.ErrorCodes.FRAME_SIZE_ERROR @@ -52,8 +52,7 @@ class FlowControlError(ProtocolError): """ An attempted action violates flow control constraints. """ -#: The error code that corresponds to this kind of
commit python-h2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-h2 for openSUSE:Factory checked in at 2020-03-27 00:24:00 Comparing /work/SRC/openSUSE:Factory/python-h2 (Old) and /work/SRC/openSUSE:Factory/.python-h2.new.3160 (New) Package is "python-h2" Fri Mar 27 00:24:00 2020 rev:10 rq:784845 version:3.2.0 Changes: --- /work/SRC/openSUSE:Factory/python-h2/python-h2.changes 2020-02-29 21:23:26.910389926 +0100 +++ /work/SRC/openSUSE:Factory/.python-h2.new.3160/python-h2.changes 2020-03-27 00:24:01.840218304 +0100 @@ -1,0 +2,5 @@ +Sat Mar 14 08:37:11 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + +--- Other differences: -- ++ python-h2.spec ++ --- /var/tmp/diff_new_pack.piB5qT/_old 2020-03-27 00:24:02.824218802 +0100 +++ /var/tmp/diff_new_pack.piB5qT/_new 2020-03-27 00:24:02.828218804 +0100 @@ -17,12 +17,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-h2 Version:3.2.0 Release:0 Summary:HTTP/2 State-Machine based protocol implementation License:MIT -Group: Development/Languages/Python URL:https://github.com/python-hyper/hyper-h2 Source0: https://files.pythonhosted.org/packages/source/h/h2/h2-%{version}.tar.gz BuildRequires: %{python_module hpack >= 2.3} @@ -30,11 +30,13 @@ BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module pytest} BuildRequires: fdupes -BuildRequires: python-enum34 >= 1.1.6 BuildRequires: python-rpm-macros Requires: python-hpack >= 2.3 Requires: python-hyperframe >= 5.2.0 BuildArch: noarch +%if %{with python2} +BuildRequires: python-enum34 >= 1.1.6 +%endif %ifpython2 Requires: python-enum34 >= 1.1.6 %endif @@ -65,6 +67,6 @@ %license LICENSE %doc HISTORY.rst README.rst %{python_sitelib}/h2 -%{python_sitelib}/h2-%{version}-py%{python_version}.egg-info +%{python_sitelib}/h2-%{version}-py*.egg-info %changelog
commit python-h2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-h2 for openSUSE:Factory checked in at 2020-02-29 21:23:21 Comparing /work/SRC/openSUSE:Factory/python-h2 (Old) and /work/SRC/openSUSE:Factory/.python-h2.new.26092 (New) Package is "python-h2" Sat Feb 29 21:23:21 2020 rev:9 rq:779741 version:3.2.0 Changes: --- /work/SRC/openSUSE:Factory/python-h2/python-h2.changes 2019-12-07 15:23:08.967730795 +0100 +++ /work/SRC/openSUSE:Factory/.python-h2.new.26092/python-h2.changes 2020-02-29 21:23:26.910389926 +0100 @@ -1,0 +2,9 @@ +Thu Feb 27 05:43:42 UTC 2020 - Steve Kowalik + +- Update to 3.2.0: + * Receiving DATA frames on closed (or reset) streams now properly emit a +WINDOW_UPDATE to keep the connection flow window topped up. + * h2.config.logger now uses a trace(...) function, in addition to +debug(...). + +--- Old: h2-3.1.1.tar.gz New: h2-3.2.0.tar.gz Other differences: -- ++ python-h2.spec ++ --- /var/tmp/diff_new_pack.pO2q8T/_old 2020-02-29 21:23:27.594391279 +0100 +++ /var/tmp/diff_new_pack.pO2q8T/_new 2020-02-29 21:23:27.598391287 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-h2 # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-h2 -Version:3.1.1 +Version:3.2.0 Release:0 Summary:HTTP/2 State-Machine based protocol implementation License:MIT ++ h2-3.1.1.tar.gz -> h2-3.2.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/h2-3.1.1/HISTORY.rst new/h2-3.2.0/HISTORY.rst --- old/h2-3.1.1/HISTORY.rst2019-08-02 15:10:28.0 +0200 +++ new/h2-3.2.0/HISTORY.rst2020-02-08 17:39:21.0 +0100 @@ -1,6 +1,23 @@ Release History === +3.2.0 (2020-02-08) +-- + +Bugfixes + + +- Receiving DATA frames on closed (or reset) streams now properly emit a + WINDOW_UPDATE to keep the connection flow window topped up. + +API Changes (Backward-Incompatible) +~~~ + +- ``h2.config.logger`` now uses a `trace(...)` function, in addition + to `debug(...)`. If you defined a custom logger object, you need to handle + these new function calls. + + 3.1.1 (2019-08-02) -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/h2-3.1.1/PKG-INFO new/h2-3.2.0/PKG-INFO --- old/h2-3.1.1/PKG-INFO 2019-08-02 15:10:46.0 +0200 +++ new/h2-3.2.0/PKG-INFO 2020-02-08 17:43:25.0 +0100 @@ -1,11 +1,13 @@ -Metadata-Version: 1.1 +Metadata-Version: 1.2 Name: h2 -Version: 3.1.1 +Version: 3.2.0 Summary: HTTP/2 State-Machine based protocol implementation -Home-page: http://hyper.rtfd.org +Home-page: https://github.com/python-hyper/hyper-h2 Author: Cory Benfield Author-email: c...@lukasa.co.uk License: MIT License +Project-URL: Documentation, https://python-hyper.org/projects/h2 +Project-URL: Source, https://github.com/python-hyper/hyper-h2 Description: === hyper-h2: HTTP/2 Protocol Stack === @@ -76,6 +78,23 @@ Release History === +3.2.0 (2020-02-08) +-- + +Bugfixes + + +- Receiving DATA frames on closed (or reset) streams now properly emit a + WINDOW_UPDATE to keep the connection flow window topped up. + +API Changes (Backward-Incompatible) +~~~ + +- ``h2.config.logger`` now uses a `trace(...)` function, in addition + to `debug(...)`. If you defined a custom logger object, you need to handle + these new function calls. + + 3.1.1 (2019-08-02) -- @@ -825,9 +844,10 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: Implementation
commit python-h2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-h2 for openSUSE:Factory checked in at 2019-12-07 15:19:59 Comparing /work/SRC/openSUSE:Factory/python-h2 (Old) and /work/SRC/openSUSE:Factory/.python-h2.new.4691 (New) Package is "python-h2" Sat Dec 7 15:19:59 2019 rev:8 rq:753929 version:3.1.1 Changes: --- /work/SRC/openSUSE:Factory/python-h2/python-h2.changes 2019-11-22 10:24:24.705291461 +0100 +++ /work/SRC/openSUSE:Factory/.python-h2.new.4691/python-h2.changes 2019-12-07 15:23:08.967730795 +0100 @@ -1,0 +2,5 @@ +Wed Dec 4 09:27:07 UTC 2019 - Tomáš Chvátal + +- Skip one test that is flaky + +--- Other differences: -- ++ python-h2.spec ++ --- /var/tmp/diff_new_pack.QhOk1Q/_old 2019-12-07 15:23:09.563730712 +0100 +++ /var/tmp/diff_new_pack.QhOk1Q/_new 2019-12-07 15:23:09.567730712 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-h2 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -58,7 +58,8 @@ %check # test_changing_max_frame_size - flaky in OBS -%pytest -k 'not test_changing_max_frame_size' +# test_range_of_acceptable_outputs -flaky in OBS +%pytest -k 'not (test_changing_max_frame_size or test_range_of_acceptable_outputs)' %files %{python_files} %license LICENSE
commit python-h2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-h2 for openSUSE:Factory checked in at 2019-11-22 10:24:23 Comparing /work/SRC/openSUSE:Factory/python-h2 (Old) and /work/SRC/openSUSE:Factory/.python-h2.new.26869 (New) Package is "python-h2" Fri Nov 22 10:24:23 2019 rev:7 rq:748547 version:3.1.1 Changes: --- /work/SRC/openSUSE:Factory/python-h2/python-h2.changes 2019-09-23 12:08:56.973890121 +0200 +++ /work/SRC/openSUSE:Factory/.python-h2.new.26869/python-h2.changes 2019-11-22 10:24:24.705291461 +0100 @@ -1,0 +2,5 @@ +Thu Nov 14 06:57:45 UTC 2019 - Steve Kowalik + +- Drop unused dependancies on pytest-cov and pytest-xdist. + +--- Other differences: -- ++ python-h2.spec ++ --- /var/tmp/diff_new_pack.PM8KKU/_old 2019-11-22 10:24:25.393291259 +0100 +++ /var/tmp/diff_new_pack.PM8KKU/_new 2019-11-22 10:24:25.393291259 +0100 @@ -28,8 +28,6 @@ BuildRequires: %{python_module hpack >= 2.3} BuildRequires: %{python_module hyperframe >= 5.2.0} BuildRequires: %{python_module hypothesis} -BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: fdupes BuildRequires: python-enum34 >= 1.1.6
commit python-h2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-h2 for openSUSE:Factory checked in at 2019-09-23 12:08:55 Comparing /work/SRC/openSUSE:Factory/python-h2 (Old) and /work/SRC/openSUSE:Factory/.python-h2.new.7948 (New) Package is "python-h2" Mon Sep 23 12:08:55 2019 rev:6 rq:730347 version:3.1.1 Changes: --- /work/SRC/openSUSE:Factory/python-h2/python-h2.changes 2019-07-30 13:06:18.970373386 +0200 +++ /work/SRC/openSUSE:Factory/.python-h2.new.7948/python-h2.changes 2019-09-23 12:08:56.973890121 +0200 @@ -1,0 +2,7 @@ +Thu Sep 12 10:04:22 UTC 2019 - Tomáš Chvátal + +- Update to 3.1.1: + * Ignore WINDOW_UPDATE and RST_STREAM frames received after stream closure. +- Drop patch pytest5.patch + +--- Old: h2-3.1.0.tar.gz pytest5.patch New: h2-3.1.1.tar.gz Other differences: -- ++ python-h2.spec ++ --- /var/tmp/diff_new_pack.4QZCQ5/_old 2019-09-23 12:08:58.457889876 +0200 +++ /var/tmp/diff_new_pack.4QZCQ5/_new 2019-09-23 12:08:58.457889876 +0200 @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-h2 -Version:3.1.0 +Version:3.1.1 Release:0 Summary:HTTP/2 State-Machine based protocol implementation License:MIT Group: Development/Languages/Python URL:https://github.com/python-hyper/hyper-h2 Source0: https://files.pythonhosted.org/packages/source/h/h2/h2-%{version}.tar.gz -Patch0: pytest5.patch BuildRequires: %{python_module hpack >= 2.3} BuildRequires: %{python_module hyperframe >= 5.2.0} BuildRequires: %{python_module hypothesis} @@ -51,7 +50,6 @@ %prep %setup -q -n h2-%{version} -%patch0 -p1 %build %python_build ++ h2-3.1.0.tar.gz -> h2-3.1.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/h2-3.1.0/HISTORY.rst new/h2-3.1.1/HISTORY.rst --- old/h2-3.1.0/HISTORY.rst2019-01-22 18:41:49.0 +0100 +++ new/h2-3.1.1/HISTORY.rst2019-08-02 15:10:28.0 +0200 @@ -1,6 +1,16 @@ Release History === +3.1.1 (2019-08-02) +-- + +Bugfixes + + +- Ignore WINDOW_UPDATE and RST_STREAM frames received after stream + closure. + + 3.1.0 (2019-01-22) -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/h2-3.1.0/MANIFEST.in new/h2-3.1.1/MANIFEST.in --- old/h2-3.1.0/MANIFEST.in2019-01-22 18:41:43.0 +0100 +++ new/h2-3.1.1/MANIFEST.in2019-08-02 15:10:17.0 +0200 @@ -1,7 +1,8 @@ include README.rst LICENSE CONTRIBUTORS.rst HISTORY.rst tox.ini test_requirements.txt .coveragerc Makefile -recursive-include test *.py +recursive-include test *.py *.sh graft docs prune docs/build graft visualizer recursive-include examples *.py *.crt *.key *.pem *.csr recursive-include utils *.sh +recursive-include _travis *.sh diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/h2-3.1.0/PKG-INFO new/h2-3.1.1/PKG-INFO --- old/h2-3.1.0/PKG-INFO 2019-01-22 18:42:26.0 +0100 +++ new/h2-3.1.1/PKG-INFO 2019-08-02 15:10:46.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: h2 -Version: 3.1.0 +Version: 3.1.1 Summary: HTTP/2 State-Machine based protocol implementation Home-page: http://hyper.rtfd.org Author: Cory Benfield @@ -76,6 +76,16 @@ Release History === +3.1.1 (2019-08-02) +-- + +Bugfixes + + +- Ignore WINDOW_UPDATE and RST_STREAM frames received after stream + closure. + + 3.1.0 (2019-01-22) -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/h2-3.1.0/_travis/install.sh new/h2-3.1.1/_travis/install.sh --- old/h2-3.1.0/_travis/install.sh 1970-01-01 01:00:00.0 +0100 +++ new/h2-3.1.1/_travis/install.sh 2019-08-02 15:10:17.0 +0200 @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +set -e +set -x + +pip install -U pip setuptools +pip install -U tox + +if [ $TOXENV = "h2spec" ]; then +# For some reason it helps to have this here. +echo $(curl -s https://api.github.com/repos/summerwind/h2spec/releases/latest) +# We want to get the latest release of h2spec. We do that by asking the +# Github API for it, and then parsing the JSON for the appropriate kind of +# binary. Happily, the binary is always called "h2spec" so we don't need +# even more shenanigans to get this to work. +
commit python-h2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-h2 for openSUSE:Factory checked in at 2019-07-30 13:06:17 Comparing /work/SRC/openSUSE:Factory/python-h2 (Old) and /work/SRC/openSUSE:Factory/.python-h2.new.4126 (New) Package is "python-h2" Tue Jul 30 13:06:17 2019 rev:5 rq:718812 version:3.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-h2/python-h2.changes 2019-05-16 21:59:47.546786456 +0200 +++ /work/SRC/openSUSE:Factory/.python-h2.new.4126/python-h2.changes 2019-07-30 13:06:18.970373386 +0200 @@ -1,0 +2,16 @@ +Fri Jul 26 10:02:54 UTC 2019 - Tomáš Chvátal + +- Add patch to fix building with pytest5 pytest5.patch + +--- +Fri Jul 26 09:58:17 UTC 2019 - Tomáš Chvátal + +- Skip flaky test in OBS: + * test_changing_max_frame_size + +--- +Fri Jul 19 08:59:56 UTC 2019 - Tomáš Chvátal + +- Use pytest4 for now, link upstream ticket + +--- New: pytest5.patch Other differences: -- ++ python-h2.spec ++ --- /var/tmp/diff_new_pack.n129E5/_old 2019-07-30 13:06:19.502373248 +0200 +++ /var/tmp/diff_new_pack.n129E5/_new 2019-07-30 13:06:19.506373248 +0200 @@ -25,8 +25,7 @@ Group: Development/Languages/Python URL:https://github.com/python-hyper/hyper-h2 Source0: https://files.pythonhosted.org/packages/source/h/h2/h2-%{version}.tar.gz -# test requirements -BuildRequires: %{python_module coverage} +Patch0: pytest5.patch BuildRequires: %{python_module hpack >= 2.3} BuildRequires: %{python_module hyperframe >= 5.2.0} BuildRequires: %{python_module hypothesis} @@ -34,10 +33,14 @@ BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: fdupes +BuildRequires: python-enum34 >= 1.1.6 BuildRequires: python-rpm-macros Requires: python-hpack >= 2.3 Requires: python-hyperframe >= 5.2.0 BuildArch: noarch +%ifpython2 +Requires: python-enum34 >= 1.1.6 +%endif %python_subpackages %description @@ -48,6 +51,7 @@ %prep %setup -q -n h2-%{version} +%patch0 -p1 %build %python_build @@ -57,7 +61,8 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +# test_changing_max_frame_size - flaky in OBS +%pytest -k 'not test_changing_max_frame_size' %files %{python_files} %license LICENSE ++ pytest5.patch ++ >From 04eb49ca8c7302a6dcb1f3b93994e928a260a12b Mon Sep 17 00:00:00 2001 From: pgjones Date: Sat, 20 Jul 2019 13:23:03 +0100 Subject: [PATCH] Update dependencies Note that pytest>=5 cannot be used whilst Python 2 is still supported. This will pass with pytest==5.0.1 though. --- test/test_invalid_headers.py | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/test_invalid_headers.py b/test/test_invalid_headers.py index bff071b3..a3799507 100644 --- a/test/test_invalid_headers.py +++ b/test/test_invalid_headers.py @@ -204,7 +204,7 @@ def test_pseudo_headers_rejected_in_trailer(self, frame_factory): # Raise exception if pseudo header in trailer with pytest.raises(h2.exceptions.ProtocolError) as e: c.receive_data(trailer) -assert "pseudo-header in trailer" in str(e) +assert "pseudo-header in trailer" in str(e.value) # Test appropriate response frame is generated expected_frame = frame_factory.build_goaway_frame(
commit python-h2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-h2 for openSUSE:Factory checked in at 2019-05-16 21:59:45 Comparing /work/SRC/openSUSE:Factory/python-h2 (Old) and /work/SRC/openSUSE:Factory/.python-h2.new.5148 (New) Package is "python-h2" Thu May 16 21:59:45 2019 rev:4 rq:702967 version:3.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-h2/python-h2.changes 2019-03-29 20:38:43.850680088 +0100 +++ /work/SRC/openSUSE:Factory/.python-h2.new.5148/python-h2.changes 2019-05-16 21:59:47.546786456 +0200 @@ -1,0 +2,6 @@ +Tue May 14 19:21:59 UTC 2019 - Drew Balliet + +- Updated testing line to current standard +- Removed symlink in install line + +--- Other differences: -- ++ python-h2.spec ++ --- /var/tmp/diff_new_pack.oKmTyG/_old 2019-05-16 21:59:48.046786172 +0200 +++ /var/tmp/diff_new_pack.oKmTyG/_new 2019-05-16 21:59:48.050786170 +0200 @@ -54,10 +54,10 @@ %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} +%pytest %files %{python_files} %license LICENSE
commit python-h2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-h2 for openSUSE:Factory checked in at 2019-03-29 20:38:42 Comparing /work/SRC/openSUSE:Factory/python-h2 (Old) and /work/SRC/openSUSE:Factory/.python-h2.new.25356 (New) Package is "python-h2" Fri Mar 29 20:38:42 2019 rev:3 rq:689263 version:3.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-h2/python-h2.changes 2018-12-27 00:26:27.347807172 +0100 +++ /work/SRC/openSUSE:Factory/.python-h2.new.25356/python-h2.changes 2019-03-29 20:38:43.850680088 +0100 @@ -1,0 +2,25 @@ +Thu Mar 28 04:06:48 UTC 2019 - John Vandenberg + +- Set URL to more useful https://github.com/python-hyper/hyper-h2 +- Update to v3.1.0 + * API Changes (Backward-Incompatible) ++ h2.connection.H2Connection.data_to_send first and only + argument ``amt`` was renamed to ``amount`` ++ Support for Python 3.3 has been removed. + * API Changes (Backward-Compatible) ++ h2.connection.H2Connection.send_data now supports ``data`` + parameter being a ``memoryview`` object. ++ Refactor ping-related events: a h2.events.PingReceived event is + fired when a PING frame is received and a h2.events.PingAckReceived + event is fired when a PING frame with an ACK flag is received ++ h2.events.PingAcknowledged is deprecated in favour of the + identical h2.events.PingAckReceived ++ Added ENABLE_CONNECT_PROTOCOL to h2.settings.SettingCodes ++ Support CONNECT requests with a ``:protocol`` pseudo header + thereby supporting RFC 8441. ++ A limit to the number of closed streams kept in memory by the + connection is applied. It can be configured by + h2.connection.H2Connection.MAX_CLOSED_STREAMS + * Debug logging when stream_id is None is now fixed and no longer errors. + +--- Old: h2-3.0.1.tar.gz New: h2-3.1.0.tar.gz Other differences: -- ++ python-h2.spec ++ --- /var/tmp/diff_new_pack.0WqcQq/_old 2019-03-29 20:38:44.462680400 +0100 +++ /var/tmp/diff_new_pack.0WqcQq/_new 2019-03-29 20:38:44.470680404 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-h2 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,25 +18,25 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-h2 -Version:3.0.1 +Version:3.1.0 Release:0 Summary:HTTP/2 State-Machine based protocol implementation License:MIT Group: Development/Languages/Python -URL:http://hyper.rtfd.org +URL:https://github.com/python-hyper/hyper-h2 Source0: https://files.pythonhosted.org/packages/source/h/h2/h2-%{version}.tar.gz # test requirements BuildRequires: %{python_module coverage} -BuildRequires: %{python_module hpack} -BuildRequires: %{python_module hyperframe >= 5.0} +BuildRequires: %{python_module hpack >= 2.3} +BuildRequires: %{python_module hyperframe >= 5.2.0} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-hpack >= 2.2 -Requires: python-hyperframe >= 5.0 +Requires: python-hpack >= 2.3 +Requires: python-hyperframe >= 5.2.0 BuildArch: noarch %python_subpackages ++ h2-3.0.1.tar.gz -> h2-3.1.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/h2-3.0.1/CONTRIBUTORS.rst new/h2-3.1.0/CONTRIBUTORS.rst --- old/h2-3.0.1/CONTRIBUTORS.rst 2017-04-03 09:47:32.0 +0200 +++ new/h2-3.1.0/CONTRIBUTORS.rst 2019-01-22 18:41:43.0 +0100 @@ -111,4 +111,5 @@ - Fred Thomsen (@fredthomsen) - Added logging. - + - Enhance equality testing of ``h2.settings.Settings`` objects with +``hypothesis``. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/h2-3.0.1/HISTORY.rst new/h2-3.1.0/HISTORY.rst --- old/h2-3.0.1/HISTORY.rst2017-04-03 09:58:48.0 +0200 +++ new/h2-3.1.0/HISTORY.rst2019-01-22 18:41:49.0 +0100 @@ -1,6 +1,38 @@ Release History === +3.1.0 (2019-01-22) +-- + +API Changes (Backward-Incompatible) +~~~ + +- ``h2.connection.H2Connection.data_to_send`` first and only argument ``amt`` + was renamed to ``amount``. +-
commit python-h2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-h2 for openSUSE:Factory checked in at 2018-12-27 00:26:12 Comparing /work/SRC/openSUSE:Factory/python-h2 (Old) and /work/SRC/openSUSE:Factory/.python-h2.new.28833 (New) Package is "python-h2" Thu Dec 27 00:26:12 2018 rev:2 rq:659408 version:3.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-h2/python-h2.changes 2017-05-06 18:27:59.465284488 +0200 +++ /work/SRC/openSUSE:Factory/.python-h2.new.28833/python-h2.changes 2018-12-27 00:26:27.347807172 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:49:07 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-h2.spec ++ --- /var/tmp/diff_new_pack.qhW071/_old 2018-12-27 00:26:27.999806639 +0100 +++ /var/tmp/diff_new_pack.qhW071/_new 2018-12-27 00:26:28.003806636 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-h2 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,23 +23,21 @@ Summary:HTTP/2 State-Machine based protocol implementation License:MIT Group: Development/Languages/Python -Url:http://hyper.rtfd.org +URL:http://hyper.rtfd.org Source0: https://files.pythonhosted.org/packages/source/h/h2/h2-%{version}.tar.gz -BuildRequires: %{python_module devel} # test requirements BuildRequires: %{python_module coverage} BuildRequires: %{python_module hpack} BuildRequires: %{python_module hyperframe >= 5.0} BuildRequires: %{python_module hypothesis} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-xdist} +BuildRequires: %{python_module pytest} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-hyperframe >= 5.0 Requires: python-hpack >= 2.2 +Requires: python-hyperframe >= 5.0 BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build %python_subpackages %description @@ -62,8 +60,8 @@ %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} %files %{python_files} -%defattr(-,root,root,-) -%doc HISTORY.rst LICENSE README.rst +%license LICENSE +%doc HISTORY.rst README.rst %{python_sitelib}/h2 %{python_sitelib}/h2-%{version}-py%{python_version}.egg-info