forked from pool/python-pycurl
Accepting request 1316093 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1316093 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycurl?expand=0&rev=51
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 6 16:51:52 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- fix build with libcurl >= 8.17.0 boo#1253116
|
||||
skip_kerberos_tests_on_libcurl_8_17_0.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 12 06:19:06 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
||||
@@ -45,6 +45,8 @@ Patch2: disable_randomly_failing_tests.patch
|
||||
Patch3: make-leap15-compat.patch
|
||||
# PATCH-FIX-UPSTREAM handle-change-debug-curl-8.16.0.patch gh#pycurl/pycurl@eb7f52eeef85
|
||||
Patch4: handle-change-debug-curl-8.16.0.patch
|
||||
# PATCH-FIX-UPSTREAM skip_kerberos_tests_on_libcurl_8_17_0.patch gh#pycurl/pycurl@33bf92f
|
||||
Patch5: skip_kerberos_tests_on_libcurl_8_17_0.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
|
||||
30
skip_kerberos_tests_on_libcurl_8_17_0.patch
Normal file
30
skip_kerberos_tests_on_libcurl_8_17_0.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
From ea92e3ca230a3ff3d464cb6816102fa157177aca Mon Sep 17 00:00:00 2001
|
||||
From: Jacek Migacz <jmigacz@redhat.com>
|
||||
Date: Fri, 17 Oct 2025 13:55:48 +0200
|
||||
Subject: [PATCH] Skip Kerberos tests on libcurl >= 8.17.0
|
||||
|
||||
CURLOPT_KRBLEVEL and CURLOPT_KRB4LEVEL were removed in libcurl
|
||||
8.17.0 and now return CURLE_NOT_BUILT_IN.
|
||||
---
|
||||
tests/option_constants_test.py | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/tests/option_constants_test.py b/tests/option_constants_test.py
|
||||
index 1dd862c39..de1b08012 100644
|
||||
--- a/tests/option_constants_test.py
|
||||
+++ b/tests/option_constants_test.py
|
||||
@@ -502,12 +502,14 @@ def test_ssl_sessionid_cache(self):
|
||||
curl.setopt(curl.SSL_SESSIONID_CACHE, True)
|
||||
curl.close()
|
||||
|
||||
+ @util.removed_in_libcurl(8, 17, 0)
|
||||
@util.only_gssapi
|
||||
def test_krblevel(self):
|
||||
curl = pycurl.Curl()
|
||||
curl.setopt(curl.KRBLEVEL, 'clear')
|
||||
curl.close()
|
||||
|
||||
+ @util.removed_in_libcurl(8, 17, 0)
|
||||
@util.only_gssapi
|
||||
def test_krb4level(self):
|
||||
curl = pycurl.Curl()
|
||||
Reference in New Issue
Block a user