Hello community,
here is the log from the commit of package python-ironic-inspector-client for
openSUSE:Factory checked in at 2018-09-26 14:22:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ironic-inspector-client (Old)
and /work/SRC/openSUSE:Factory/.python-ironic-inspector-client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ironic-inspector-client"
Wed Sep 26 14:22:53 2018 rev:9 rq:634903 version:3.3.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-ironic-inspector-client/python-ironic-inspector-client.changes
2018-09-07 15:37:23.890665398 +0200
+++
/work/SRC/openSUSE:Factory/.python-ironic-inspector-client.new/python-ironic-inspector-client.changes
2018-09-26 14:22:55.101969876 +0200
@@ -1,0 +2,14 @@
+Tue Sep 11 07:52:41 UTC 2018 - [email protected]
+
+- update to version 3.3.0
+ - fix tox python3 overrides
+ - Add release note link in README
+ - Trivial: Update pypi url to new url
+ - Provide proper error message if interface name is invalid
+ - Update the home-page link
+ - Follow the new PTI for document build
+ - Fix errors in package metadata
+ - add lower-constraints job
+ - Support passing manage_boot argument in Python API
+
+-------------------------------------------------------------------
Old:
----
python-ironic-inspector-client-3.2.0.tar.gz
New:
----
python-ironic-inspector-client-3.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ironic-inspector-client.spec ++++++
--- /var/tmp/diff_new_pack.mtYKIj/_old 2018-09-26 14:22:56.297967971 +0200
+++ /var/tmp/diff_new_pack.mtYKIj/_new 2018-09-26 14:22:56.297967971 +0200
@@ -17,13 +17,13 @@
Name: python-ironic-inspector-client
-Version: 3.2.0
+Version: 3.3.0
Release: 0
Summary: Python client and CLI tool for Ironic Inspector
License: Apache-2.0
Group: Development/Languages/Python
URL: https://launchpad.net/python-ironic-inspector-client
-Source0:
https://files.pythonhosted.org/packages/source/p/python-ironic-inspector-client/python-ironic-inspector-client-3.2.0.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/p/python-ironic-inspector-client/python-ironic-inspector-client-3.3.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python-Sphinx
BuildRequires: python-devel
@@ -54,7 +54,7 @@
This package contains Python client and command line tool for Ironic Inspector.
%prep
-%autosetup -p1 -n python-ironic-inspector-client-3.2.0
+%autosetup -p1 -n python-ironic-inspector-client-3.3.0
sed -i -e 's,hacking.*,,' test-requirements.txt
sed -i -e 's,coverage.*,,' test-requirements.txt
sed -i -e 's,doc8.*,,' test-requirements.txt
++++++ python-ironic-inspector-client-3.2.0.tar.gz ->
python-ironic-inspector-client-3.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-ironic-inspector-client-3.2.0/AUTHORS
new/python-ironic-inspector-client-3.3.0/AUTHORS
--- old/python-ironic-inspector-client-3.2.0/AUTHORS 2018-05-10
01:45:31.000000000 +0200
+++ new/python-ironic-inspector-client-3.3.0/AUTHORS 2018-07-26
10:48:57.000000000 +0200
@@ -18,6 +18,7 @@
Nguyen Hung Phuong <[email protected]>
OpenStack Release Bot <[email protected]>
Ruby Loo <[email protected]>
+Sean McGinnis <[email protected]>
Tang Chen <[email protected]>
Tao Li <[email protected]>
Yuiko Takada <[email protected]>
@@ -27,6 +28,8 @@
fpxie <[email protected]>
gengchc2 <[email protected]>
ghanshyam <[email protected]>
+jacky06 <[email protected]>
jinxingfang <[email protected]>
melissaml <[email protected]>
sonu.kumar <[email protected]>
+wu.chunyang <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-ironic-inspector-client-3.2.0/ChangeLog
new/python-ironic-inspector-client-3.3.0/ChangeLog
--- old/python-ironic-inspector-client-3.2.0/ChangeLog 2018-05-10
01:45:31.000000000 +0200
+++ new/python-ironic-inspector-client-3.3.0/ChangeLog 2018-07-26
10:48:57.000000000 +0200
@@ -1,6 +1,19 @@
CHANGES
=======
+3.3.0
+-----
+
+* Fix errors in package metadata
+* Update the home-page link
+* Provide proper error message if interface name is invalid
+* Add release note link in README
+* Support passing manage\_boot argument in Python API
+* Follow the new PTI for document build
+* fix tox python3 overrides
+* add lower-constraints job
+* Trivial: Update pypi url to new url
+
3.2.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-ironic-inspector-client-3.2.0/PKG-INFO
new/python-ironic-inspector-client-3.3.0/PKG-INFO
--- old/python-ironic-inspector-client-3.2.0/PKG-INFO 2018-05-10
01:45:33.000000000 +0200
+++ new/python-ironic-inspector-client-3.3.0/PKG-INFO 2018-07-26
10:48:58.000000000 +0200
@@ -1,8 +1,10 @@
Metadata-Version: 2.1
Name: python-ironic-inspector-client
-Version: 3.2.0
+Version: 3.3.0
Summary: Python client for Ironic Inspector
-Home-page: https://launchpad.net/python-ironic-inspector-client
+Home-page: https://docs.openstack.org/python-ironic-inspector-client/latest/
+Author: OpenStack
+Author-email: [email protected]
License: Apache-2
Description: Ironic Inspector Client
=======================
@@ -16,7 +18,8 @@
* Source:
https://git.openstack.org/cgit/openstack/python-ironic-inspector-client
* Documentation:
https://docs.openstack.org/python-ironic-inspector-client/latest/
* Bugs: https://storyboard.openstack.org/#!/project/958
- * Downloads:
https://pypi.python.org/pypi/python-ironic-inspector-client
+ * Downloads: https://pypi.org/project/python-ironic-inspector-client
+ * Release Notes:
https://docs.openstack.org/releasenotes/python-ironic-inspector-client/
Please follow usual OpenStack `Gerrit Workflow`_ to submit a patch, see
`Inspector contributing guide`_ for more detail.
@@ -26,7 +29,7 @@
.. _Gerrit Workflow:
https://docs.openstack.org/infra/manual/developers.html#development-workflow
- .. _Ironic Inspector: https://pypi.python.org/pypi/ironic-inspector
+ .. _Ironic Inspector:
https://docs.openstack.org/ironic-inspector/latest/
.. _Inspector contributing guide:
https://docs.openstack.org/ironic-inspector/latest/contributor/index.html
.. _HTTP API reference:
https://docs.openstack.org/ironic-inspector/latest/user/http-api.html
@@ -43,5 +46,5 @@
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
-Provides-Extra: test
Provides-Extra: cli
+Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-ironic-inspector-client-3.2.0/README.rst
new/python-ironic-inspector-client-3.3.0/README.rst
--- old/python-ironic-inspector-client-3.2.0/README.rst 2018-05-10
01:41:48.000000000 +0200
+++ new/python-ironic-inspector-client-3.3.0/README.rst 2018-07-26
10:45:22.000000000 +0200
@@ -10,7 +10,8 @@
* Source:
https://git.openstack.org/cgit/openstack/python-ironic-inspector-client
* Documentation:
https://docs.openstack.org/python-ironic-inspector-client/latest/
* Bugs: https://storyboard.openstack.org/#!/project/958
-* Downloads: https://pypi.python.org/pypi/python-ironic-inspector-client
+* Downloads: https://pypi.org/project/python-ironic-inspector-client
+* Release Notes:
https://docs.openstack.org/releasenotes/python-ironic-inspector-client/
Please follow usual OpenStack `Gerrit Workflow`_ to submit a patch, see
`Inspector contributing guide`_ for more detail.
@@ -20,6 +21,6 @@
.. _Gerrit Workflow:
https://docs.openstack.org/infra/manual/developers.html#development-workflow
-.. _Ironic Inspector: https://pypi.python.org/pypi/ironic-inspector
+.. _Ironic Inspector: https://docs.openstack.org/ironic-inspector/latest/
.. _Inspector contributing guide:
https://docs.openstack.org/ironic-inspector/latest/contributor/index.html
.. _HTTP API reference:
https://docs.openstack.org/ironic-inspector/latest/user/http-api.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-ironic-inspector-client-3.2.0/doc/requirements.txt
new/python-ironic-inspector-client-3.3.0/doc/requirements.txt
--- old/python-ironic-inspector-client-3.2.0/doc/requirements.txt
1970-01-01 01:00:00.000000000 +0100
+++ new/python-ironic-inspector-client-3.3.0/doc/requirements.txt
2018-07-26 10:45:22.000000000 +0200
@@ -0,0 +1,4 @@
+sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
+openstackdocstheme>=1.18.1 # Apache-2.0
+reno>=2.5.0 # Apache-2.0
+sphinxcontrib-apidoc>=0.2.0 # BSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-ironic-inspector-client-3.2.0/doc/source/conf.py
new/python-ironic-inspector-client-3.3.0/doc/source/conf.py
--- old/python-ironic-inspector-client-3.2.0/doc/source/conf.py 2018-05-10
01:41:48.000000000 +0200
+++ new/python-ironic-inspector-client-3.3.0/doc/source/conf.py 2018-07-26
10:45:22.000000000 +0200
@@ -5,7 +5,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc',
+extensions = ['sphinxcontrib.apidoc',
'sphinx.ext.viewcode',
]
@@ -22,9 +22,15 @@
wsme_protocols = ['restjson']
-# autodoc generation is a bit aggressive and a nuisance when doing heavy
-# text edit cycles.
-# execute "export SPHINX_DEBUG=1" in your terminal to disable
+# sphinxcontrib.apidoc options
+apidoc_module_dir = '../../ironic_inspector_client'
+apidoc_output_dir = 'reference/api'
+apidoc_excluded_paths = [
+ 'test/*',
+ 'test',
+ 'common/i18n*',
+ 'shell*']
+apidoc_separate_modules = True
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-ironic-inspector-client-3.2.0/doc/source/reference/index.rst
new/python-ironic-inspector-client-3.3.0/doc/source/reference/index.rst
--- old/python-ironic-inspector-client-3.2.0/doc/source/reference/index.rst
2018-05-10 01:41:48.000000000 +0200
+++ new/python-ironic-inspector-client-3.3.0/doc/source/reference/index.rst
2018-07-26 10:45:22.000000000 +0200
@@ -8,7 +8,7 @@
This code creates a client with API version *1.0* and a given `Keystone
session`_. The service URL is fetched from the service catalog in this case.
-See :py:class:`ironic_inspector_client.v1.ClientV1` documentation for details.
+See :py:class:`ironic_inspector_client.ClientV1` documentation for details.
.. _api-versioning:
@@ -23,16 +23,21 @@
Two constants are exposed for convenience:
-* :py:const:`ironic_inspector_client.v1.DEFAULT_API_VERSION`
-* :py:const:`ironic_inspector_client.v1.MAX_API_VERSION`
+* :py:const:`ironic_inspector_client.DEFAULT_API_VERSION`
+* :py:const:`ironic_inspector_client.MAX_API_VERSION`
API Reference
-------------
.. toctree::
- :maxdepth: 1
+ :maxdepth: 2
- api/autoindex
+ api/ironic_inspector_client
+
+.. toctree::
+ :hidden:
+
+ api/modules
.. _Keystone session:
https://docs.openstack.org/keystoneauth/latest/using-sessions.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-ironic-inspector-client-3.2.0/ironic_inspector_client/__init__.py
new/python-ironic-inspector-client-3.3.0/ironic_inspector_client/__init__.py
---
old/python-ironic-inspector-client-3.2.0/ironic_inspector_client/__init__.py
2018-05-10 01:41:48.000000000 +0200
+++
new/python-ironic-inspector-client-3.3.0/ironic_inspector_client/__init__.py
2018-07-26 10:45:22.000000000 +0200
@@ -13,3 +13,7 @@
from .v1 import ClientV1, DEFAULT_API_VERSION, MAX_API_VERSION # noqa
from .common.http import ClientError, EndpointNotFound, VersionNotSupported #
noqa
+
+
+__all__ = ['ClientV1', 'DEFAULT_API_VERSION', 'MAX_API_VERSION',
+ 'ClientError', 'EndpointNotFound', 'VersionNotSupported']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-ironic-inspector-client-3.2.0/ironic_inspector_client/test/test_v1.py
new/python-ironic-inspector-client-3.3.0/ironic_inspector_client/test/test_v1.py
---
old/python-ironic-inspector-client-3.2.0/ironic_inspector_client/test/test_v1.py
2018-05-10 01:41:48.000000000 +0200
+++
new/python-ironic-inspector-client-3.3.0/ironic_inspector_client/test/test_v1.py
2018-07-26 10:45:22.000000000 +0200
@@ -84,11 +84,18 @@
def test(self, mock_req):
self.get_client().introspect(self.uuid)
mock_req.assert_called_once_with(
- 'post', '/introspection/%s' % self.uuid)
+ 'post', '/introspection/%s' % self.uuid,
+ params={})
def test_invalid_input(self, mock_req):
self.assertRaises(TypeError, self.get_client().introspect, 42)
+ def test_manage_boot(self, mock_req):
+ self.get_client().introspect(self.uuid, manage_boot=False)
+ mock_req.assert_called_once_with(
+ 'post', '/introspection/%s' % self.uuid,
+ params={'manage_boot': '0'})
+
@mock.patch.object(http.BaseClient, 'request')
class TestReprocess(BaseTest):
@@ -427,8 +434,7 @@
self.uuid, "em1", fields)
self.assertEqual(expected_values, iface_dict)
- # Test interface name not in 'all_interfaces'
- expected_values = collections.OrderedDict()
- iface_dict = self.get_client().get_interface_data(
- self.uuid, "em55", fields)
- self.assertEqual(expected_values, iface_dict)
+ def test_invalid_interface(self, mock_req):
+ mock_req.return_value.json.return_value = self.inspector_db
+ self.assertRaises(ValueError, self.get_client().get_interface_data,
+ self.uuid, "em55", ["node_ident", "interface"])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-ironic-inspector-client-3.2.0/ironic_inspector_client/v1.py
new/python-ironic-inspector-client-3.3.0/ironic_inspector_client/v1.py
--- old/python-ironic-inspector-client-3.2.0/ironic_inspector_client/v1.py
2018-05-10 01:41:48.000000000 +0200
+++ new/python-ironic-inspector-client-3.3.0/ironic_inspector_client/v1.py
2018-07-26 10:45:22.000000000 +0200
@@ -26,7 +26,7 @@
DEFAULT_API_VERSION = (1, 0)
"""Server API version used by default."""
-MAX_API_VERSION = (1, 8)
+MAX_API_VERSION = (1, 13)
"""Maximum API version this client was designed to work with.
This does not mean that other versions won't work at all - the server might
@@ -88,20 +88,28 @@
super(ClientV1, self).__init__(**kwargs)
self.rules = RulesAPI(self.request)
- def introspect(self, uuid):
+ def introspect(self, uuid, manage_boot=None):
"""Start introspection for a node.
:param uuid: node UUID or name
- :raises: :py:class:`.ClientError` on error reported from a server
- :raises: :py:class:`.VersionNotSupported` if requested api_version
- is not supported
+ :param manage_boot: whether to manage boot during introspection of
+ this node. If it is None (the default), then this argument is not
+ passed to API and the server default is used instead.
+ :raises: :py:class:`ironic_inspector_client.ClientError` on error
+ reported from a server
+ :raises: :py:class:`ironic_inspector_client.VersionNotSupported` if
+ requested api_version is not supported
:raises: *requests* library exception on connection problems.
"""
if not isinstance(uuid, six.string_types):
raise TypeError(
_("Expected string for uuid argument, got %r") % uuid)
- self.request('post', '/introspection/%s' % uuid)
+ params = {}
+ if manage_boot is not None:
+ params['manage_boot'] = str(int(manage_boot))
+
+ self.request('post', '/introspection/%s' % uuid, params=params)
def reprocess(self, uuid):
"""Reprocess stored introspection data.
@@ -110,9 +118,10 @@
this request will return error response with 404 code.
:param uuid: node UUID or name.
- :raises: :py:class:`.ClientError` on error reported from a server
- :raises: :py:class:`.VersionNotSupported` if requested api_version
- is not supported
+ :raises: :py:class:`ironic_inspector_client.ClientError` on error
+ reported from a server
+ :raises: :py:class:`ironic_inspector_client.VersionNotSupported` if
+ requested api_version is not supported
:raises: *requests* library exception on connection problems.
:raises: TypeError if uuid is not a string.
"""
@@ -133,9 +142,10 @@
:param marker: pagination maker, UUID or None
:param limit: pagination limit, int or None
- :raises: :py:class:`.ClientError` on error reported from a server
- :raises: :py:class:`.VersionNotSupported` if requested api_version
- is not supported
+ :raises: :py:class:`ironic_inspector_client.ClientError` on error
+ reported from a server
+ :raises: :py:class:`ironic_inspector_client.VersionNotSupported` if
+ requested api_version is not supported
:raises: *requests* library exception on connection problems.
:return: a list of status dictionaries with the keys:
@@ -164,9 +174,10 @@
"""Get introspection status for a node.
:param uuid: node UUID or name.
- :raises: :py:class:`.ClientError` on error reported from a server
- :raises: :py:class:`.VersionNotSupported` if requested api_version
- is not supported
+ :raises: :py:class:`ironic_inspector_client.ClientError` on error
+ reported from a server
+ :raises: :py:class:`ironic_inspector_client.VersionNotSupported`
+ if requested api_version is not supported
:raises: *requests* library exception on connection problems.
:return: dictionary with the keys:
@@ -192,10 +203,12 @@
:param retry_interval: sleep interval between retries.
:param max_retries: maximum number of retries.
:param sleep_function: function used for sleeping between retries.
- :raises: :py:class:`.WaitTimeoutError` on timeout
- :raises: :py:class:`.ClientError` on error reported from a server
- :raises: :py:class:`.VersionNotSupported` if requested api_version
- is not supported
+ :raises: :py:class:`ironic_inspector_client.WaitTimeoutError` on
+ timeout
+ :raises: :py:class:`ironic_inspector_client.ClientError` on error
+ reported from a server
+ :raises: :py:class:`ironic_inspector_client.VersionNotSupported` if
+ requested api_version is not supported
:raises: *requests* library exception on connection problems.
:return: dictionary UUID -> status (the same as in get_status).
"""
@@ -236,9 +249,10 @@
:param uuid: node UUID or name.
:param raw: whether to return raw binary data or parsed JSON data
:returns: bytes or a dict depending on the 'raw' argument
- :raises: :py:class:`.ClientError` on error reported from a server
- :raises: :py:class:`.VersionNotSupported` if requested api_version
- is not supported
+ :raises: :py:class:`ironic_inspector_client.ClientError` on error
+ reported from a server
+ :raises: :py:class:`ironic_inspector_client.VersionNotSupported` if
+ requested api_version is not supported
:raises: *requests* library exception on connection problems.
:raises: TypeError if uuid is not a string
"""
@@ -256,9 +270,10 @@
"""Abort running introspection for a node.
:param uuid: node UUID or name.
- :raises: :py:class:`.ClientError` on error reported from a server
- :raises: :py:class:`.VersionNotSupported` if requested api_version
- is not supported
+ :raises: :py:class:`ironic_inspector_client.ClientError` on error
+ reported from a server
+ :raises: :py:class:`ironic_inspector_client.VersionNotSupported` if
+ requested api_version is not supported
:raises: *requests* library exception on connection problems.
:raises: TypeError if uuid is not a string.
"""
@@ -279,6 +294,7 @@
:param interface: interface name
:param field_sel: list of all fields for which to get data
:returns: interface data in OrderedDict
+ :raises: ValueError if interface is not found.
"""
# Use OrderedDict to maintain order of user-entered fields
iface_data = collections.OrderedDict()
@@ -288,7 +304,9 @@
# Make sure interface name is valid
if interface not in all_interfaces:
- return iface_data
+ raise ValueError(
+ _("Interface %s was not found on this node")
+ % interface)
# If lldp data not available this will still return interface,
# mac, node_ident etc.
@@ -365,9 +383,10 @@
:param uuid: rule UUID, will be generated if not specified
:param description: optional rule description
:returns: rule representation
- :raises: :py:class:`.ClientError` on error reported from a server
- :raises: :py:class:`.VersionNotSupported` if requested api_version
- is not supported
+ :raises: :py:class:`ironic_inspector_client.ClientError` on error
+ reported from a server
+ :raises: :py:class:`ironic_inspector_client.VersionNotSupported` if
+ requested api_version is not supported
"""
if uuid is not None and not isinstance(uuid, six.string_types):
raise TypeError(
@@ -389,9 +408,10 @@
:param json_rule: rule information as a dict with keys matching
arguments of :py:meth:`RulesAPI.create`.
:returns: rule representation
- :raises: :py:class:`.ClientError` on error reported from a server
- :raises: :py:class:`.VersionNotSupported` if requested api_version
- is not supported
+ :raises: :py:class:`ironic_inspector_client.ClientError` on error
+ reported from a server
+ :raises: :py:class:`ironic_inspector_client.VersionNotSupported` if
+ requested api_version is not supported
"""
return self._request('post', '/rules', json=json_rule).json()
@@ -400,9 +420,10 @@
:returns: list of short rule representations (uuid, description
and links)
- :raises: :py:class:`.ClientError` on error reported from a server
- :raises: :py:class:`.VersionNotSupported` if requested api_version
- is not supported
+ :raises: :py:class:`ironic_inspector_client.ClientError` on error
+ reported from a server
+ :raises: :py:class:`ironic_inspector_client.VersionNotSupported` if
+ requested api_version is not supported
"""
return self._request('get', '/rules').json()['rules']
@@ -411,9 +432,10 @@
:param uuid: rule UUID
:returns: rule representation
- :raises: :py:class:`.ClientError` on error reported from a server
- :raises: :py:class:`.VersionNotSupported` if requested api_version
- is not supported
+ :raises: :py:class:`ironic_inspector_client.ClientError` on error
+ reported from a server
+ :raises: :py:class:`ironic_inspector_client.VersionNotSupported` if
+ requested api_version is not supported
"""
if not isinstance(uuid, six.string_types):
raise TypeError(
@@ -424,9 +446,10 @@
"""Delete an introspection rule.
:param uuid: rule UUID
- :raises: :py:class:`.ClientError` on error reported from a server
- :raises: :py:class:`.VersionNotSupported` if requested api_version
- is not supported
+ :raises: :py:class:`ironic_inspector_client.ClientError` on error
+ reported from a server
+ :raises: :py:class:`ironic_inspector_client.VersionNotSupported` if
+ requested api_version is not supported
"""
if not isinstance(uuid, six.string_types):
raise TypeError(
@@ -436,8 +459,9 @@
def delete_all(self):
"""Delete all introspection rules.
- :raises: :py:class:`.ClientError` on error reported from a server
- :raises: :py:class:`.VersionNotSupported` if requested api_version
- is not supported
+ :raises: :py:class:`ironic_inspector_client.ClientError` on error
+ reported from a server
+ :raises: :py:class:`ironic_inspector_client.VersionNotSupported` if
+ requested api_version is not supported
"""
self._request('delete', '/rules')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-ironic-inspector-client-3.2.0/lower-constraints.txt
new/python-ironic-inspector-client-3.3.0/lower-constraints.txt
--- old/python-ironic-inspector-client-3.2.0/lower-constraints.txt
1970-01-01 01:00:00.000000000 +0100
+++ new/python-ironic-inspector-client-3.3.0/lower-constraints.txt
2018-07-26 10:45:22.000000000 +0200
@@ -0,0 +1,85 @@
+alabaster==0.7.10
+appdirs==1.3.0
+asn1crypto==0.23.0
+Babel==2.3.4
+cffi==1.7.0
+chardet==3.0.4
+cliff==2.8.0
+cmd2==0.8.0
+coverage==4.0
+cryptography==2.1
+debtcollector==1.2.0
+decorator==3.4.0
+deprecation==1.0
+doc8==0.6.0
+docutils==0.11
+dogpile.cache==0.6.2
+dulwich==0.15.0
+extras==1.0.0
+fasteners==0.7.0
+fixtures==3.0.0
+flake8==2.5.5
+hacking==1.0.0
+idna==2.6
+imagesize==0.7.1
+iso8601==0.1.11
+Jinja2==2.10
+jmespath==0.9.0
+jsonpatch==1.16
+jsonpointer==1.13
+jsonschema==2.6.0
+keystoneauth1==3.4.0
+linecache2==1.0.0
+MarkupSafe==1.0
+mccabe==0.2.1
+mock==2.0.0
+monotonic==0.6
+msgpack-python==0.4.0
+munch==2.1.0
+netaddr==0.7.18
+netifaces==0.10.4
+openstackdocstheme==1.18.1
+openstacksdk==0.11.2
+os-client-config==1.28.0
+os-service-types==1.2.0
+osc-lib==1.8.0
+oslo.concurrency==3.25.0
+oslo.config==5.2.0
+oslo.i18n==3.15.3
+oslo.serialization==2.18.0
+oslo.utils==3.33.0
+pbr==2.0.0
+pep8==1.5.7
+positional==1.2.1
+prettytable==0.7.2
+pycparser==2.18
+pyflakes==0.8.1
+Pygments==2.2.0
+pyOpenSSL==17.1.0
+pyparsing==2.1.0
+pyperclip==1.5.27
+python-cinderclient==3.3.0
+python-glanceclient==2.8.0
+python-keystoneclient==3.8.0
+python-mimeparse==1.6.0
+python-novaclient==9.1.0
+python-openstackclient==3.12.0
+pytz==2013.6
+PyYAML==3.12
+reno==2.5.0
+requests==2.14.2
+requests-mock==1.2.0
+requestsexceptions==1.2.0
+restructuredtext-lint==1.1.1
+rfc3986==0.3.1
+simplejson==3.5.1
+six==1.10.0
+snowballstemmer==1.2.1
+Sphinx==1.6.2
+sphinxcontrib-websupport==1.0.1
+stevedore==1.20.0
+testtools==2.2.0
+traceback2==1.4.0
+unittest2==1.1.0
+warlock==1.2.0
+wrapt==1.7.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-ironic-inspector-client-3.2.0/python_ironic_inspector_client.egg-info/PKG-INFO
new/python-ironic-inspector-client-3.3.0/python_ironic_inspector_client.egg-info/PKG-INFO
---
old/python-ironic-inspector-client-3.2.0/python_ironic_inspector_client.egg-info/PKG-INFO
2018-05-10 01:45:31.000000000 +0200
+++
new/python-ironic-inspector-client-3.3.0/python_ironic_inspector_client.egg-info/PKG-INFO
2018-07-26 10:48:57.000000000 +0200
@@ -1,8 +1,10 @@
Metadata-Version: 2.1
Name: python-ironic-inspector-client
-Version: 3.2.0
+Version: 3.3.0
Summary: Python client for Ironic Inspector
-Home-page: https://launchpad.net/python-ironic-inspector-client
+Home-page: https://docs.openstack.org/python-ironic-inspector-client/latest/
+Author: OpenStack
+Author-email: [email protected]
License: Apache-2
Description: Ironic Inspector Client
=======================
@@ -16,7 +18,8 @@
* Source:
https://git.openstack.org/cgit/openstack/python-ironic-inspector-client
* Documentation:
https://docs.openstack.org/python-ironic-inspector-client/latest/
* Bugs: https://storyboard.openstack.org/#!/project/958
- * Downloads:
https://pypi.python.org/pypi/python-ironic-inspector-client
+ * Downloads: https://pypi.org/project/python-ironic-inspector-client
+ * Release Notes:
https://docs.openstack.org/releasenotes/python-ironic-inspector-client/
Please follow usual OpenStack `Gerrit Workflow`_ to submit a patch, see
`Inspector contributing guide`_ for more detail.
@@ -26,7 +29,7 @@
.. _Gerrit Workflow:
https://docs.openstack.org/infra/manual/developers.html#development-workflow
- .. _Ironic Inspector: https://pypi.python.org/pypi/ironic-inspector
+ .. _Ironic Inspector:
https://docs.openstack.org/ironic-inspector/latest/
.. _Inspector contributing guide:
https://docs.openstack.org/ironic-inspector/latest/contributor/index.html
.. _HTTP API reference:
https://docs.openstack.org/ironic-inspector/latest/user/http-api.html
@@ -43,5 +46,5 @@
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
-Provides-Extra: test
Provides-Extra: cli
+Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-ironic-inspector-client-3.2.0/python_ironic_inspector_client.egg-info/SOURCES.txt
new/python-ironic-inspector-client-3.3.0/python_ironic_inspector_client.egg-info/SOURCES.txt
---
old/python-ironic-inspector-client-3.2.0/python_ironic_inspector_client.egg-info/SOURCES.txt
2018-05-10 01:45:32.000000000 +0200
+++
new/python-ironic-inspector-client-3.3.0/python_ironic_inspector_client.egg-info/SOURCES.txt
2018-07-26 10:48:58.000000000 +0200
@@ -3,11 +3,13 @@
LICENSE
README.rst
functest-requirements.txt
+lower-constraints.txt
requirements.txt
setup.cfg
setup.py
test-requirements.txt
tox.ini
+doc/requirements.txt
doc/source/conf.py
doc/source/index.rst
doc/source/cli/index.rst
@@ -42,6 +44,7 @@
releasenotes/notes/api-1.2-33f0e1956b924447.yaml
releasenotes/notes/api-1.5-d5c64e5265fe56d3.yaml
releasenotes/notes/api-1.6-a020f6ee5756a7ab.yaml
+releasenotes/notes/change-error-msg-invalid-interface-4b6b70b92c27d6f6.yaml
releasenotes/notes/client-get-data-7002c1e22f14cefd.yaml
releasenotes/notes/data-save-9d9d4b3ac7c9851f.yaml
releasenotes/notes/deprecate-setting-ipmi-creds-1581ddc63b273811.yaml
@@ -52,6 +55,7 @@
releasenotes/notes/introspection-wait-a7e8fe832c3aaff9.yaml
releasenotes/notes/ks-session-ac614a9abda3e228.yaml
releasenotes/notes/list-introspection-statuses-4ad9e7e56823e754.yaml
+releasenotes/notes/manage-boot-3d77762952b354a1.yaml
releasenotes/notes/no-auth-token-c486915a6168d4a3.yaml
releasenotes/notes/no-default-uri-861f675ccb75e05d.yaml
releasenotes/notes/old-functions-80ddae9eaa1e7e1d.yaml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-ironic-inspector-client-3.2.0/python_ironic_inspector_client.egg-info/pbr.json
new/python-ironic-inspector-client-3.3.0/python_ironic_inspector_client.egg-info/pbr.json
---
old/python-ironic-inspector-client-3.2.0/python_ironic_inspector_client.egg-info/pbr.json
2018-05-10 01:45:31.000000000 +0200
+++
new/python-ironic-inspector-client-3.3.0/python_ironic_inspector_client.egg-info/pbr.json
2018-07-26 10:48:57.000000000 +0200
@@ -1 +1 @@
-{"git_version": "6048afc", "is_release": true}
\ No newline at end of file
+{"git_version": "53bf4e8", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-ironic-inspector-client-3.2.0/python_ironic_inspector_client.egg-info/requires.txt
new/python-ironic-inspector-client-3.3.0/python_ironic_inspector_client.egg-info/requires.txt
---
old/python-ironic-inspector-client-3.2.0/python_ironic_inspector_client.egg-info/requires.txt
2018-05-10 01:45:31.000000000 +0200
+++
new/python-ironic-inspector-client-3.3.0/python_ironic_inspector_client.egg-info/requires.txt
2018-07-26 10:48:57.000000000 +0200
@@ -16,8 +16,5 @@
hacking<1.1.0,>=1.0.0
mock>=2.0.0
requests-mock>=1.2.0
-sphinx!=1.6.6,!=1.6.7,>=1.6.2
-openstackdocstheme>=1.18.1
-reno>=2.5.0
oslo.concurrency>=3.25.0
python-openstackclient>=3.12.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-ironic-inspector-client-3.2.0/releasenotes/notes/change-error-msg-invalid-interface-4b6b70b92c27d6f6.yaml
new/python-ironic-inspector-client-3.3.0/releasenotes/notes/change-error-msg-invalid-interface-4b6b70b92c27d6f6.yaml
---
old/python-ironic-inspector-client-3.2.0/releasenotes/notes/change-error-msg-invalid-interface-4b6b70b92c27d6f6.yaml
1970-01-01 01:00:00.000000000 +0100
+++
new/python-ironic-inspector-client-3.3.0/releasenotes/notes/change-error-msg-invalid-interface-4b6b70b92c27d6f6.yaml
2018-07-26 10:45:22.000000000 +0200
@@ -0,0 +1,6 @@
+---
+fixes:
+ - The error message returned when running the
+ `openstack baremetal introspection interface show`
+ command with an interface not associated with the node has been fixed.
+ It now indicates that the interface was invalid.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-ironic-inspector-client-3.2.0/releasenotes/notes/manage-boot-3d77762952b354a1.yaml
new/python-ironic-inspector-client-3.3.0/releasenotes/notes/manage-boot-3d77762952b354a1.yaml
---
old/python-ironic-inspector-client-3.2.0/releasenotes/notes/manage-boot-3d77762952b354a1.yaml
1970-01-01 01:00:00.000000000 +0100
+++
new/python-ironic-inspector-client-3.3.0/releasenotes/notes/manage-boot-3d77762952b354a1.yaml
2018-07-26 10:45:22.000000000 +0200
@@ -0,0 +1,4 @@
+---
+features:
+ - Adds Python library support for passing ``manage_boot``
+ to the introspection API.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-ironic-inspector-client-3.2.0/setup.cfg
new/python-ironic-inspector-client-3.3.0/setup.cfg
--- old/python-ironic-inspector-client-3.2.0/setup.cfg 2018-05-10
01:45:33.000000000 +0200
+++ new/python-ironic-inspector-client-3.3.0/setup.cfg 2018-07-26
10:48:58.000000000 +0200
@@ -2,7 +2,9 @@
name = python-ironic-inspector-client
summary = Python client for Ironic Inspector
description-file = README.rst
-home-page = https://launchpad.net/python-ironic-inspector-client
+author = OpenStack
+author-email = [email protected]
+home-page = https://docs.openstack.org/python-ironic-inspector-client/latest/
license = Apache-2
classifier =
Environment :: Console
@@ -39,21 +41,6 @@
baremetal_introspection_interface_list =
ironic_inspector_client.shell:InterfaceListCommand
baremetal_introspection_interface_show =
ironic_inspector_client.shell:InterfaceShowCommand
-[pbr]
-autodoc_index_modules = True
-autodoc_exclude_modules =
- ironic_inspector_client.test.*
- ironic_inspector_client.common.i18n
- ironic_inspector_client.shell
-warnerrors = True
-api_doc_dir = reference/api
-
-[build_sphinx]
-all_files = 1
-build-dir = doc/build
-source-dir = doc/source
-warning-is-error = 1
-
[extras]
cli =
python-openstackclient>=3.12.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-ironic-inspector-client-3.2.0/test-requirements.txt
new/python-ironic-inspector-client-3.3.0/test-requirements.txt
--- old/python-ironic-inspector-client-3.2.0/test-requirements.txt
2018-05-10 01:42:11.000000000 +0200
+++ new/python-ironic-inspector-client-3.3.0/test-requirements.txt
2018-07-26 10:45:22.000000000 +0200
@@ -7,8 +7,5 @@
hacking>=1.0.0,<1.1.0 # Apache-2.0
mock>=2.0.0 # BSD
requests-mock>=1.2.0 # Apache-2.0
-sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
-openstackdocstheme>=1.18.1 # Apache-2.0
-reno>=2.5.0 # Apache-2.0
oslo.concurrency>=3.25.0 # Apache-2.0
python-openstackclient>=3.12.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-ironic-inspector-client-3.2.0/tox.ini
new/python-ironic-inspector-client-3.3.0/tox.ini
--- old/python-ironic-inspector-client-3.2.0/tox.ini 2018-05-10
01:41:48.000000000 +0200
+++ new/python-ironic-inspector-client-3.3.0/tox.ini 2018-07-26
10:45:22.000000000 +0200
@@ -34,19 +34,38 @@
commands = {[testenv:functional]commands}
[testenv:venv]
+basepython = python3
+deps =
+
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
+ -r{toxinidir}/requirements.txt
+ -r{toxinidir}/doc/requirements.txt
commands = {posargs}
[testenv:releasenotes]
+basepython = python3
+deps =
+
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
+ -r{toxinidir}/requirements.txt
+ -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html
releasenotes/source releasenotes/build/html
[testenv:docs]
-setenv = PYTHONHASHSEED=0
-sitepackages = False
-commands =
- python setup.py build_sphinx
+basepython = python3
+deps =
+
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
+ -r{toxinidir}/requirements.txt
+ -r{toxinidir}/doc/requirements.txt
+commands = sphinx-build -W -b html doc/source doc/build/html
[flake8]
max-complexity=15
[hacking]
import_exceptions = ironic_inspector_client.common.i18n
+
+[testenv:lower-constraints]
+basepython = python3
+deps =
+ -c{toxinidir}/lower-constraints.txt
+ -r{toxinidir}/test-requirements.txt
+ -r{toxinidir}/requirements.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-ironic-inspector-client-3.2.0/zuul.d/project.yaml
new/python-ironic-inspector-client-3.3.0/zuul.d/project.yaml
--- old/python-ironic-inspector-client-3.2.0/zuul.d/project.yaml
2018-05-10 01:41:48.000000000 +0200
+++ new/python-ironic-inspector-client-3.3.0/zuul.d/project.yaml
2018-07-26 10:45:22.000000000 +0200
@@ -3,7 +3,9 @@
jobs:
- openstack-tox-functional
- python-ironic-inspector-client-tempest-dsvm
+ - openstack-tox-lower-constraints
gate:
jobs:
- openstack-tox-functional
- python-ironic-inspector-client-tempest-dsvm
+ - openstack-tox-lower-constraints