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-03-16 15:49:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-redfish (Old) and /work/SRC/openSUSE:Factory/.python-redfish.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-redfish" Mon Mar 16 15:49:26 2026 rev:26 rq:1339370 version:3.3.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-redfish/python-redfish.changes 2025-09-15 19:56:50.289007585 +0200 +++ /work/SRC/openSUSE:Factory/.python-redfish.new.8177/python-redfish.changes 2026-03-16 15:49:51.963627958 +0100 @@ -1,0 +2,6 @@ +Fri Mar 13 20:43:56 UTC 2026 - Martin Hauke <[email protected]> + +- Update to version 3.3.5 + * Replaced jsonpath_rw in favor of jsonpath_ng + +------------------------------------------------------------------- Old: ---- redfish-3.3.4.tar.gz New: ---- redfish-3.3.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-redfish.spec ++++++ --- /var/tmp/diff_new_pack.bebm0g/_old 2026-03-16 15:49:52.563652782 +0100 +++ /var/tmp/diff_new_pack.bebm0g/_new 2026-03-16 15:49:52.563652782 +0100 @@ -1,8 +1,8 @@ # # spec file for package python-redfish # -# Copyright (c) 2025 SUSE LLC and contributors -# Copyright (c) 2020-2025, Martin Hauke <[email protected]> +# Copyright (c) 2026 SUSE LLC and contributors +# Copyright (c) 2020-2026, Martin Hauke <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: python-redfish -Version: 3.3.4 +Version: 3.3.5 Release: 0 Summary: Redfish Python Library License: BSD-3-Clause @@ -38,7 +38,7 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module jsonpatch} -BuildRequires: %{python_module jsonpath-rw} +BuildRequires: %{python_module jsonpath-ng} BuildRequires: %{python_module jsonpointer} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests-toolbelt} ++++++ redfish-3.3.4.tar.gz -> redfish-3.3.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-redfish-library-3.3.4/CHANGELOG.md new/python-redfish-library-3.3.5/CHANGELOG.md --- old/python-redfish-library-3.3.4/CHANGELOG.md 2025-08-29 21:33:18.000000000 +0200 +++ new/python-redfish-library-3.3.5/CHANGELOG.md 2026-03-13 20:18:08.000000000 +0100 @@ -1,5 +1,8 @@ # Change Log +## [3.3.5] - 2026-03-13 +- Replaced jsonpath_rw in favor of jsonpath_ng + ## [3.3.4] - 2025-08-29 - Added option to allow for a user to specify an HTTPS adapter when building the client object diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-redfish-library-3.3.4/README.rst new/python-redfish-library-3.3.5/README.rst --- old/python-redfish-library-3.3.4/README.rst 2025-08-29 21:33:18.000000000 +0200 +++ new/python-redfish-library-3.3.5/README.rst 2026-03-13 20:18:08.000000000 +0100 @@ -17,7 +17,7 @@ As of version 3.0.0, Python2 is no longer supported. If Python2 is required, ``redfish<3.0.0`` can be specified in a requirements file. -REST (Representational State Transfer) is a web based software architectural style consisting of a set of constraints that focuses on a system's resources. The Redfish library performs GET, POST, PUT, PATCH and DELETE HTTP operations on resources within a Redfish service. Go to the `wiki <../../wiki>`_ for more details. +REST (Representational State Transfer) is a web based software architectural style consisting of a set of constraints that focuses on a system's resources. The Redfish library performs GET, POST, PUT, PATCH and DELETE HTTP operations on resources within a Redfish service. Go to the `wiki <https://github.com/DMTF/python-redfish-library/wiki>`_ for more details. Installing ---------- @@ -46,7 +46,7 @@ jsonpatch<=1.24 ; python_version == '3.4' jsonpatch ; python_version >= '3.5' - jsonpath_rw + jsonpath_ng jsonpointer requests requests-toolbelt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-redfish-library-3.3.4/requirements.txt new/python-redfish-library-3.3.5/requirements.txt --- old/python-redfish-library-3.3.4/requirements.txt 2025-08-29 21:33:18.000000000 +0200 +++ new/python-redfish-library-3.3.5/requirements.txt 2026-03-13 20:18:08.000000000 +0100 @@ -1,6 +1,6 @@ jsonpatch<=1.24 ; python_version == '3.4' jsonpatch ; python_version >= '3.5' -jsonpath_rw +jsonpath_ng jsonpointer requests requests-toolbelt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-redfish-library-3.3.4/setup.py new/python-redfish-library-3.3.5/setup.py --- old/python-redfish-library-3.3.4/setup.py 2025-08-29 21:33:18.000000000 +0200 +++ new/python-redfish-library-3.3.5/setup.py 2026-03-13 20:18:08.000000000 +0100 @@ -12,7 +12,7 @@ long_description = f.read() setup(name='redfish', - version='3.3.4', + version='3.3.5', description='Redfish Python Library', long_description=long_description, long_description_content_type='text/x-rst', @@ -29,7 +29,7 @@ packages=find_packages('src'), package_dir={'': 'src'}, install_requires=[ - 'jsonpath_rw', + 'jsonpath_ng', 'jsonpointer', "requests", 'requests_toolbelt', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-redfish-library-3.3.4/src/redfish/__init__.py new/python-redfish-library-3.3.5/src/redfish/__init__.py --- old/python-redfish-library-3.3.4/src/redfish/__init__.py 2025-08-29 21:33:18.000000000 +0200 +++ new/python-redfish-library-3.3.5/src/redfish/__init__.py 2026-03-13 20:18:08.000000000 +0100 @@ -6,7 +6,7 @@ """ Redfish restful library """ __all__ = ['rest', 'ris', 'discovery', 'messages'] -__version__ = "3.3.4" +__version__ = "3.3.5" 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.4/src/redfish/ris/ris.py new/python-redfish-library-3.3.5/src/redfish/ris/ris.py --- old/python-redfish-library-3.3.4/src/redfish/ris/ris.py 2025-08-29 21:33:18.000000000 +0200 +++ new/python-redfish-library-3.3.5/src/redfish/ris/ris.py 2026-03-13 20:18:08.000000000 +0100 @@ -15,7 +15,7 @@ from queue import Queue from collections import OrderedDict -import jsonpath_rw +import jsonpath_ng import redfish.rest.v1 from redfish.ris.sharedtypes import Dictable @@ -406,7 +406,7 @@ if loadtype == "href": # follow all the href attributes - jsonpath_expr = jsonpath_rw.parse("$..'@odata.id'") + jsonpath_expr = jsonpath_ng.parse("$..'@odata.id'") matches = jsonpath_expr.find(resp.dict) if "links" in resp.dict and "NextPage" in resp.dict["links"]: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-redfish-library-3.3.4/src/redfish/ris/rmc.py new/python-redfish-library-3.3.5/src/redfish/ris/rmc.py --- old/python-redfish-library-3.3.4/src/redfish/ris/rmc.py 2025-08-29 21:33:18.000000000 +0200 +++ new/python-redfish-library-3.3.5/src/redfish/ris/rmc.py 2026-03-13 20:18:08.000000000 +0100 @@ -10,7 +10,6 @@ import os import re import sys -import six import time import copy import shutil @@ -19,7 +18,7 @@ from collections.abc import Mapping import jsonpatch -import jsonpath_rw +import jsonpath_ng import jsonpointer from redfish.ris.rmc_helper import (UndefinedClientError, \ @@ -384,7 +383,7 @@ currdict = jsonpatch.apply_patch(currdict, patch) if selector: - jsonpath_expr = jsonpath_rw.parse('%s' % selector) + jsonpath_expr = jsonpath_ng.parse('%s' % selector) matches = jsonpath_expr.find(currdict) temp_dict = OrderedDict() @@ -434,13 +433,13 @@ currdict = jsonpatch.apply_patch(currdict, patch) if selector: - for item in six.iterkeys(currdict): + for item in currdict: if selector.lower() == item.lower(): selector = item break try: - jsonpath_expr = jsonpath_rw.parse('"%s"' % selector) + jsonpath_expr = jsonpath_ng.parse('"%s"' % selector) except Exception as excp: raise InvalidCommandLineError(excp) @@ -510,13 +509,13 @@ nochangesmade = True currdict = instance.resp.dict - for item in six.iterkeys(currdict): + for item in currdict: if selector.lower() == item.lower(): selector = item break newdict = currdict.copy() - jsonpath_expr = jsonpath_rw.parse(u'%s' % selector) + jsonpath_expr = jsonpath_ng.parse(u'%s' % selector) matches = jsonpath_expr.find(currdict) if not matches: @@ -678,7 +677,7 @@ if newargs and len(dicttolist)==1 : for i in range(len(newargs)): - for item in six.iterkeys(currdictcopy): + for item in currdictcopy: if newarg[i].lower() == item.lower(): newarg[i] = item @@ -730,7 +729,7 @@ dicttolist = [] for (itersel, iterval) in dicttolist: - jsonpath_expr = jsonpath_rw.parse('%s' % itersel) + jsonpath_expr = jsonpath_ng.parse('%s' % itersel) matches = jsonpath_expr.find(currdict) if not matches: @@ -847,7 +846,7 @@ newarg.append(name) for i in range(len(newargs)): - for item in six.iterkeys(currdictcopy): + for item in currdictcopy: if newarg[i].lower() == item.lower(): selector = item newarg[i] = item @@ -932,7 +931,7 @@ found = False if not newargs[current] == newargs[-1]: - for attr, val in six.iteritems(currdict): + for attr, val in currdict.items(): if attr.lower() == newargs[current].lower(): current += 1 found = self.setmultiworker(newargs, change, val, current) @@ -940,7 +939,7 @@ else: continue else: - for attr, val in six.iteritems(currdict): + for attr, val in currdict.items(): if attr.lower() == change[0][0].lower(): currdict[attr] = change[0][1] found = True
