diff --git a/curl-789-error-message.patch b/curl-789-error-message.patch deleted file mode 100644 index 308f76e..0000000 --- a/curl-789-error-message.patch +++ /dev/null @@ -1,25 +0,0 @@ -Index: pycurl-7.45.1/tests/error_test.py -=================================================================== ---- pycurl-7.45.1.orig/tests/error_test.py -+++ pycurl-7.45.1/tests/error_test.py -@@ -29,7 +29,7 @@ class ErrorTest(unittest.TestCase): - err, msg = exc.args - self.assertEqual(pycurl.E_URL_MALFORMAT, err) - # possibly fragile -- self.assertEqual('No URL set!', msg) -+ self.assertIn("No URL set", msg) - else: - self.fail('Expected pycurl.error to be raised') - -@@ -43,9 +43,9 @@ class ErrorTest(unittest.TestCase): - self.curl.perform() - except pycurl.error: - # might be fragile -- self.assertEqual('No URL set!', self.curl.errstr()) -+ self.assertIn('No URL set', self.curl.errstr()) - # repeated checks do not clear value -- self.assertEqual('No URL set!', self.curl.errstr()) -+ self.assertIn('No URL set', self.curl.errstr()) - # check the type - on all python versions - self.assertEqual(str, type(self.curl.errstr())) - else: diff --git a/pycurl-7.45.1.tar.gz b/pycurl-7.45.1.tar.gz deleted file mode 100644 index ba8ff8e..0000000 --- a/pycurl-7.45.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a863ad18ff478f5545924057887cdae422e1b2746e41674615f687498ea5b88a -size 233879 diff --git a/pycurl-7.45.2.tar.gz b/pycurl-7.45.2.tar.gz new file mode 100644 index 0000000..c05c6ec --- /dev/null +++ b/pycurl-7.45.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5730590be0271364a5bddd9e245c9cc0fb710c4cbacbdd95264a3122d23224ca +size 234245 diff --git a/python-pycurl.changes b/python-pycurl.changes index 747469e..c75e0bc 100644 --- a/python-pycurl.changes +++ b/python-pycurl.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Jan 2 18:51:53 UTC 2023 - Dirk Müller + +- update to 7.45.2: + * Python 3.9 compatibility for Py_TRASHCAN_SAFE_BEGIN + * Add support for CURL_HTTP_VERSION_3 + * Add CURLOPT_TLS13_CIPHERS and CURLOPT_PROXY_TLS13_CIPHERS options + * Added HTTP09_ALLOWED option + * Removed use of distutils +- drop curl-789-error-message.patch (upstream) + ------------------------------------------------------------------- Thu Apr 28 06:00:57 UTC 2022 - Steve Kowalik diff --git a/python-pycurl.spec b/python-pycurl.spec index f5394af..f69920a 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,7 +27,7 @@ %bcond_with test %endif Name: python-pycurl%{psuffix} -Version: 7.45.1 +Version: 7.45.2 Release: 0 Summary: PycURL -- cURL library module License: LGPL-2.1-or-later AND MIT @@ -41,8 +41,6 @@ Patch2: disable_randomly_failing_tests.patch # PATCH-FIX-OPENSUSE make-leap15-compat.patch mcepl@suse.com # Make tests passing with Leap 15.2 Patch3: make-leap15-compat.patch -# PATCH-FIX-OPENSUSE Handle missing ! in a returned error message -Patch4: curl-789-error-message.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes