Hello community,

here is the log from the commit of package python-hpack for openSUSE:Factory 
checked in at 2020-01-16 18:16:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hpack (Old)
 and      /work/SRC/openSUSE:Factory/.python-hpack.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hpack"

Thu Jan 16 18:16:44 2020 rev:5 rq:764684 version:3.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hpack/python-hpack.changes        
2019-07-30 13:01:38.262435423 +0200
+++ /work/SRC/openSUSE:Factory/.python-hpack.new.26092/python-hpack.changes     
2020-01-16 18:16:48.632824451 +0100
@@ -1,0 +2,5 @@
+Wed Jan 15 13:24:22 UTC 2020 - Ondřej Súkup <[email protected]>
+
+- add healthcheck.patch to disarm too_slow healthcheck random fails
+
+-------------------------------------------------------------------

New:
----
  healthcheck.patch

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

Other differences:
------------------
++++++ python-hpack.spec ++++++
--- /var/tmp/diff_new_pack.fOE613/_old  2020-01-16 18:16:49.204824774 +0100
+++ /var/tmp/diff_new_pack.fOE613/_new  2020-01-16 18:16:49.204824774 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-hpack
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -22,9 +22,9 @@
 Release:        0
 Summary:        Pure-Python HPACK header compression
 License:        MIT
-Group:          Development/Languages/Python
 URL:            https://github.com/python-hyper/hpack
 Source:         
https://files.pythonhosted.org/packages/source/h/hpack/hpack-%{version}.tar.gz
+Patch0:         healthcheck.patch
 BuildRequires:  %{python_module hypothesis}
 # https://github.com/python-hyper/hpack/issues/168
 BuildRequires:  %{python_module pytest < 5.0}
@@ -41,6 +41,7 @@
 
 %prep
 %setup -q -n hpack-%{version}
+%patch0 -p1
 
 %build
 export LC_ALL="en_US.UTF-8"

++++++ healthcheck.patch ++++++
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
 import itertools
 import pytest
 
-from hypothesis import given
+from hypothesis import given, settings, HealthCheck
 from hypothesis.strategies import text, binary, sets, one_of
 
 try:
@@ -749,6 +749,7 @@ class TestDictToIterable(object):
         binary().filter(lambda k: k and not k.startswith(b':'))
     )
 
+    @settings(suppress_health_check=[HealthCheck.too_slow])
     @given(
         special_keys=sets(keys),
         boring_keys=sets(keys),
@@ -786,6 +787,7 @@ class TestDictToIterable(object):
         assert special_keys == received_special
         assert boring_keys == received_boring
 
+    @settings(suppress_health_check=[HealthCheck.too_slow])
     @given(
         special_keys=sets(keys),
         boring_keys=sets(keys),

Reply via email to