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 2026-10-12 22:07:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-redfish (Old)
and /work/SRC/openSUSE:Factory/.python-redfish.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-redfish"
Mon Oct 12 22:07:16 2026 rev:30 rq:1384184 version:3.4.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-redfish/python-redfish.changes
2026-09-04 12:41:19.645517419 +0200
+++
/work/SRC/openSUSE:Factory/.python-redfish.new.3698736/python-redfish.changes
2026-10-12 22:07:18.379529512 +0200
@@ -1,0 +2,7 @@
+Sat Oct 10 06:45:46 UTC 2026 - Martin Hauke <[email protected]>
+
+- Update to version 3.4.1
+ * Corrected max retry logic to raise RetriesExhaustedError when
+ max retries is 0.
+
+-------------------------------------------------------------------
Old:
----
redfish-3.4.0.tar.gz
New:
----
redfish-3.4.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-redfish.spec ++++++
--- /var/tmp/diff_new_pack.dRIefw/_old 2026-10-12 22:07:19.083558573 +0200
+++ /var/tmp/diff_new_pack.dRIefw/_new 2026-10-12 22:07:19.085558656 +0200
@@ -18,7 +18,7 @@
Name: python-redfish
-Version: 3.4.0
+Version: 3.4.1
Release: 0
Summary: Redfish Python Library
License: BSD-3-Clause
++++++ redfish-3.4.0.tar.gz -> redfish-3.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-redfish-library-3.4.0/.github/workflows/prepare-release.yml
new/python-redfish-library-3.4.1/.github/workflows/prepare-release.yml
--- old/python-redfish-library-3.4.0/.github/workflows/prepare-release.yml
2026-08-25 20:02:36.000000000 +0200
+++ new/python-redfish-library-3.4.1/.github/workflows/prepare-release.yml
2026-10-09 22:03:49.000000000 +0200
@@ -167,6 +167,7 @@
GH_TOKEN: ${{ github.token }}
VERSION: ${{ inputs.version }}
run: |
+ git -c core.whitespace=cr-at-eol diff --check
git config user.name "github-actions[bot]"
git config user.email
"41898282+github-actions[bot]@users.noreply.github.com"
git add CHANGELOG.md setup.py src/redfish/__init__.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-redfish-library-3.4.0/CHANGELOG.md
new/python-redfish-library-3.4.1/CHANGELOG.md
--- old/python-redfish-library-3.4.0/CHANGELOG.md 2026-08-25
20:02:36.000000000 +0200
+++ new/python-redfish-library-3.4.1/CHANGELOG.md 2026-10-09
22:03:49.000000000 +0200
@@ -1,5 +1,8 @@
# Change Log
+## [3.4.1] - 2026-10-09
+- Corrected max retry logic to raise RetriesExhaustedError when max retries is 0
+
## [3.4.0] - 2026-08-25
- Updated publication flow to leverage PyPI trusted publishing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-redfish-library-3.4.0/README.rst
new/python-redfish-library-3.4.1/README.rst
--- old/python-redfish-library-3.4.0/README.rst 2026-08-25 20:02:36.000000000
+0200
+++ new/python-redfish-library-3.4.1/README.rst 2026-10-09 22:03:49.000000000
+0200
@@ -97,7 +97,7 @@
* ``sessionkey``: The session key to use with subsequent requests. This can
be used to bypass the login step. The default value is ``None``.
* ``cafile``: The file path to the CA certificate that issued the Redfish
service's certificate. The default value is ``None``.
* ``timeout``: The number of seconds to wait for a response before closing the
connection. The default value is ``None``.
-* ``max_retry``: The number of retries to perform an operation before giving
up. The default value is ``10``.
+* ``max_retry``: The number of retries to perform an operation before giving
up. The default value is ``10``. This includes non-idempotent methods, such
as ``POST`` and ``PATCH``.
* ``proxies``: A dictionary containing protocol to proxy URL mappings. The
default value is ``None``. See `Using proxies`_.
* ``check_connectivity``: A boolean value to determine whether the client
immediately attempts a connection to the base_url. The default is ``True``.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-redfish-library-3.4.0/setup.py
new/python-redfish-library-3.4.1/setup.py
--- old/python-redfish-library-3.4.0/setup.py 2026-08-25 20:02:36.000000000
+0200
+++ new/python-redfish-library-3.4.1/setup.py 2026-10-09 22:03:49.000000000
+0200
@@ -12,7 +12,7 @@
long_description = f.read()
setup(name='redfish',
- version='3.4.0',
+ version='3.4.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.4.0/src/redfish/__init__.py
new/python-redfish-library-3.4.1/src/redfish/__init__.py
--- old/python-redfish-library-3.4.0/src/redfish/__init__.py 2026-08-25
20:02:36.000000000 +0200
+++ new/python-redfish-library-3.4.1/src/redfish/__init__.py 2026-10-09
22:03:49.000000000 +0200
@@ -6,7 +6,7 @@
""" Redfish restful library """
__all__ = ['rest', 'ris', 'discovery', 'messages']
-__version__ = "3.4.0"
+__version__ = "3.4.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.4.0/src/redfish/rest/v1.py
new/python-redfish-library-3.4.1/src/redfish/rest/v1.py
--- old/python-redfish-library-3.4.0/src/redfish/rest/v1.py 2026-08-25
20:02:36.000000000 +0200
+++ new/python-redfish-library-3.4.1/src/redfish/rest/v1.py 2026-10-09
22:03:49.000000000 +0200
@@ -488,7 +488,7 @@
:type cafile: str
:param timeout: Timeout in seconds for the initial connection
:type timeout: int
- :param max_retry: Number of times a request will retry after a timeout
+ :param max_retry: Number of times a request will retry after a
timeout, including non-idempotent methods
:type max_retry: int
:param proxies: Dictionary containing protocol to proxy URL mappings
:type proxies: dict
@@ -963,29 +963,25 @@
else:
break
- if attempts <= max_retry:
+ if restresp is not None:
if LOGGER.isEnabledFor(logging.DEBUG):
headerstr = ''
+ for header in restresp.getheaders():
+ headerstr += '\t' + header[0] + ': ' + header[1] + '\n'
- if restresp is not None:
- for header in restresp.getheaders():
- headerstr += '\t' + header[0] + ': ' + header[1] + '\n'
-
+ try:
try:
- try:
- restrespstr =
json.dumps(json.loads(restresp.read), indent=4)
- except:
- restrespstr = restresp.read
- LOGGER.debug('HTTP RESPONSE for %s:\nCode:
%s\n\nHeaders:\n' \
- '%s\nBody Response of %s:\n%s\n'%\
- (restresp.request.path,
- str(restresp._http_response.status_code)+ ' '
+ \
- restresp._http_response.reason,
- headerstr, restresp.request.path, restrespstr))
+ restrespstr = json.dumps(json.loads(restresp.read),
indent=4)
except:
- LOGGER.debug('HTTP RESPONSE:\nCode:%s', restresp)
- else:
- LOGGER.debug('HTTP RESPONSE: <No HTTP Response obtained>')
+ restrespstr = restresp.read
+ LOGGER.debug('HTTP RESPONSE for %s:\nCode:
%s\n\nHeaders:\n' \
+ '%s\nBody Response of %s:\n%s\n'%\
+ (restresp.request.path,
+ str(restresp._http_response.status_code)+ ' ' + \
+ restresp._http_response.reason,
+ headerstr, restresp.request.path, restrespstr))
+ except:
+ LOGGER.debug('HTTP RESPONSE:\nCode:%s', restresp)
return restresp
else: