Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-redfish for openSUSE:Factory 
checked in at 2025-07-08 15:30:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-redfish (Old)
 and      /work/SRC/openSUSE:Factory/.python-redfish.new.7373 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-redfish"

Tue Jul  8 15:30:15 2025 rev:24 rq:1291176 version:3.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-redfish/python-redfish.changes    
2025-06-24 20:50:55.476672229 +0200
+++ /work/SRC/openSUSE:Factory/.python-redfish.new.7373/python-redfish.changes  
2025-07-08 15:30:43.914487802 +0200
@@ -1,0 +2,7 @@
+Mon Jul  7 17:13:05 UTC 2025 - Martin Hauke <mar...@gmx.de>
+
+- Update to version 3.3.2
+  * Fixed issue where headers were being propagated across
+    different class instances.
+
+-------------------------------------------------------------------

Old:
----
  redfish-3.3.1.tar.gz

New:
----
  redfish-3.3.2.tar.gz

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

Other differences:
------------------
++++++ python-redfish.spec ++++++
--- /var/tmp/diff_new_pack.iJeUiM/_old  2025-07-08 15:30:44.518513037 +0200
+++ /var/tmp/diff_new_pack.iJeUiM/_new  2025-07-08 15:30:44.522513205 +0200
@@ -18,7 +18,7 @@
 
 
 Name:           python-redfish
-Version:        3.3.1
+Version:        3.3.2
 Release:        0
 Summary:        Redfish Python Library
 License:        BSD-3-Clause

++++++ redfish-3.3.1.tar.gz -> redfish-3.3.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-redfish-library-3.3.1/CHANGELOG.md 
new/python-redfish-library-3.3.2/CHANGELOG.md
--- old/python-redfish-library-3.3.1/CHANGELOG.md       2025-03-28 
20:28:21.000000000 +0100
+++ new/python-redfish-library-3.3.2/CHANGELOG.md       2025-07-07 
19:03:39.000000000 +0200
@@ -1,5 +1,8 @@
 # Change Log
 
+## [3.3.2] - 2025-07-07
+- Fixed issue where headers were being propagated across different class 
instances
+
 ## [3.3.1] - 2025-03-28
 - Fixed bug in recent workaround logic for services not returning the 
'Location' header to not print the workaround warning for failed login attempts
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-redfish-library-3.3.1/setup.py 
new/python-redfish-library-3.3.2/setup.py
--- old/python-redfish-library-3.3.1/setup.py   2025-03-28 20:28:21.000000000 
+0100
+++ new/python-redfish-library-3.3.2/setup.py   2025-07-07 19:03:39.000000000 
+0200
@@ -12,7 +12,7 @@
     long_description = f.read()
 
 setup(name='redfish',
-      version='3.3.1',
+      version='3.3.2',
       description='Redfish Python Library',
       long_description=long_description,
       long_description_content_type='text/x-rst',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-redfish-library-3.3.1/src/redfish/__init__.py 
new/python-redfish-library-3.3.2/src/redfish/__init__.py
--- old/python-redfish-library-3.3.1/src/redfish/__init__.py    2025-03-28 
20:28:21.000000000 +0100
+++ new/python-redfish-library-3.3.2/src/redfish/__init__.py    2025-07-07 
19:03:39.000000000 +0200
@@ -6,7 +6,7 @@
 """ Redfish restful library """
 
 __all__ = ['rest', 'ris', 'discovery', 'messages']
-__version__ = "3.3.1"
+__version__ = "3.3.2"
 
 from redfish.rest.v1 import redfish_client
 from redfish.rest.v1 import AuthMethod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-redfish-library-3.3.1/src/redfish/rest/v1.py 
new/python-redfish-library-3.3.2/src/redfish/rest/v1.py
--- old/python-redfish-library-3.3.1/src/redfish/rest/v1.py     2025-03-28 
20:28:21.000000000 +0100
+++ new/python-redfish-library-3.3.2/src/redfish/rest/v1.py     2025-07-07 
19:03:39.000000000 +0200
@@ -986,7 +986,7 @@
         else:
             raise RetriesExhaustedError() from cause_exception
 
-    def login(self, username=None, password=None, auth=AuthMethod.SESSION, 
headers={}):
+    def login(self, username=None, password=None, auth=AuthMethod.SESSION, 
headers=None):
         """Login and start a REST session.  Remember to call logout() when"""
         """ you are done.
 
@@ -1006,6 +1006,8 @@
         self.__username = username if username else self.__username
         self.__password = password if password else self.__password
 
+        headers = headers if headers else {}
+
         if auth == AuthMethod.BASIC:
             auth_key = base64.b64encode(('%s:%s' % (self.__username,
                             self.__password)).encode('utf-8')).decode('utf-8')

Reply via email to