commit python-sushy for openSUSE:Factory
Hello community, here is the log from the commit of package python-sushy for openSUSE:Factory checked in at 2019-05-07 23:19:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sushy (Old) and /work/SRC/openSUSE:Factory/.python-sushy.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-sushy" Tue May 7 23:19:28 2019 rev:6 rq:701218 version:1.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sushy/python-sushy.changes 2019-03-10 09:32:39.320215963 +0100 +++ /work/SRC/openSUSE:Factory/.python-sushy.new.5148/python-sushy.changes 2019-05-07 23:19:30.108988647 +0200 @@ -1,0 +2,7 @@ +Tue May 7 07:00:31 UTC 2019 - cloud-devel@suse.de + +- update to version 1.8.1 + - Update .gitreview for stable/stein + - Fix wrong default JsonDataReader() argument + +------------------------------------------------------------------- Old: ---- sushy-1.8.0.tar.gz New: ---- sushy-1.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sushy.spec ++++++ --- /var/tmp/diff_new_pack.7wMOjA/_old 2019-05-07 23:19:30.540989634 +0200 +++ /var/tmp/diff_new_pack.7wMOjA/_new 2019-05-07 23:19:30.544989643 +0200 @@ -17,15 +17,14 @@ Name: python-sushy -Version: 1.8.0 +Version: 1.8.1 Release: 0 Summary: Python library to communicate with Redfish based systems License: Apache-2.0 Group: Development/Languages/Python URL: https://docs.openstack.org/sushy -Source0: https://files.pythonhosted.org/packages/source/s/sushy/sushy-1.8.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/s/sushy/sushy-1.8.1.tar.gz BuildRequires: openstack-macros -BuildRequires: python-devel BuildRequires: python2-oslotest BuildRequires: python2-pbr >= 2.0.0 BuildRequires: python2-python-dateutil >= 2.7.0 @@ -37,7 +36,6 @@ BuildRequires: python2-stestr BuildRequires: python2-testscenarios BuildRequires: python2-testtools -BuildRequires: python3-devel BuildRequires: python3-oslotest BuildRequires: python3-pbr >= 2.0.0 BuildRequires: python3-python-dateutil >= 2.7.0 @@ -70,7 +68,7 @@ This package contains the documentation. %prep -%autosetup -p1 -n sushy-1.8.0 +%autosetup -p1 -n sushy-1.8.1 %py_req_cleanup sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg ++++++ sushy-1.8.0.tar.gz -> sushy-1.8.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sushy-1.8.0/ChangeLog new/sushy-1.8.1/ChangeLog --- old/sushy-1.8.0/ChangeLog 2019-02-28 19:21:03.000000000 +0100 +++ new/sushy-1.8.1/ChangeLog 2019-03-15 10:37:13.000000000 +0100 @@ -1,6 +1,12 @@ CHANGES ======= +1.8.1 +----- + +* Fix wrong default JsonDataReader() argument +* Update .gitreview for stable/stein + 1.8.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sushy-1.8.0/PKG-INFO new/sushy-1.8.1/PKG-INFO --- old/sushy-1.8.0/PKG-INFO 2019-02-28 19:21:03.000000000 +0100 +++ new/sushy-1.8.1/PKG-INFO 2019-03-15 10:37:13.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: sushy -Version: 1.8.0 +Version: 1.8.1 Summary: Sushy is a small Python library to communicate with Redfish based systems Home-page: https://docs.openstack.org/sushy/latest/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sushy-1.8.0/sushy/resources/base.py new/sushy-1.8.1/sushy/resources/base.py --- old/sushy-1.8.0/sushy/resources/base.py 2019-02-28 19:18:56.000000000 +0100 +++ new/sushy-1.8.1/sushy/resources/base.py 2019-03-15 10:35:27.000000000 +0100 @@ -313,7 +313,7 @@ connector, path='', redfish_version=None, - reader=JsonDataReader()): + reader=None): """A class representing the base of any Redfish resource Invokes the ``refresh()`` method of resource for the first @@ -322,8 +322,7 @@ :param path: sub-URI path to the resource. :param redfish_version: The version of Redfish. Used to construct the object according to schema of the given version. - :param reader: Reader to use to fetch JSON data. Defaults to - JsonDataReader + :param reader: Reader to use to fetch JSON data. """ self._conn = connector self._path = path @@ -334,6 +333,8 @@ # attribute values are fetched. self._is_stale = True + if reader is None: + reader = JsonDataReader() reader.set_connection(connector, path) self._reader = reader diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sushy-1.8.0/sushy/tests/unit/resources/test_base.py new/sushy-1.8.1/sushy/tests/unit/resources/test_base.py --- old/sushy-1.8.0/sushy/tests/unit/resources/test_base.py 2019-02-28 19:18:56.000000000 +0100 +++ new/sushy-1.8.1/sushy/tests/unit/resources/test_base.py 2019-03-15 10:35:27.000000000 +0100 @@ -129,6 +129,15 @@ reader=resource_base. JsonArchiveReader('Test.2.0.json')) + def test_init_default_reader(self): + resource_a = BaseResource(connector=self.conn) + resource_b = BaseResource(connector=self.conn) + + self.assertIsInstance(resource_a._reader, resource_base.JsonDataReader) + self.assertIsInstance(resource_b._reader, resource_base.JsonDataReader) + + self.assertIsNot(resource_a._reader, resource_b._reader) + def test__parse_attributes(self): for oem_vendor in self.base_resource2.oem_vendors: self.assertTrue(oem_vendor in ('Contoso', 'EID_412_ASB_123')) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sushy-1.8.0/sushy.egg-info/PKG-INFO new/sushy-1.8.1/sushy.egg-info/PKG-INFO --- old/sushy-1.8.0/sushy.egg-info/PKG-INFO 2019-02-28 19:21:03.000000000 +0100 +++ new/sushy-1.8.1/sushy.egg-info/PKG-INFO 2019-03-15 10:37:13.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: sushy -Version: 1.8.0 +Version: 1.8.1 Summary: Sushy is a small Python library to communicate with Redfish based systems Home-page: https://docs.openstack.org/sushy/latest/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sushy-1.8.0/sushy.egg-info/pbr.json new/sushy-1.8.1/sushy.egg-info/pbr.json --- old/sushy-1.8.0/sushy.egg-info/pbr.json 2019-02-28 19:21:03.000000000 +0100 +++ new/sushy-1.8.1/sushy.egg-info/pbr.json 2019-03-15 10:37:13.000000000 +0100 @@ -1 +1 @@ -{"git_version": "fb465bc", "is_release": true} \ No newline at end of file +{"git_version": "88ef6fe", "is_release": true} \ No newline at end of file
participants (1)
-
root