Hello community, here is the log from the commit of package python-pycurl for openSUSE:Factory checked in at 2018-11-12 09:48:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old) and /work/SRC/openSUSE:Factory/.python-pycurl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pycurl" Mon Nov 12 09:48:45 2018 rev:25 rq:646252 version:7.43.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes 2018-09-20 11:41:07.604868230 +0200 +++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 2018-11-12 09:48:48.240520744 +0100 @@ -1,0 +2,6 @@ +Fri Nov 2 11:14:22 UTC 2018 - Vítězslav Čížek <[email protected]> + +- Don't run tests that fail randomly or under load + * add disable_randomly_failing_tests.patch + +------------------------------------------------------------------- New: ---- disable_randomly_failing_tests.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pycurl.spec ++++++ --- /var/tmp/diff_new_pack.93cmUN/_old 2018-11-12 09:48:48.972519641 +0100 +++ /var/tmp/diff_new_pack.93cmUN/_new 2018-11-12 09:48:48.972519641 +0100 @@ -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/ # @@ -44,6 +44,7 @@ Patch1: pycurl-libssh.patch # PATCH-FIX-OPENSUSE python-pycurl-7.43.0-tls-backend.patch -- do not run runtime tests to compare linked libs Patch2: python-pycurl-7.43.0-tls-backend.patch +Patch3: disable_randomly_failing_tests.patch BuildRequires: %{python_module devel} BuildRequires: fdupes BuildRequires: libcurl-devel >= 7.19.0 @@ -106,7 +107,7 @@ make %{?_smp_mflags} popd # exclude certain tests -test_flags='!online' +test_flags='!online,!occasionally_failing' if ! pkg-config --variable=supported_features libcurl|grep -qw HTTP2; then test_flags="$test_flags,\!http2" fi ++++++ disable_randomly_failing_tests.patch ++++++ Index: pycurl-7.43.0.2/tests/memory_mgmt_test.py =================================================================== --- pycurl-7.43.0.2.orig/tests/memory_mgmt_test.py 2018-06-02 06:29:03.000000000 +0200 +++ pycurl-7.43.0.2/tests/memory_mgmt_test.py 2018-11-02 15:06:49.831677767 +0100 @@ -9,6 +9,7 @@ import unittest import gc import flaky from . import util +import nose debug = False @@ -17,6 +18,7 @@ if sys.platform == 'win32': else: devnull = '/dev/null' [email protected]('occasionally_failing') @flaky.flaky(max_runs=3) class MemoryMgmtTest(unittest.TestCase): def maybe_enable_debug(self): Index: pycurl-7.43.0.2/tests/multi_memory_mgmt_test.py =================================================================== --- pycurl-7.43.0.2.orig/tests/multi_memory_mgmt_test.py 2018-05-22 05:44:40.000000000 +0200 +++ pycurl-7.43.0.2/tests/multi_memory_mgmt_test.py 2018-11-02 15:07:13.703835912 +0100 @@ -7,11 +7,13 @@ import unittest import gc import flaky import weakref +import nose from . import util debug = False [email protected]('occasionally_failing') @flaky.flaky(max_runs=3) class MultiMemoryMgmtTest(unittest.TestCase): def test_opensocketfunction_collection(self): Index: pycurl-7.43.0.2/tests/multi_timer_test.py =================================================================== --- pycurl-7.43.0.2.orig/tests/multi_timer_test.py 2018-06-02 06:14:57.000000000 +0200 +++ pycurl-7.43.0.2/tests/multi_timer_test.py 2018-11-02 15:07:26.263919115 +0100 @@ -5,6 +5,7 @@ from . import localhost import pycurl import unittest +import nose from . import appmanager from . import util @@ -23,6 +24,7 @@ def teardown_module(mod): teardown_module_2(mod) teardown_module_1(mod) [email protected]('occasionally_failing') class MultiSocketTest(unittest.TestCase): def test_multi_timer(self): urls = [
