Hello community,
here is the log from the commit of package python-proliantutils for
openSUSE:Factory checked in at 2018-07-10 16:14:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-proliantutils (Old)
and /work/SRC/openSUSE:Factory/.python-proliantutils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-proliantutils"
Tue Jul 10 16:14:18 2018 rev:2 rq:600766 version:2.5.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-proliantutils/python-proliantutils.changes
2018-02-01 21:29:25.972949493 +0100
+++
/work/SRC/openSUSE:Factory/.python-proliantutils.new/python-proliantutils.changes
2018-07-10 16:14:19.993638599 +0200
@@ -1,0 +2,51 @@
+Wed Apr 25 05:20:27 UTC 2018 - [email protected]
+
+- use fdupes to reduce rpm-lint warnings
+
+-------------------------------------------------------------------
+Thu Apr 19 12:11:39 UTC 2018 - [email protected]
+
+- update to 2.5.1:
+ * Updated ChangeLog for proliantutils release 2.5.1
+ Also updated the AUTHORS file
+ * Remove the disk erase timeout
+ * Fixes secure\_boot capability
+- add 60910b9257c70211445086af2ea014327a03f80a.patch
+ This fixes a testcase
+
+-------------------------------------------------------------------
+Fri Feb 23 13:37:02 UTC 2018 - [email protected]
+
+- update to 2.5.0:
+ * Updated ChangeLog for proliantutils 2.5.0 release
+ * Retain "mac" argument for backward compatibility
+ * Changes to support Sushy 1.3.0
+ * Redfish: Adding the ability to get and set iSCSI initiator
+ * Redfish: Adding the ability to set and unset iSCSI boot info
+ * Redfish: Changed 'update\_persistent\_boot' to set 'UefiTarget' boot
device.
+ Also removed 'mac' from 'set\_one\_time\_boot'
+ * Remove 'mac' argument for [un]set\_iscsi\_boot\_info()
+ * Changed '\_update\_persistent\_boot' to set 'UefiTarget' boot device
+ also removed 'mac' from 'set\_one\_time\_boot'
+ * Add support to set iSCSI initiator information
+ * Retry power on operation for Blade servers
+ * Updates 'set\_one\_time\_boot' to accept MAC address
+ * Add support to get iscsi initiator information
+
+-------------------------------------------------------------------
+Thu Feb 8 13:54:57 UTC 2018 - [email protected]
+
+- Build only for python2
+- Enable unittests in %check
+
+-------------------------------------------------------------------
+Thu Feb 8 13:39:42 UTC 2018 - [email protected]
+
+- Add missing Requires and BuildRequires
+
+-------------------------------------------------------------------
+Thu Feb 1 00:41:46 UTC 2018 - [email protected]
+
+- Drop markup from plaintext description.
+
+-------------------------------------------------------------------
Old:
----
proliantutils-2.4.1.tar.gz
New:
----
60910b9257c70211445086af2ea014327a03f80a.patch
proliantutils-2.5.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-proliantutils.spec ++++++
--- /var/tmp/diff_new_pack.LiSG2z/_old 2018-07-10 16:14:20.357638033 +0200
+++ /var/tmp/diff_new_pack.LiSG2z/_new 2018-07-10 16:14:20.357638033 +0200
@@ -16,46 +16,71 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-proliantutils
-Version: 2.4.1
+Version: 2.5.1
Release: 0
Summary: Client Library for interfacing with various devices in HP
Proliant Servers
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/openstack/proliantutils
Source:
https://files.pythonhosted.org/packages/source/p/proliantutils/proliantutils-%{version}.tar.gz
-BuildRequires: %{python_module devel}
-BuildRequires: %{python_module pbr}
-BuildRequires: %{python_module setuptools}
+# PATCH-FIX-UPSTREAM 60910b9257c70211445086af2ea014327a03f80a.patch --
https://github.com/openstack/proliantutils/commit/60910b9257c70211445086af2ea014327a03f80a
+Patch0: 60910b9257c70211445086af2ea014327a03f80a.patch
BuildRequires: fdupes
+BuildRequires: openstack-macros
+BuildRequires: python-ddt
+BuildRequires: python-devel
+BuildRequires: python-jsonschema
+BuildRequires: python-mock
+BuildRequires: python-os-testr
+BuildRequires: python-oslo.concurrency
+BuildRequires: python-oslo.serialization
+BuildRequires: python-oslo.utils
+BuildRequires: python-pbr
+BuildRequires: python-pysnmp
+BuildRequires: python-requests
+BuildRequires: python-retrying
BuildRequires: python-rpm-macros
+BuildRequires: python-setuptools
+BuildRequires: python-six
+BuildRequires: python-sushy
+BuildRequires: python-testrepository
+BuildRequires: python-testtools
+Requires: python-jsonschema >= 2.0.0
+Requires: python-oslo.concurrency >= 3.8.0
+Requires: python-oslo.serialization >= 1.10.0
+Requires: python-oslo.utils >= 3.20.0
+Requires: python-pysnmp >= 4.2.3
+Requires: python-requests >= 2.10.0
+Requires: python-retrying >= 1.2.3
+Requires: python-six >= 1.9.0
+Requires: python-sushy >= 1.0.0
BuildArch: noarch
-%python_subpackages
-
%description
-**proliantutils** is a set of utility libraries for interfacing and managing
+proliantutils is a set of utility libraries for interfacing and managing
various components (like iLO, HPSSA) for HP Proliant Servers. This library
-is used by iLO drivers in Ironic for managing Proliant Servers (though the
-library can be used by anyone who wants to manage HP Proliant servers).
-
-Please use launchpad_ to report bugs and ask questions.
-
-.. _launchpad: https://bugs.launchpad.net/proliantutils
+is used by iLO drivers in Ironic for managing Proliant Servers, though the
+library can be used by anyone who wants to manage HP Proliant servers.
+Please use https://bugs.launchpad.net/proliantutils to report bugs and ask
+questions.
%prep
%setup -q -n proliantutils-%{version}
+%patch0 -p1
%build
-%python_build
+%py2_build
%install
-%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%py2_install
+%fdupes %{buildroot}%{python_sitelib}
+
+%check
+%{__python2} setup.py testr
-%files %{python_files}
+%files
%doc LICENSE README.rst
%{python_sitelib}/*
++++++ 60910b9257c70211445086af2ea014327a03f80a.patch ++++++
>From 60910b9257c70211445086af2ea014327a03f80a Mon Sep 17 00:00:00 2001
From: Debayan Ray <[email protected]>
Date: Mon, 9 Apr 2018 10:04:20 +0000
Subject: [PATCH] Minor fix in test case
Removed ``1.1.1.1`` as one of potential not-connected IPs from
the unit test case. Zuul was failing in one of its runs.
Please refer:
http://logs.openstack.org/68/559668/1/check/openstack-tox-py35/441b309/job-output.txt.gz#_2018-04-09_09_07_53_726867
Change-Id: Ie9b4cc320502d24727c20ba2e05ac4afa9fe3b4f
---
proliantutils/tests/ilo/test_firmware_controller.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/proliantutils/tests/ilo/test_firmware_controller.py
b/proliantutils/tests/ilo/test_firmware_controller.py
index 0ece897..38ad1eb 100644
--- a/proliantutils/tests/ilo/test_firmware_controller.py
+++ b/proliantutils/tests/ilo/test_firmware_controller.py
@@ -550,9 +550,7 @@ def
test__get_socket_returns_ssl_wrapped_socket_if_all_goes_well(
self.assertTrue(ssl_mock.wrap_socket.called)
self.assertEqual(returned_sock, ssl_mock.wrap_socket())
- @ddt.data(('foo.bar.com', exception.IloConnectionError),
- ('1.1.1.1', exception.IloConnectionError),
- ('any_kind_of_address', exception.IloConnectionError),)
+ @ddt.data(('foo.bar.blah.blah', exception.IloConnectionError),)
@ddt.unpack
def test__get_socket_throws_exception_in_case_of_failed_connection(
self, input_hostname, expected_exception_type):
++++++ proliantutils-2.4.1.tar.gz -> proliantutils-2.5.1.tar.gz ++++++
++++ 3740 lines of diff (skipped)