Hello community,

here is the log from the commit of package python-hpack for openSUSE:Factory 
checked in at 2020-12-18 19:52:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hpack (Old)
 and      /work/SRC/openSUSE:Factory/.python-hpack.new.5145 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hpack"

Fri Dec 18 19:52:07 2020 rev:7 rq:856093 version:4.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hpack/python-hpack.changes        
2020-05-08 23:02:17.881487969 +0200
+++ /work/SRC/openSUSE:Factory/.python-hpack.new.5145/python-hpack.changes      
2020-12-18 19:52:09.529598057 +0100
@@ -1,0 +2,11 @@
+Tue Dec 15 21:36:53 UTC 2020 - Matej Cepl <mc...@suse.com>
+
+- Upgrade to 4.0.0:
+  - remove pytest5.patch, which was included in the upstream tarball.
+  - support for Python < 3.6 (including 2.7) has been removed.
+  - support for Python 3.8 has been added.
+  - Performance improvement of static header search. Use dict search
+    instead of linear search.
+  - Fix debug output of headers during encoding.
+
+-------------------------------------------------------------------

Old:
----
  hpack-3.0.0.tar.gz
  pytest5.patch

New:
----
  hpack-4.0.0.tar.gz
  test_fixtures.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-hpack.spec ++++++
--- /var/tmp/diff_new_pack.GsTyxp/_old  2020-12-18 19:52:10.369598982 +0100
+++ /var/tmp/diff_new_pack.GsTyxp/_new  2020-12-18 19:52:10.369598982 +0100
@@ -18,14 +18,15 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-hpack
-Version:        3.0.0
+Version:        4.0.0
 Release:        0
 Summary:        Pure-Python HPACK header compression
 License:        MIT
 URL:            https://github.com/python-hyper/hpack
-Source:         
https://files.pythonhosted.org/packages/source/h/hpack/hpack-%{version}.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/h/hpack/hpack-%{version}.tar.gz
+# Content of 
https://github.com/python-hyper/hpack/tree/master/test/test_fixtures
+Source1:        test_fixtures.tar.xz
 Patch0:         healthcheck.patch
-Patch1:         pytest5.patch
 BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -40,8 +41,7 @@
 automatically enables the use of nghttp2 if it’s available.
 
 %prep
-%setup -q -n hpack-%{version}
-%autopatch -p1
+%autosetup -p1 -a1 -n hpack-%{version}
 
 %build
 export LC_ALL="en_US.UTF-8"
@@ -57,7 +57,7 @@
 
 %files %{python_files}
 %license LICENSE
-%doc HISTORY.rst CONTRIBUTORS.rst README.rst
+%doc CHANGELOG.rst CONTRIBUTORS.rst README.rst
 %{python_sitelib}/hpack
 %{python_sitelib}/hpack-%{version}-py%{python_version}.egg-info
 

++++++ healthcheck.patch ++++++
--- /var/tmp/diff_new_pack.GsTyxp/_old  2020-12-18 19:52:10.393599009 +0100
+++ /var/tmp/diff_new_pack.GsTyxp/_new  2020-12-18 19:52:10.393599009 +0100
@@ -1,8 +1,6 @@
-Index: hpack-3.0.0/test/test_hpack.py
-===================================================================
---- hpack-3.0.0.orig/test/test_hpack.py
-+++ hpack-3.0.0/test/test_hpack.py
-@@ -8,7 +8,7 @@ from hpack.struct import HeaderTuple, Ne
+--- a/test/test_hpack.py
++++ b/test/test_hpack.py
+@@ -2,7 +2,7 @@
  import itertools
  import pytest
  
@@ -10,8 +8,8 @@
 +from hypothesis import given, settings, HealthCheck
  from hypothesis.strategies import text, binary, sets, one_of
  
- try:
-@@ -749,6 +749,7 @@ class TestDictToIterable(object):
+ from hpack import (
+@@ -760,6 +760,7 @@ class TestDictToIterable:
          binary().filter(lambda k: k and not k.startswith(b':'))
      )
  
@@ -19,7 +17,7 @@
      @given(
          special_keys=sets(keys),
          boring_keys=sets(keys),
-@@ -786,6 +787,7 @@ class TestDictToIterable(object):
+@@ -797,6 +798,7 @@ class TestDictToIterable:
          assert special_keys == received_special
          assert boring_keys == received_boring
  

++++++ hpack-3.0.0.tar.gz -> hpack-4.0.0.tar.gz ++++++
++++ 14089 lines of diff (skipped)
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to