Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2022-04-30 00:44:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and      /work/SRC/openSUSE:Factory/.python-pycurl.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pycurl"

Sat Apr 30 00:44:26 2022 rev:39 rq:973531 version:7.45.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes      
2021-06-05 23:31:59.056485143 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new.1538/python-pycurl.changes    
2022-04-30 00:44:35.450902126 +0200
@@ -1,0 +2,31 @@
+Thu Apr 28 06:00:57 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Update to 7.45.1:
+  * Fixed build against libcurl < 7.64.1 (patch by Scott Talbert).
+  * Add CURLOPT_MAXLIFETIME_CONN (patch by fsbs).
+  * Easy handle duplication support (patch by fsbs).
+  * Support for unsetting a number of multi options (patch by fsbs).
+  * pycurl classes can now be subclassed (patch by fsbs).
+  * Multi callbacks' thread state management fixed (patch by fsbs).
+  * Add CURL_LOCK_DATA_PSL (patch by fsbs).
+  * Add support for SecureTransport SSL backend (MacOS)
+    (patch by Scott Talbert).
+  * Fixed Python thread initialization causing hangs on operations
+    (patch by Scott Talbert).
+  * getinfo(CURLINFO_FTP_ENTRY_PATH) now handles NULL return from
+    libcurl, returning None in this case.
+  * Python 3.9 is now officially supported (patch by Bill Collins).
+  * Added CURLOPT_DOH_URL (patch by resokou).
+  * Best effort Python 2 support has been reinstated.
+  * Added missing fields to curl_version_info struct (patch by Hasan).
+  * Added CURLINFO_CONDITION_UNMET (patch by Dima Tisnek).
+  * Exposed MAX_CONCURRENT_STREAMS in CurlMulti (patch by Alexandre Pion).
+  * Compilation fixed against Python 3.10 alpha (patch by Kamil Dudka).
+- Remove patch curl7770_compatibility.patch and remove_nose.patch:
+  * They have both merged upstream.
+- Modify patch disable_randomly_failing_tests.patch:
+  * Use pytest rather than nose methods.
+- Add patch curl-789-error-message.patch:
+  * Handle missing ! in a returned error message.
+
+-------------------------------------------------------------------

Old:
----
  curl7770_compatibility.patch
  pycurl-7.43.0.6.tar.gz
  remove_nose.patch

New:
----
  curl-789-error-message.patch
  pycurl-7.45.1.tar.gz

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

Other differences:
------------------
++++++ python-pycurl.spec ++++++
--- /var/tmp/diff_new_pack.5zt9QQ/_old  2022-04-30 00:44:36.146902730 +0200
+++ /var/tmp/diff_new_pack.5zt9QQ/_new  2022-04-30 00:44:36.150902733 +0200
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 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.43.0.6
+Version:        7.45.1
 Release:        0
 Summary:        PycURL -- cURL library module
 License:        LGPL-2.1-or-later AND MIT
@@ -37,16 +37,12 @@
 Patch0:         increase_test_timeout.diff
 # PATCH-FIX-UPSTREAM handle difference between libssh and libssh2
 Patch1:         pycurl-libssh.patch
-Patch3:         disable_randomly_failing_tests.patch
-# PATCH-FEATURE-UPSTREAM remove_nose.patch gh#pycurl/pycurl#655 mc...@suse.com
-# remove dependency on nose
-Patch4:         remove_nose.patch
+Patch2:         disable_randomly_failing_tests.patch
 # PATCH-FIX-OPENSUSE make-leap15-compat.patch mc...@suse.com
 # Make tests passing with Leap 15.2
-Patch5:         make-leap15-compat.patch
-# PATCH-FIX-UPSTREAM curl7770_compatibility.patch gh#pycurl/pycurl#689 
mc...@suse.com
-# Provide compatiblity with curl 7.77.0+
-Patch6:         curl7770_compatibility.patch
+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
@@ -79,8 +75,7 @@
 This package contains documentation and examples.
 
 %prep
-%setup -q -n pycurl-%{version}
-%autopatch -p1
+%autosetup -p1 -n pycurl-%{version}
 
 # temporarily remove a failing test-case until the issue is
 # fixed in curl: https://github.com/curl/curl/issues/6615

++++++ curl-789-error-message.patch ++++++
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:

++++++ disable_randomly_failing_tests.patch ++++++
--- /var/tmp/diff_new_pack.5zt9QQ/_old  2022-04-30 00:44:36.210902785 +0200
+++ /var/tmp/diff_new_pack.5zt9QQ/_new  2022-04-30 00:44:36.218902793 +0200
@@ -1,12 +1,12 @@
-Index: pycurl-7.43.0.2/tests/memory_mgmt_test.py
+Index: pycurl-7.45.1/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
+--- 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 nose
++import pytest
  
  debug = False
  
@@ -14,37 +14,37 @@
  else:
      devnull = '/dev/null'
  
-+@nose.plugins.attrib.attr('occasionally_failing')
++@pytest.mark.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
+Index: pycurl-7.45.1/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
+--- 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 nose
++import pytest
  
  from . import util
  
  debug = False
  
-+@nose.plugins.attrib.attr('occasionally_failing')
++@pytest.mark.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
+Index: pycurl-7.45.1/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
+--- 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 nose
++import pytest
  
  from . import appmanager
  from . import util
@@ -52,8 +52,17 @@
      teardown_module_2(mod)
      teardown_module_1(mod)
  
-+@nose.plugins.attrib.attr('occasionally_failing')
++@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
 

++++++ pycurl-7.43.0.6.tar.gz -> pycurl-7.45.1.tar.gz ++++++
++++ 4656 lines of diff (skipped)

Reply via email to