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-03-31 11:41:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-redfish (Old)
 and      /work/SRC/openSUSE:Factory/.python-redfish.new.2696 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-redfish"

Mon Mar 31 11:41:54 2025 rev:22 rq:1265303 version:3.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-redfish/python-redfish.changes    
2025-03-24 13:32:48.365210623 +0100
+++ /work/SRC/openSUSE:Factory/.python-redfish.new.2696/python-redfish.changes  
2025-03-31 11:42:51.159346377 +0200
@@ -1,0 +2,8 @@
+Fri Mar 28 19:50:46 UTC 2025 - Martin Hauke <[email protected]>
+
+- Update to version 3.3.1
+  * Fixed bug in recent workaround logic for services not
+    returning the 'Location' header to not print the workaround
+    warning for failed login attempts.
+
+-------------------------------------------------------------------

Old:
----
  redfish-3.3.0.tar.gz

New:
----
  redfish-3.3.1.tar.gz

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

Other differences:
------------------
++++++ python-redfish.spec ++++++
--- /var/tmp/diff_new_pack.9oOkFr/_old  2025-03-31 11:42:52.475400909 +0200
+++ /var/tmp/diff_new_pack.9oOkFr/_new  2025-03-31 11:42:52.479401075 +0200
@@ -18,7 +18,7 @@
 
 
 Name:           python-redfish
-Version:        3.3.0
+Version:        3.3.1
 Release:        0
 Summary:        Redfish Python Library
 License:        BSD-3-Clause

++++++ redfish-3.3.0.tar.gz -> redfish-3.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-redfish-library-3.3.0/CHANGELOG.md 
new/python-redfish-library-3.3.1/CHANGELOG.md
--- old/python-redfish-library-3.3.0/CHANGELOG.md       2025-03-21 
20:27:49.000000000 +0100
+++ new/python-redfish-library-3.3.1/CHANGELOG.md       2025-03-28 
20:28:21.000000000 +0100
@@ -1,5 +1,8 @@
 # Change Log
 
+## [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
+
 ## [3.3.0] - 2025-03-21
 - Added workaround and warnings for session login when the service incorrectly 
does not provide the session location in the 'Location' response header
 - Minor typo fix in exception message for login failures
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-redfish-library-3.3.0/setup.py 
new/python-redfish-library-3.3.1/setup.py
--- old/python-redfish-library-3.3.0/setup.py   2025-03-21 20:27:49.000000000 
+0100
+++ new/python-redfish-library-3.3.1/setup.py   2025-03-28 20:28:21.000000000 
+0100
@@ -12,7 +12,7 @@
     long_description = f.read()
 
 setup(name='redfish',
-      version='3.3.0',
+      version='3.3.1',
       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.0/src/redfish/__init__.py 
new/python-redfish-library-3.3.1/src/redfish/__init__.py
--- old/python-redfish-library-3.3.0/src/redfish/__init__.py    2025-03-21 
20:27:49.000000000 +0100
+++ new/python-redfish-library-3.3.1/src/redfish/__init__.py    2025-03-28 
20:28:21.000000000 +0100
@@ -6,7 +6,7 @@
 """ Redfish restful library """
 
 __all__ = ['rest', 'ris', 'discovery', 'messages']
-__version__ = "3.3.0"
+__version__ = "3.3.1"
 
 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.0/src/redfish/rest/v1.py 
new/python-redfish-library-3.3.1/src/redfish/rest/v1.py
--- old/python-redfish-library-3.3.0/src/redfish/rest/v1.py     2025-03-21 
20:27:49.000000000 +0100
+++ new/python-redfish-library-3.3.1/src/redfish/rest/v1.py     2025-03-28 
20:28:21.000000000 +0100
@@ -288,6 +288,8 @@
         """Property for accessing the saved session location"""
         if self._session_location:
             return self._session_location
+        if self.status not in [200, 201, 202, 204]:
+            return None
 
         self._session_location = self.getheader('location')
         if self._session_location is None:

Reply via email to