Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pysmb for openSUSE:Factory 
checked in at 2024-02-12 18:52:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pysmb (Old)
 and      /work/SRC/openSUSE:Factory/.python-pysmb.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pysmb"

Mon Feb 12 18:52:06 2024 rev:12 rq:1145999 version:1.2.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pysmb/python-pysmb.changes        
2023-01-14 00:03:41.913878942 +0100
+++ /work/SRC/openSUSE:Factory/.python-pysmb.new.1815/python-pysmb.changes      
2024-02-12 18:54:24.323257099 +0100
@@ -1,0 +2,7 @@
+Mon Feb  5 14:31:00 UTC 2024 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Add python-pysmb-drop-SafeConfigParser.patch -- Replace
+  deprecated SafeConfigParser with ConfigParser
+  (gh#miketeo/pysmb#219).
+
+-------------------------------------------------------------------

New:
----
  python-pysmb-drop-SafeConfigParser.patch

BETA DEBUG BEGIN:
  New:
- Add python-pysmb-drop-SafeConfigParser.patch -- Replace
  deprecated SafeConfigParser with ConfigParser
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-pysmb.spec ++++++
--- /var/tmp/diff_new_pack.D6nRtx/_old  2024-02-12 18:54:24.843275761 +0100
+++ /var/tmp/diff_new_pack.D6nRtx/_new  2024-02-12 18:54:24.843275761 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pysmb
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,8 @@
 Group:          Development/Languages/Python
 URL:            https://miketeo.net/projects/pysmb
 Source:         
https://files.pythonhosted.org/packages/source/p/pysmb/pysmb-%{version}.zip
+# PATCH-FIX-UPSTREAM python-pysmb-drop-SafeConfigParser.patch 
gh#miketeo/pysmb#219 badshah...@gmail.com -- Replace deprecated 
SafeConfigParser with ConfigParser
+Patch0:         python-pysmb-drop-SafeConfigParser.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros

++++++ python-pysmb-drop-SafeConfigParser.patch ++++++
commit 61308993bb5d0cab094edbe25abdf7bad9946192
Author: Atri Bhattacharya <a.bhattacha...@uliege.be>
Date:   Mon Feb 5 19:46:21 2024 +0530

    tests: Replace SafeConfigParser with ConfigParser.
    
    configparser.SafeConfigParser has been deprecated since python 3.2 and
    has been dropped entirely from python 3.12. Replace with ConfigParser.

diff --git a/python2/tests/DirectSMBConnectionTests/util.py 
b/python2/tests/DirectSMBConnectionTests/util.py
index 12f82af..27f785e 100644
--- a/python2/tests/DirectSMBConnectionTests/util.py
+++ b/python2/tests/DirectSMBConnectionTests/util.py
@@ -1,10 +1,10 @@
 
 import os
-from ConfigParser import SafeConfigParser
+from ConfigParser import ConfigParser
 
 def getConnectionInfo():
     config_filename = os.path.join(os.path.dirname(__file__), os.path.pardir, 
'connection.ini')
-    cp = SafeConfigParser()
+    cp = ConfigParser()
     cp.read(config_filename)
 
     info = {
diff --git a/python2/tests/DirectSMBTwistedTests/util.py 
b/python2/tests/DirectSMBTwistedTests/util.py
index 12f82af..27f785e 100644
--- a/python2/tests/DirectSMBTwistedTests/util.py
+++ b/python2/tests/DirectSMBTwistedTests/util.py
@@ -1,10 +1,10 @@
 
 import os
-from ConfigParser import SafeConfigParser
+from ConfigParser import ConfigParser
 
 def getConnectionInfo():
     config_filename = os.path.join(os.path.dirname(__file__), os.path.pardir, 
'connection.ini')
-    cp = SafeConfigParser()
+    cp = ConfigParser()
     cp.read(config_filename)
 
     info = {
diff --git a/python2/tests/SMBConnectionTests/util.py 
b/python2/tests/SMBConnectionTests/util.py
index 4f52d11..faca104 100644
--- a/python2/tests/SMBConnectionTests/util.py
+++ b/python2/tests/SMBConnectionTests/util.py
@@ -1,10 +1,10 @@
 
 import os
-from ConfigParser import SafeConfigParser
+from ConfigParser import ConfigParser
 
 def getConnectionInfo():
     config_filename = os.path.join(os.path.dirname(__file__), os.path.pardir, 
'connection.ini')
-    cp = SafeConfigParser()
+    cp = ConfigParser()
     cp.read(config_filename)
 
     info = {
diff --git a/python2/tests/SMBTwistedTests/util.py 
b/python2/tests/SMBTwistedTests/util.py
index 1c8fe89..1285084 100644
--- a/python2/tests/SMBTwistedTests/util.py
+++ b/python2/tests/SMBTwistedTests/util.py
@@ -1,10 +1,10 @@
 
 import os
-from ConfigParser import SafeConfigParser
+from ConfigParser import ConfigParser
 
 def getConnectionInfo():
     config_filename = os.path.join(os.path.dirname(__file__), os.path.pardir, 
'connection.ini')
-    cp = SafeConfigParser()
+    cp = ConfigParser()
     cp.read(config_filename)
 
     info = {
diff --git a/python3/tests/DirectSMBConnectionTests/util.py 
b/python3/tests/DirectSMBConnectionTests/util.py
index 0e1b180..005752e 100644
--- a/python3/tests/DirectSMBConnectionTests/util.py
+++ b/python3/tests/DirectSMBConnectionTests/util.py
@@ -1,10 +1,10 @@
 
 import os
-from configparser import SafeConfigParser
+from configparser import ConfigParser
 
 def getConnectionInfo():
     config_filename = os.path.join(os.path.dirname(__file__), os.path.pardir, 
'connection.ini')
-    cp = SafeConfigParser()
+    cp = ConfigParser()
     cp.read(config_filename)
 
     info = {
diff --git a/python3/tests/SMBConnectionTests/util.py 
b/python3/tests/SMBConnectionTests/util.py
index debf3bb..f63b92b 100644
--- a/python3/tests/SMBConnectionTests/util.py
+++ b/python3/tests/SMBConnectionTests/util.py
@@ -1,10 +1,10 @@
 
 import os
-from configparser import SafeConfigParser
+from configparser import ConfigParser
 
 def getConnectionInfo():
     config_filename = os.path.join(os.path.dirname(__file__), os.path.pardir, 
'connection.ini')
-    cp = SafeConfigParser()
+    cp = ConfigParser()
     cp.read(config_filename)
 
     info = {

Reply via email to