15
0
forked from pool/python-pycurl
Files
python-pycurl/disable_randomly_failing_tests.patch
Daniel Garcia 7d4898ba67 - Add patch handle-change-debug-curl-8.16.0.patch (bsc#1249448, gh#pycurl/pycurl@eb7f52eeef85)
- Drop patch test-bottle-flask.patch, not needed anymore
- Update to 7.45.6:
  * Re-enable building Linux wheels with CA bundle autodetection
- 7.45.5
  * Enable GSS-API and brotli support in wheels (patch by Scott Talbert).
  * Add support for calling getinfo with CURLOPT_*_T arguments
    (patch by Scott Talbert)
  * Change wheels to build using shared libraries (vice static libraries)
    (patch by Scott Talbert)
  * Build wheels with curl 8.12.1 (mainly for security fixes)
- 7.45.4
  * Add support for CURLOPT_HAPROXY_CLIENT_IP (patch by Scott Talbert).
  * Port tests from bottle to flask (patch by Miro Hrončok).
  * Add constant for CURL_HTTP_VERSION_3ONLY (patch by Pavel Horáček).
  * Add EFFECTIVE_METHOD info option (patch by Pavel Horáček).
  * Don't use `-flat_namespace` on macOS (patch by Michael Cho).
  * Add some missing GIL checks to callback functions
    (patch by Scott Talbert).
  * Fix assorted bugs in pycurl tests, including a segfault
    (patch by Scott Talbert).  All tests should now pass on Linux and
    macOS.
  * Fix minor bug in examples/multi-socket_action-select.py
    (patch by Oleg Broytman).
  * Build all wheels using the latest version of libcurl and its
    dependencies (patch by Scott Talbert).  All wheels should now have
    openssl, HTTP2, and SSH support.
  * Implement Certificate Authority path autodetection when building
    Linux wheels (patch by Scott Talbert).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=116
2025-09-12 07:31:48 +00:00

68 lines
2.0 KiB
Diff

Index: pycurl-7.45.1/tests/memory_mgmt_test.py
===================================================================
--- pycurl-7.45.1.orig/tests/memory_mgmt_test.py
+++ pycurl-7.45.1/tests/memory_mgmt_test.py
@@ -9,6 +9,7 @@ import unittest
import gc
import flaky
from . import util
+import pytest
debug = False
@@ -17,6 +18,7 @@ if sys.platform == 'win32':
else:
devnull = '/dev/null'
+@pytest.mark.occasionally_failing
@flaky.flaky(max_runs=3)
class MemoryMgmtTest(unittest.TestCase):
def maybe_enable_debug(self):
Index: pycurl-7.45.1/tests/multi_memory_mgmt_test.py
===================================================================
--- pycurl-7.45.1.orig/tests/multi_memory_mgmt_test.py
+++ pycurl-7.45.1/tests/multi_memory_mgmt_test.py
@@ -7,11 +7,13 @@ import unittest
import gc
import flaky
import weakref
+import pytest
from . import util
debug = False
+@pytest.mark.occasionally_failing
@flaky.flaky(max_runs=3)
class MultiMemoryMgmtTest(unittest.TestCase):
def test_opensocketfunction_collection(self):
Index: pycurl-7.45.1/tests/multi_timer_test.py
===================================================================
--- pycurl-7.45.1.orig/tests/multi_timer_test.py
+++ pycurl-7.45.1/tests/multi_timer_test.py
@@ -5,6 +5,7 @@
from . import localhost
import pycurl
import unittest
+import pytest
from . import appmanager
from . import util
@@ -23,6 +24,7 @@ def teardown_module(mod):
teardown_module_2(mod)
teardown_module_1(mod)
+@pytest.mark.occasionally_failing
class MultiSocketTest(unittest.TestCase):
def test_multi_timer(self):
urls = [
Index: pycurl-7.45.1/pytest.ini
===================================================================
--- pycurl-7.45.1.orig/pytest.ini
+++ pycurl-7.45.1/pytest.ini
@@ -7,3 +7,4 @@ markers =
gssapi: mark a test as requiring GSSAPI
http2: mark a test as requiring HTTP/2
standalone: mark a test as being standalone
+ occasionally_failing: mark a test as occasionally failing