Hello community,
here is the log from the commit of package python-masakariclient for
openSUSE:Factory checked in at 2020-06-05 20:11:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-masakariclient (Old)
and /work/SRC/openSUSE:Factory/.python-masakariclient.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-masakariclient"
Fri Jun 5 20:11:19 2020 rev:8 rq:803571 version:6.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-masakariclient/python-masakariclient.changes
2020-03-24 22:31:58.433078187 +0100
+++
/work/SRC/openSUSE:Factory/.python-masakariclient.new.3606/python-masakariclient.changes
2020-06-05 20:14:25.482585348 +0200
@@ -1,0 +2,10 @@
+Tue May 12 09:59:06 UTC 2020 - [email protected]
+
+- update to version 6.0.0
+ - Update master for stable/train
+ - Cleanup py27 support
+ - [ussuri][goal] Drop python 2.7 support and testing
+ - Update operator guide documentation
+ - Update hacking for Python3
+
+-------------------------------------------------------------------
Old:
----
python-masakariclient-5.5.0.tar.gz
New:
----
python-masakariclient-6.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-masakariclient.spec ++++++
--- /var/tmp/diff_new_pack.I1g4Iy/_old 2020-06-05 20:14:26.678589749 +0200
+++ /var/tmp/diff_new_pack.I1g4Iy/_new 2020-06-05 20:14:26.678589749 +0200
@@ -18,13 +18,13 @@
%global oldpython python
Name: python-masakariclient
-Version: 5.5.0
+Version: 6.0.0
Release: 0
Summary: Python API and CLI for OpenStack Masakari
License: Apache-2.0
Group: Development/Languages/Python
URL: https://launchpad.net/%{name}
-Source0:
https://files.pythonhosted.org/packages/source/p/python-masakariclient/python-masakariclient-5.5.0.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/p/python-masakariclient/python-masakariclient-6.0.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python3-PrettyTable
BuildRequires: python3-ddt
@@ -83,8 +83,8 @@
%{py3_build}
# Build HTML docs and man page
-PBR_VERSION=5.5.0 %sphinx_build -b html doc/source doc/build/html
-PBR_VERSION=5.5.0 %sphinx_build -b man doc/source doc/build/man
+PBR_VERSION=6.0.0 %sphinx_build -b html doc/source doc/build/html
+PBR_VERSION=6.0.0 %sphinx_build -b man doc/source doc/build/man
rm -r doc/build/html/.{doctrees,buildinfo}
%install
++++++ _service ++++++
--- /var/tmp/diff_new_pack.I1g4Iy/_old 2020-06-05 20:14:26.706589852 +0200
+++ /var/tmp/diff_new_pack.I1g4Iy/_new 2020-06-05 20:14:26.706589852 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/train/openstack/python-masakariclient/python-masakariclient.spec.j2</param>
+ <param
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/ussuri/openstack/python-masakariclient/python-masakariclient.spec.j2</param>
<param name="output-name">python-masakariclient.spec</param>
- <param
name="requirements">https://raw.githubusercontent.com/openstack/python-masakariclient/stable/train/requirements.txt</param>
+ <param
name="requirements">https://opendev.org/openstack/python-masakariclient/raw/branch/stable/ussuri/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param name="changelog-provider">gh,openstack,python-masakariclient</param>
</service>
++++++ python-masakariclient-5.5.0.tar.gz -> python-masakariclient-6.0.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-masakariclient-5.5.0/.zuul.yaml
new/python-masakariclient-6.0.0/.zuul.yaml
--- old/python-masakariclient-5.5.0/.zuul.yaml 2019-09-12 11:33:03.000000000
+0200
+++ new/python-masakariclient-6.0.0/.zuul.yaml 2020-04-10 14:28:42.000000000
+0200
@@ -2,7 +2,6 @@
templates:
- check-requirements
- openstack-lower-constraints-jobs
- - openstack-python-jobs
- - openstack-python3-train-jobs
+ - openstack-python3-ussuri-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-masakariclient-5.5.0/AUTHORS
new/python-masakariclient-6.0.0/AUTHORS
--- old/python-masakariclient-5.5.0/AUTHORS 2019-09-12 11:33:50.000000000
+0200
+++ new/python-masakariclient-6.0.0/AUTHORS 2020-04-10 14:29:34.000000000
+0200
@@ -2,6 +2,7 @@
Corey Bryant <[email protected]>
Dinesh Bhor <[email protected]>
Doug Hellmann <[email protected]>
+Ghanshyam Mann <[email protected]>
Keiji Niwa <[email protected]>
Kengo Takahara <[email protected]>
Kengo Takahara <[email protected]>
@@ -9,6 +10,7 @@
Nguyen Hai <[email protected]>
OpenStack Release Bot <[email protected]>
Rikimaru Honjo <[email protected]>
+Shilpa Devharakar <[email protected]>
Takahiro Izumi <[email protected]>
ZhijunWei <[email protected]>
akhiljain23 <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-masakariclient-5.5.0/ChangeLog
new/python-masakariclient-6.0.0/ChangeLog
--- old/python-masakariclient-5.5.0/ChangeLog 2019-09-12 11:33:50.000000000
+0200
+++ new/python-masakariclient-6.0.0/ChangeLog 2020-04-10 14:29:34.000000000
+0200
@@ -1,6 +1,19 @@
CHANGES
=======
+6.0.0
+-----
+
+* Cleanup py27 support
+* Update hacking for Python3
+* [ussuri][goal] Drop python 2.7 support and testing
+
+5.6.0
+-----
+
+* Update master for stable/train
+* Update operator guide documentation
+
5.5.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-masakariclient-5.5.0/PKG-INFO
new/python-masakariclient-6.0.0/PKG-INFO
--- old/python-masakariclient-5.5.0/PKG-INFO 2019-09-12 11:33:50.000000000
+0200
+++ new/python-masakariclient-6.0.0/PKG-INFO 2020-04-10 14:29:34.000000000
+0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: python-masakariclient
-Version: 5.5.0
+Version: 6.0.0
Summary: masakariclient module and a CLI tool for masakari
Home-page: http://www.openstack.org/
Author: OpenStack
@@ -34,8 +34,9 @@
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: Implementation :: CPython
+Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
+Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-masakariclient-5.5.0/doc/source/cli/commands.rst
new/python-masakariclient-6.0.0/doc/source/cli/commands.rst
--- old/python-masakariclient-5.5.0/doc/source/cli/commands.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/python-masakariclient-6.0.0/doc/source/cli/commands.rst 2020-04-10
14:28:42.000000000 +0200
@@ -0,0 +1,25 @@
+=============
+Command List
+=============
+
+The following list covers the extended commands for Masakari service
+available in **openstack** command.
+
+These commands can be referenced by doing **openstack help** and the detail
+of individual command can be referred by **openstack help <command-name>**.
+
+.. code-block:: console
+
+ openstack segment create Create failover segment.
+ openstack segment update Update failover segment.
+ openstack segment list List all failover segments.
+ openstack segment show Show requested failover
segment.
+ openstack segment delete Delete failover segment.
+ openstack segment host create Create host for given
failover segment.
+ openstack segment host update Update Create host for
given failover segment.
+ openstack segment host list List all hosts associated
to failover segment.
+ openstack segment host show Show Create host for given
failover segment.
+ openstack segment host delete Delete Create host for
given failover segment.
+ openstack notification create Create notification of host.
+ openstack notification list List notifications of host.
+ openstack notification show List notification of host.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-masakariclient-5.5.0/doc/source/cli/index.rst
new/python-masakariclient-6.0.0/doc/source/cli/index.rst
--- old/python-masakariclient-5.5.0/doc/source/cli/index.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/python-masakariclient-6.0.0/doc/source/cli/index.rst 2020-04-10
14:28:42.000000000 +0200
@@ -0,0 +1,9 @@
+============
+CLI Usage
+============
+
+.. toctree::
+ :glob:
+ :maxdepth: 3
+
+ *
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-masakariclient-5.5.0/doc/source/cli/masakari_commands.rst
new/python-masakariclient-6.0.0/doc/source/cli/masakari_commands.rst
--- old/python-masakariclient-5.5.0/doc/source/cli/masakari_commands.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/python-masakariclient-6.0.0/doc/source/cli/masakari_commands.rst
2020-04-10 14:28:42.000000000 +0200
@@ -0,0 +1,8 @@
+=================
+Masakari commands
+=================
+
+Masakari commands are CLI interface.
+
+.. autoprogram-cliff:: openstack.ha.v1
+ :command: *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-masakariclient-5.5.0/doc/source/conf.py
new/python-masakariclient-6.0.0/doc/source/conf.py
--- old/python-masakariclient-5.5.0/doc/source/conf.py 2019-09-12
11:33:03.000000000 +0200
+++ new/python-masakariclient-6.0.0/doc/source/conf.py 2020-04-10
14:28:42.000000000 +0200
@@ -22,7 +22,8 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
'openstackdocstheme',
- 'sphinx.ext.autodoc'
+ 'sphinx.ext.autodoc',
+ 'cliff.sphinxext',
#'sphinx.ext.intersphinx',
]
@@ -80,3 +81,5 @@
bug_project = 'python-masakariclient'
bug_tag = ''
+# -- Options for cliff.sphinxext plugin ---------------------------------------
+autoprogram_cliff_application = 'openstack'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-masakariclient-5.5.0/doc/source/contributing.rst
new/python-masakariclient-6.0.0/doc/source/contributing.rst
--- old/python-masakariclient-5.5.0/doc/source/contributing.rst 2019-09-12
11:33:03.000000000 +0200
+++ new/python-masakariclient-6.0.0/doc/source/contributing.rst 1970-01-01
01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-============
-Contributing
-============
-.. include:: ../../CONTRIBUTING.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-masakariclient-5.5.0/doc/source/contributor/contributing.rst
new/python-masakariclient-6.0.0/doc/source/contributor/contributing.rst
--- old/python-masakariclient-5.5.0/doc/source/contributor/contributing.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/python-masakariclient-6.0.0/doc/source/contributor/contributing.rst
2020-04-10 14:28:42.000000000 +0200
@@ -0,0 +1,5 @@
+============
+Contributing
+============
+
+.. include:: ../../../CONTRIBUTING.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-masakariclient-5.5.0/doc/source/contributor/developing.rst
new/python-masakariclient-6.0.0/doc/source/contributor/developing.rst
--- old/python-masakariclient-5.5.0/doc/source/contributor/developing.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/python-masakariclient-6.0.0/doc/source/contributor/developing.rst
2020-04-10 14:28:42.000000000 +0200
@@ -0,0 +1,174 @@
+=====================================
+Developing with Python-masakariClient
+=====================================
+
+Project Info
+============
+
+* **Free software:** under the `Apache license
<http://www.apache.org/licenses/LICENSE-2.0>`_
+* **masakari Service:** https://opendev.org/openstack/masakari
+* **Masakari Client Library:**
https://opendev.org/openstack/python-masakariclient
+* **masakari Service Bugs:** https://bugs.launchpad.net/masakari
+* **Client Bugs:** https://bugs.launchpad.net/python-masakariclient
+* **Blueprints:** https://blueprints.launchpad.net/masakari
+
+Meetings
+========
+For details please refer to the `OpenStack IRC meetings`_ page.
+
+.. _`OpenStack IRC meetings`:
http://eavesdrop.openstack.org/#Masakari_Team_Meeting
+
+Testing
+=======
+
+Install the prerequisites for Tox:
+
+* On Ubuntu or Debian:
+
+ .. code-block:: bash
+
+ $ apt-get install gcc gettext python-dev libxml2-dev libxslt1-dev \
+ zlib1g-dev
+
+ You may need to use pip install for some packages.
+
+
+* On RHEL or CentOS including Fedora:
+
+ .. code-block:: bash
+
+ $ yum install gcc python-devel libxml2-devel libxslt-devel
+
+* On openSUSE or SUSE linux Enterprise:
+
+ .. code-block:: bash
+
+ $ zypper install gcc python-devel libxml2-devel libxslt-devel
+
+Install python-tox:
+
+.. code-block:: bash
+
+ $ pip install tox
+
+To run the full suite of tests maintained within Masakariclient.
+
+.. code-block:: bash
+
+ $ tox
+
+.. NOTE::
+
+ The first time you run ``tox``, it will take additional time to build
+ virtualenvs. You can later use the ``-r`` option with ``tox`` to rebuild
+ your virtualenv in a similar manner.
+
+
+To run tests for one or more specific test environments(for example, the
+most common configuration of Python 2.7, Python 3.6, Python 3.7 and PEP-8),
+list the environments with the ``-e`` option, separated by spaces:
+
+.. code-block:: bash
+
+ $ tox -e py36,py37,pep8
+
+See ``tox.ini`` for the full list of available test environments.
+
+Building the Documentation
+==========================
+
+The documentation is generated with Sphinx using the ``tox`` command. To
+create HTML docs, run the commands:
+
+.. code-block:: bash
+
+ $ tox -e docs
+
+The resultant HTML will be in the ``doc/build/html`` directory.
+
+Release Notes
+=============
+
+The release notes for a patch should be included in the patch. See the
+`Project Team Guide`_ for more information on using reno in OpenStack.
+
+.. _`Project Team Guide`:
http://docs.openstack.org/project-team-guide/release-management.html#managing-release-notes
+
+If any of the following applies to the patch, a release note is required:
+
+* The deployer needs to take an action when upgrading
+* The plugin interface changes
+* A new feature is implemented
+* A command or option is removed
+* Current behavior is changed
+* A security bug is fixed
+
+Reno is used to generate release notes. Use the commands:
+
+.. code-block:: bash
+
+ $ tox -e venv -- reno new <bug-,bp-,whatever>
+
+Then edit the sample file that was created and push it with your change.
+
+To run the commands and see results:
+
+.. code-block:: bash
+
+ $ git commit # Commit the change because reno scans git log.
+
+ $ tox -e releasenotes
+
+At last, look at the generated release notes
+files in ``releasenotes/build/html`` in your browser.
+
+Testing new code
+================
+
+If a developer wants to test new code (feature, command or option) that
+they have written, Python-masakariclient may be installed from source by
running
+the following commands in the base directory of the project:
+
+.. code-block:: bash
+
+ $ python setup.py install
+
+or
+
+.. code-block:: bash
+
+ $ pip install -e .
+
+Standardize Import Format
+=========================
+
+.. _`Import Order Guide`:
https://docs.openstack.org/hacking/latest/user/hacking.html#imports
+
+The import order shows below:
+
+* {{stdlib imports in human alphabetical order}}
+* \n
+* {{third-party lib imports in human alphabetical order}}
+* \n
+* {{project imports in human alphabetical order}}
+* \n
+* \n
+* {{begin your code}}
+
+Example
+~~~~~~~
+
+.. code-block:: python
+
+ import copy
+ import fixtures
+ import mock
+ import os
+
+ from osc_lib.api import auth
+ from osc_lib import utils
+ import six
+
+ from openstackclient import shell
+ from openstackclient.tests import utils
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-masakariclient-5.5.0/doc/source/contributor/index.rst
new/python-masakariclient-6.0.0/doc/source/contributor/index.rst
--- old/python-masakariclient-5.5.0/doc/source/contributor/index.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/python-masakariclient-6.0.0/doc/source/contributor/index.rst
2020-04-10 14:28:42.000000000 +0200
@@ -0,0 +1,13 @@
+=================
+Contributor Guide
+=================
+
+In the Contributor Guide, you will find information on tackerclient's
+lower level programming details or APIs as well as the transition to
+OpenStack client.
+
+.. toctree::
+ :maxdepth: 2
+
+ contributing.rst
+ developing.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-masakariclient-5.5.0/doc/source/index.rst
new/python-masakariclient-6.0.0/doc/source/index.rst
--- old/python-masakariclient-5.5.0/doc/source/index.rst 2019-09-12
11:33:07.000000000 +0200
+++ new/python-masakariclient-6.0.0/doc/source/index.rst 2020-04-10
14:28:42.000000000 +0200
@@ -3,23 +3,32 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
+=================================================
Welcome to python-masakariclient's documentation!
=================================================
-Contents:
+Masakariclient is a command-line client for Masakari.
+
+Contents
+========
.. toctree::
:maxdepth: 2
- readme
- installation
- usage
- contributing
+ install/index
+ cli/index
+ contributor/index
-Indices and tables
+Release Notes
+=============
+
+.. toctree::
+ :maxdepth: 1
+
+ Release Notes
<https://docs.openstack.org/releasenotes/python-masakariclient/>
+
+Indices and Tables
==================
* :ref:`genindex`
-* :ref:`modindex`
* :ref:`search`
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-masakariclient-5.5.0/doc/source/install/index.rst
new/python-masakariclient-6.0.0/doc/source/install/index.rst
--- old/python-masakariclient-5.5.0/doc/source/install/index.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/python-masakariclient-6.0.0/doc/source/install/index.rst
2020-04-10 14:28:42.000000000 +0200
@@ -0,0 +1,36 @@
+============
+Installation
+============
+
+**Note:** The paths we are using for configuration files in these steps
+are with reference to Ubuntu Operating System. The paths may vary for
+other Operating Systems.
+
+The branch_name which is used in commands, specify the branch_name
+as stable/<branch> for any stable branch installation. For eg:
+stable/queens, stable/pike. If unspecified the default will be
+master branch.
+
+Using python install
+====================
+Clone and install python-masakariclient repository.::
+
+ $ cd ~/
+ $ git clone https://github.com/openstack/python-masakariclient -b
<branch_name>
+ $ cd python-masakariclient
+ $ sudo python setup.py install
+
+
+Using pip
+=========
+
+You can also install the latest version by using ``pip`` command:::
+
+ $ pip install python-masakariclient
+
+
+Or, if it is needed to install ``python-masakariclient`` from master branch,
+type::
+
+ $ pip install git+https://github.com/openstack/python-masakariclient.git
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-masakariclient-5.5.0/doc/source/installation.rst
new/python-masakariclient-6.0.0/doc/source/installation.rst
--- old/python-masakariclient-5.5.0/doc/source/installation.rst 2019-09-12
11:33:03.000000000 +0200
+++ new/python-masakariclient-6.0.0/doc/source/installation.rst 1970-01-01
01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
-============
-Installation
-============
-
-At the command line::
-
- $ pip install python-masakariclient
-
-Or, if you have virtualenvwrapper installed::
-
- $ mkvirtualenv python-masakariclient
- $ pip install python-masakariclient
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-masakariclient-5.5.0/doc/source/readme.rst
new/python-masakariclient-6.0.0/doc/source/readme.rst
--- old/python-masakariclient-5.5.0/doc/source/readme.rst 2019-09-12
11:33:03.000000000 +0200
+++ new/python-masakariclient-6.0.0/doc/source/readme.rst 1970-01-01
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-.. include:: ../../README.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-masakariclient-5.5.0/doc/source/usage.rst
new/python-masakariclient-6.0.0/doc/source/usage.rst
--- old/python-masakariclient-5.5.0/doc/source/usage.rst 2019-09-12
11:33:07.000000000 +0200
+++ new/python-masakariclient-6.0.0/doc/source/usage.rst 1970-01-01
01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-=====
-Usage
-=====
-
-To use python-masakariclient in a project::
-
- import masakariclient
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-masakariclient-5.5.0/lower-constraints.txt
new/python-masakariclient-6.0.0/lower-constraints.txt
--- old/python-masakariclient-5.5.0/lower-constraints.txt 2019-09-12
11:33:03.000000000 +0200
+++ new/python-masakariclient-6.0.0/lower-constraints.txt 2020-04-10
14:28:42.000000000 +0200
@@ -13,9 +13,7 @@
dulwich==0.15.0
extras==1.0.0
fixtures==3.0.0
-flake8==2.5.5
future==0.16.0
-hacking==0.12.0
imagesize==0.7.1
iso8601==0.1.11
Jinja2==2.10
@@ -43,9 +41,7 @@
oslo.utils==3.33.0
oslotest==3.2.0
pbr==2.0.0
-pep8==1.5.7
prettytable==0.7.2
-pyflakes==0.8.1
Pygments==2.2.0
pyparsing==2.1.0
pyperclip==1.5.27
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-masakariclient-5.5.0/masakariclient/shell.py
new/python-masakariclient-6.0.0/masakariclient/shell.py
--- old/python-masakariclient-5.5.0/masakariclient/shell.py 2019-09-12
11:33:03.000000000 +0200
+++ new/python-masakariclient-6.0.0/masakariclient/shell.py 2020-04-10
14:28:42.000000000 +0200
@@ -204,5 +204,6 @@
print(encodeutils.safe_encode(six.text_type(e)), sys.stderr)
return 1
+
if __name__ == "__main__":
sys.exit(main())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-masakariclient-5.5.0/python_masakariclient.egg-info/PKG-INFO
new/python-masakariclient-6.0.0/python_masakariclient.egg-info/PKG-INFO
--- old/python-masakariclient-5.5.0/python_masakariclient.egg-info/PKG-INFO
2019-09-12 11:33:50.000000000 +0200
+++ new/python-masakariclient-6.0.0/python_masakariclient.egg-info/PKG-INFO
2020-04-10 14:29:34.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: python-masakariclient
-Version: 5.5.0
+Version: 6.0.0
Summary: masakariclient module and a CLI tool for masakari
Home-page: http://www.openstack.org/
Author: OpenStack
@@ -34,8 +34,9 @@
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: Implementation :: CPython
+Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
+Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-masakariclient-5.5.0/python_masakariclient.egg-info/SOURCES.txt
new/python-masakariclient-6.0.0/python_masakariclient.egg-info/SOURCES.txt
--- old/python-masakariclient-5.5.0/python_masakariclient.egg-info/SOURCES.txt
2019-09-12 11:33:50.000000000 +0200
+++ new/python-masakariclient-6.0.0/python_masakariclient.egg-info/SOURCES.txt
2020-04-10 14:29:34.000000000 +0200
@@ -16,11 +16,14 @@
test-requirements.txt
tox.ini
doc/source/conf.py
-doc/source/contributing.rst
doc/source/index.rst
-doc/source/installation.rst
-doc/source/readme.rst
-doc/source/usage.rst
+doc/source/cli/commands.rst
+doc/source/cli/index.rst
+doc/source/cli/masakari_commands.rst
+doc/source/contributor/contributing.rst
+doc/source/contributor/developing.rst
+doc/source/contributor/index.rst
+doc/source/install/index.rst
masakariclient/__init__.py
masakariclient/api_versions.py
masakariclient/cliargs.py
@@ -66,10 +69,12 @@
releasenotes/notes/add-version-support-for-progress-details-recovery-workflows-06614c76d44e64ff.yaml
releasenotes/notes/bug-1764931-889d9fe4cfb80b01.yaml
releasenotes/notes/deprecate-cli-9ffee25a5c3d1b3b.yaml
+releasenotes/notes/drop-py-2-7-d3c0f239678a4c83.yaml
releasenotes/source/conf.py
releasenotes/source/index.rst
releasenotes/source/rocky.rst
releasenotes/source/stein.rst
+releasenotes/source/train.rst
releasenotes/source/unreleased.rst
releasenotes/source/_static/.placeholder
releasenotes/source/_templates/.placeholder
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-masakariclient-5.5.0/python_masakariclient.egg-info/pbr.json
new/python-masakariclient-6.0.0/python_masakariclient.egg-info/pbr.json
--- old/python-masakariclient-5.5.0/python_masakariclient.egg-info/pbr.json
2019-09-12 11:33:50.000000000 +0200
+++ new/python-masakariclient-6.0.0/python_masakariclient.egg-info/pbr.json
2020-04-10 14:29:34.000000000 +0200
@@ -1 +1 @@
-{"git_version": "1702880", "is_release": true}
\ No newline at end of file
+{"git_version": "621a392", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-masakariclient-5.5.0/releasenotes/notes/drop-py-2-7-d3c0f239678a4c83.yaml
new/python-masakariclient-6.0.0/releasenotes/notes/drop-py-2-7-d3c0f239678a4c83.yaml
---
old/python-masakariclient-5.5.0/releasenotes/notes/drop-py-2-7-d3c0f239678a4c83.yaml
1970-01-01 01:00:00.000000000 +0100
+++
new/python-masakariclient-6.0.0/releasenotes/notes/drop-py-2-7-d3c0f239678a4c83.yaml
2020-04-10 14:28:42.000000000 +0200
@@ -0,0 +1,6 @@
+---
+upgrade:
+ - |
+ Python 2.7 support has been dropped. Last release of python-masakariclient
+ to support python 2.7 is OpenStack Train. The minimum version of Python now
+ supported is Python 3.6.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-masakariclient-5.5.0/releasenotes/source/index.rst
new/python-masakariclient-6.0.0/releasenotes/source/index.rst
--- old/python-masakariclient-5.5.0/releasenotes/source/index.rst
2019-09-12 11:33:03.000000000 +0200
+++ new/python-masakariclient-6.0.0/releasenotes/source/index.rst
2020-04-10 14:28:42.000000000 +0200
@@ -6,5 +6,6 @@
:maxdepth: 1
unreleased
+ train
stein
rocky
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-masakariclient-5.5.0/releasenotes/source/train.rst
new/python-masakariclient-6.0.0/releasenotes/source/train.rst
--- old/python-masakariclient-5.5.0/releasenotes/source/train.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/python-masakariclient-6.0.0/releasenotes/source/train.rst
2020-04-10 14:28:42.000000000 +0200
@@ -0,0 +1,6 @@
+==========================
+Train Series Release Notes
+==========================
+
+.. release-notes::
+ :branch: stable/train
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-masakariclient-5.5.0/setup.cfg
new/python-masakariclient-6.0.0/setup.cfg
--- old/python-masakariclient-5.5.0/setup.cfg 2019-09-12 11:33:50.000000000
+0200
+++ new/python-masakariclient-6.0.0/setup.cfg 2020-04-10 14:29:34.000000000
+0200
@@ -6,6 +6,7 @@
author = OpenStack
author-email = [email protected]
home-page = http://www.openstack.org/
+python-requires = >=3.6
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
@@ -13,8 +14,8 @@
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.7
+ Programming Language :: Python :: Implementation :: CPython
+ Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
@@ -43,14 +44,6 @@
segment_host_delete = masakariclient.osc.v1.host:DeleteHost
segment_host_update = masakariclient.osc.v1.host:UpdateHost
-[build_sphinx]
-source-dir = doc/source
-build-dir = doc/build
-all_files = 1
-
-[upload_sphinx]
-upload-dir = doc/build/html
-
[compile_catalog]
directory = masakariclient/locale
domain = masakariclient
@@ -65,11 +58,6 @@
mapping_file = babel.cfg
output_file = masakariclient/locale/masakariclient.pot
-[build_releasenotes]
-all_files = 1
-build-dir = releasenotes/build
-source-dir = releasenotes/source
-
[egg_info]
tag_build =
tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-masakariclient-5.5.0/setup.py
new/python-masakariclient-6.0.0/setup.py
--- old/python-masakariclient-5.5.0/setup.py 2019-09-12 11:33:03.000000000
+0200
+++ new/python-masakariclient-6.0.0/setup.py 2020-04-10 14:28:42.000000000
+0200
@@ -13,17 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
-# In python < 2.7.4, a lazy loading of package `pbr` will break
-# setuptools if some other modules registered functions in `atexit`.
-# solution from: http://bugs.python.org/issue15881#msg170215
-try:
- import multiprocessing # noqa
-except ImportError:
- pass
-
setuptools.setup(
setup_requires=['pbr>=2.0.0'],
pbr=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-masakariclient-5.5.0/test-requirements.txt
new/python-masakariclient-6.0.0/test-requirements.txt
--- old/python-masakariclient-5.5.0/test-requirements.txt 2019-09-12
11:33:03.000000000 +0200
+++ new/python-masakariclient-6.0.0/test-requirements.txt 2020-04-10
14:28:42.000000000 +0200
@@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
+hacking>=3.0,<3.1.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
ddt>=1.0.1 # MIT
@@ -10,8 +10,7 @@
openstackdocstheme>=1.18.1 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
requests-mock>=1.2.0 # Apache-2.0
-sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
-sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
+sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
stestr>=1.0.0 # Apache-2.0
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-masakariclient-5.5.0/tox.ini
new/python-masakariclient-6.0.0/tox.ini
--- old/python-masakariclient-5.5.0/tox.ini 2019-09-12 11:33:07.000000000
+0200
+++ new/python-masakariclient-6.0.0/tox.ini 2020-04-10 14:28:42.000000000
+0200
@@ -1,9 +1,11 @@
[tox]
-minversion = 2.0
-envlist = pep8,py27,py36,py37
+minversion = 3.1.1
+envlist = pep8,py36,py37
skipsdist = True
+ignore_basepython_conflict = True
[testenv]
+basepython = python3
usedevelop = True
install_command = pip install {opts} {packages}
deps =
@@ -16,16 +18,11 @@
# By default stestr will set concurrency
# to ncpu, to specify something else use
# the concurrency=<n> option.
-# call ie: 'tox -epy27 -- --concurrency=4'
+# call ie: 'tox -epy37 -- --concurrency=4'
commands =
find . -type f -name "*.pyc" -delete
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
OS_DEBUG GENERATE_HASHES
-[testenv:py27]
-commands =
- {[testenv]commands}
- stestr run {posargs}
-
[testenv:py36]
basepython = python3.6
commands =
@@ -39,15 +36,12 @@
stestr run {posargs}
[testenv:pep8]
-basepython = python3
commands = flake8 {posargs}
[testenv:venv]
-basepython = python3
commands = {posargs}
[testenv:cover]
-basepython = python3
setenv =
PYTHON=coverage run --source masakariclient --parallel-mode
commands =
@@ -57,28 +51,25 @@
coverage xml -o cover/coverage.xml
[testenv:docs]
-basepython = python3
-commands = python setup.py build_sphinx
+commands =
+ sphinx-build -W -b html doc/source doc/build/html
[testenv:releasenotes]
-basepython = python3
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html
releasenotes/source releasenotes/build/html
[testenv:debug]
-basepython = python3
commands = oslo_debug_helper {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
-
+# W504 line break after binary operator
show-source = True
-ignore = E123,E125
+ignore = E123,E125,W504
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
[testenv:lower-constraints]
-basepython = python3
deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt