diff --git a/h2-3.0.1.tar.gz b/h2-3.0.1.tar.gz deleted file mode 100644 index e1158e1..0000000 --- a/h2-3.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b2962f883fa392a23cbfcc4ad03c335bcc661be0cf9627657b589f0df2206e64 -size 2208816 diff --git a/h2-3.1.0.tar.gz b/h2-3.1.0.tar.gz new file mode 100644 index 0000000..bcdf35d --- /dev/null +++ b/h2-3.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd07e865a3272ac6ef195d8904de92dc7b38dc28297ec39cfa22716b6d62e6eb +size 2213210 diff --git a/python-h2.changes b/python-h2.changes index bcd7ed5..30b0120 100644 --- a/python-h2.changes +++ b/python-h2.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +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. + ------------------------------------------------------------------- Tue Dec 4 12:49:07 UTC 2018 - Matej Cepl diff --git a/python-h2.spec b/python-h2.spec index 9cc756b..461e703 100644 --- a/python-h2.spec +++ b/python-h2.spec @@ -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