Hello community,
here is the log from the commit of package python-monascaclient for
openSUSE:Factory checked in at 2018-03-07 10:36:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-monascaclient (Old)
and /work/SRC/openSUSE:Factory/.python-monascaclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-monascaclient"
Wed Mar 7 10:36:52 2018 rev:6 rq:583212 version:1.10.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-monascaclient/python-monascaclient.changes
2018-01-31 19:52:06.240884776 +0100
+++
/work/SRC/openSUSE:Factory/.python-monascaclient.new/python-monascaclient.changes
2018-03-07 10:37:06.497217968 +0100
@@ -1,0 +2,14 @@
+Tue Mar 6 07:44:58 UTC 2018 - [email protected]
+
+- Drop unused Requires for python-oslo.service
+
+-------------------------------------------------------------------
+Fri Feb 23 13:10:36 UTC 2018 - [email protected]
+
+- update to version 1.10.0
+ - Updated from global requirements
+ - TrivialFix: remove redundant import alias
+ - Update usage examples
+- Switch to stable/queens spec template
+
+-------------------------------------------------------------------
Old:
----
python-monascaclient-1.9.0.tar.gz
New:
----
python-monascaclient-1.10.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-monascaclient.spec ++++++
--- /var/tmp/diff_new_pack.boZtNk/_old 2018-03-07 10:37:08.105159968 +0100
+++ /var/tmp/diff_new_pack.boZtNk/_new 2018-03-07 10:37:08.105159968 +0100
@@ -16,53 +16,81 @@
#
-%global sname python-monascaclient
Name: python-monascaclient
-Version: 1.9.0
+Version: 1.10.0
Release: 0
Summary: Python API and CLI for OpenStack Monasca
License: Apache-2.0
Group: Development/Languages/Python
-Url: https://launchpad.net/%{sname}
-Source0:
https://files.pythonhosted.org/packages/source/p/%{sname}/%{sname}-%{version}.tar.gz
+Url: https://launchpad.net/python-monascaclient
+Source0:
https://files.pythonhosted.org/packages/source/p/python-monascaclient/python-monascaclient-1.10.0.tar.gz
BuildRequires: openstack-macros
-BuildRequires: python-PrettyTable >= 0.7.1
-BuildRequires: python-PyYAML >= 3.10
BuildRequires: python-devel
-BuildRequires: python-fixtures >= 3.0.0
-BuildRequires: python-keystoneclient >= 3.8.0
-BuildRequires: python-mock >= 2.0.0
-BuildRequires: python-mox3 >= 0.20.0
-BuildRequires: python-osc-lib >= 1.7.0
-BuildRequires: python-oslo.concurrency >= 3.20.0
-BuildRequires: python-oslo.config >= 4.6.0
-BuildRequires: python-oslo.i18n >= 3.15.3
-BuildRequires: python-oslo.log >= 3.30.0
-BuildRequires: python-oslo.serialization >= 2.18.0
-BuildRequires: python-oslo.utils >= 3.31.0
-BuildRequires: python-oslotest >= 1.10.0
-BuildRequires: python-pbr >= 2.0.0
-BuildRequires: python-requests-mock >= 1.1.0
-BuildRequires: python-setuptools >= 16.0
-BuildRequires: python-testrepository >= 0.0.18
-BuildRequires: python-testscenarios >= 0.4
-BuildRequires: python-testtools >= 2.2.0
+BuildRequires: python2-PrettyTable >= 0.7.1
+BuildRequires: python2-PyYAML >= 3.10
+BuildRequires: python2-fixtures >= 3.0.0
+BuildRequires: python2-keystoneclient >= 3.8.0
+BuildRequires: python2-mock >= 2.0.0
+BuildRequires: python2-mox3 >= 0.20.0
+BuildRequires: python2-osc-lib >= 1.8.0
+BuildRequires: python2-oslo.concurrency >= 3.25.0
+BuildRequires: python2-oslo.config >= 5.1.0
+BuildRequires: python2-oslo.i18n >= 3.15.3
+BuildRequires: python2-oslo.log >= 3.36.0
+BuildRequires: python2-oslo.serialization >= 2.18.0
+BuildRequires: python2-oslo.utils >= 3.33.0
+BuildRequires: python2-oslotest >= 3.2.0
+BuildRequires: python2-pbr >= 2.0.0
+BuildRequires: python2-requests-mock >= 1.1.0
+BuildRequires: python2-setuptools >= 16.0
+BuildRequires: python2-testrepository >= 0.0.18
+BuildRequires: python2-testscenarios >= 0.4
+BuildRequires: python2-testtools >= 2.2.0
+BuildRequires: python3-PrettyTable >= 0.7.1
+BuildRequires: python3-PyYAML >= 3.10
+BuildRequires: python3-devel
+BuildRequires: python3-fixtures >= 3.0.0
+BuildRequires: python3-keystoneclient >= 3.8.0
+BuildRequires: python3-mock >= 2.0.0
+BuildRequires: python3-mox3 >= 0.20.0
+BuildRequires: python3-osc-lib >= 1.8.0
+BuildRequires: python3-oslo.concurrency >= 3.25.0
+BuildRequires: python3-oslo.config >= 5.1.0
+BuildRequires: python3-oslo.i18n >= 3.15.3
+BuildRequires: python3-oslo.log >= 3.36.0
+BuildRequires: python3-oslo.serialization >= 2.18.0
+BuildRequires: python3-oslo.utils >= 3.33.0
+BuildRequires: python3-oslotest >= 3.2.0
+BuildRequires: python3-pbr >= 2.0.0
+BuildRequires: python3-requests-mock >= 1.1.0
+BuildRequires: python3-setuptools >= 16.0
+BuildRequires: python3-testrepository >= 0.0.18
+BuildRequires: python3-testscenarios >= 0.4
+BuildRequires: python3-testtools >= 2.2.0
Requires: python-Babel >= 2.3.4
Requires: python-PrettyTable >= 0.7.1
Requires: python-PyYAML >= 3.10
Requires: python-keystoneclient >= 3.8.0
-Requires: python-osc-lib >= 1.7.0
-Requires: python-oslo.concurrency >= 3.20.0
-Requires: python-oslo.config >= 4.6.0
+Requires: python-osc-lib >= 1.8.0
+Requires: python-oslo.concurrency >= 3.25.0
+Requires: python-oslo.config >= 5.1.0
Requires: python-oslo.i18n >= 3.15.3
-Requires: python-oslo.log >= 3.30.0
+Requires: python-oslo.log >= 3.36.0
Requires: python-oslo.serialization >= 2.18.0
-Requires: python-oslo.service >= 1.24.0
-Requires: python-oslo.utils >= 3.31.0
+Requires: python-oslo.utils >= 3.33.0
Requires: python-pbr >= 2.0.0
Requires: python-requests >= 2.14.2
Requires: python-six >= 1.10.0
BuildArch: noarch
+%if 0%{?suse_version}
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%else
+# on RDO, update-alternatives is in chkconfig
+Requires(post): chkconfig
+Requires(postun): chkconfig
+%endif
+%python_subpackages
%description
This is a client library for Monasca built to interface with the Monasca API.
It
@@ -72,23 +100,32 @@
The Monasca Client was written using the OpenStack Heat Python client as a
framework.
%prep
-%autosetup -n %{sname}-%{version}
+%autosetup -p1 -n python-monascaclient-1.10.0
%py_req_cleanup
%build
-%py2_build
+%{python_build}
%install
-%py2_install
+%{python_install}
+%python_clone -a %{buildroot}%{_bindir}/monasca
+
+%post
+%python_install_alternative monasca
+
+%postun
+%python_uninstall_alternative monasca
%check
-%{__python2} setup.py testr
+%{python_expand rm -rf .testrepository
+$python setup.py testr
+}
-%files
+%files %{python_files}
%doc README.rst
%license LICENSE
-%{python2_sitelib}/monascaclient
-%{python2_sitelib}/*.egg-info
-%{_bindir}/monasca
+%{python_sitelib}/monascaclient
+%{python_sitelib}/*.egg-info
+%python_alternative %{_bindir}/monasca
%changelog
++++++ _service ++++++
--- /var/tmp/diff_new_pack.boZtNk/_old 2018-03-07 10:37:08.141158670 +0100
+++ /var/tmp/diff_new_pack.boZtNk/_new 2018-03-07 10:37:08.141158670 +0100
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/python-monascaclient/python-monascaclient.spec.j2</param>
+ <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/queens/openstack/python-monascaclient/python-monascaclient.spec.j2</param>
<param name="output-name">python-monascaclient.spec</param>
- <param
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/requirements.txt</param>
+ <param
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/queens/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param name="changelog-provider">gh,openstack,python-monascaclient</param>
</service>
++++++ python-monascaclient-1.9.0.tar.gz -> python-monascaclient-1.10.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-monascaclient-1.9.0/AUTHORS
new/python-monascaclient-1.10.0/AUTHORS
--- old/python-monascaclient-1.9.0/AUTHORS 2017-12-21 20:44:48.000000000
+0100
+++ new/python-monascaclient-1.10.0/AUTHORS 2018-01-22 18:26:19.000000000
+0100
@@ -7,6 +7,7 @@
Cindy O Neill <[email protected]>
Craig Bryant <[email protected]>
Craig Bryant <[email protected]>
+Dao Cong Tien <[email protected]>
Deepak <[email protected]>
Dexter Fryar <[email protected]>
Dirk Mueller <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-monascaclient-1.9.0/ChangeLog
new/python-monascaclient-1.10.0/ChangeLog
--- old/python-monascaclient-1.9.0/ChangeLog 2017-12-21 20:44:48.000000000
+0100
+++ new/python-monascaclient-1.10.0/ChangeLog 2018-01-22 18:26:19.000000000
+0100
@@ -1,6 +1,16 @@
CHANGES
=======
+1.10.0
+------
+
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+* Update usage examples
+* TrivialFix: remove redundant import alias
+* Updated from global requirements
+
1.9.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-monascaclient-1.9.0/PKG-INFO
new/python-monascaclient-1.10.0/PKG-INFO
--- old/python-monascaclient-1.9.0/PKG-INFO 2017-12-21 20:44:49.000000000
+0100
+++ new/python-monascaclient-1.10.0/PKG-INFO 2018-01-22 18:26:21.000000000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: python-monascaclient
-Version: 1.9.0
+Version: 1.10.0
Summary: Monasca API Client Library
Home-page: https://docs.openstack.org/python-monascaclient/latest/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-monascaclient-1.9.0/doc/source/reference/index.rst
new/python-monascaclient-1.10.0/doc/source/reference/index.rst
--- old/python-monascaclient-1.9.0/doc/source/reference/index.rst
2017-12-21 20:42:23.000000000 +0100
+++ new/python-monascaclient-1.10.0/doc/source/reference/index.rst
2018-01-22 18:23:38.000000000 +0100
@@ -25,7 +25,7 @@
from monascaclient import client
auth = identity.Password(
- auth_url='http://my.keystone.com:5000/v3',
+ auth_url='http://my.keystone.com/identity',
username='mini-mon',
password='password',
project_name='mini-mon',
@@ -34,13 +34,13 @@
)
sess = session.Session(auth=auth)
- endpoint = 'http://monasca:8070/'
+ endpoint = 'http://monasca:8070/v2.0'
api_version = '2_0'
c = client.Client(
api_version=api_version,
endpoint=endpoint,
- session=session
+ session=sess
)
c.alarms.list()
@@ -68,10 +68,10 @@
c = client.Client(
api_version='2_0',
- endpoint='http://monasca:8070/',
+ endpoint='http://monasca:8070/v2.0',
token='3bcc3d3a03f44e3d8377f9247b0ad155',
project_name='mini-mon',
- auth_url='http://my.keystone.com:5000/v3'
+ auth_url='http://my.keystone.com/identity'
)
c.alarms.list()
@@ -86,11 +86,11 @@
c = client.Client(
api_version='2_0',
- endpoint='http://monasca:8070/',
+ endpoint='http://monasca:8070/v2.0',
username='mini-mon',
password='password',
project_name='mini-mon',
- auth_url='http://my.keystone.com:5000/v3'
+ auth_url='http://my.keystone.com/identity'
)
c.alarms.list()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-monascaclient-1.9.0/monascaclient/shell.py
new/python-monascaclient-1.10.0/monascaclient/shell.py
--- old/python-monascaclient-1.9.0/monascaclient/shell.py 2017-12-21
20:42:23.000000000 +0100
+++ new/python-monascaclient-1.10.0/monascaclient/shell.py 2018-01-22
18:23:38.000000000 +0100
@@ -25,7 +25,7 @@
from osc_lib.api import auth
from osc_lib.cli import client_config as cloud_config
from osc_lib import shell
-from osc_lib import utils as utils
+from osc_lib import utils
from oslo_utils import importutils
import six
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-monascaclient-1.9.0/python_monascaclient.egg-info/PKG-INFO
new/python-monascaclient-1.10.0/python_monascaclient.egg-info/PKG-INFO
--- old/python-monascaclient-1.9.0/python_monascaclient.egg-info/PKG-INFO
2017-12-21 20:44:48.000000000 +0100
+++ new/python-monascaclient-1.10.0/python_monascaclient.egg-info/PKG-INFO
2018-01-22 18:26:19.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: python-monascaclient
-Version: 1.9.0
+Version: 1.10.0
Summary: Monasca API Client Library
Home-page: https://docs.openstack.org/python-monascaclient/latest/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-monascaclient-1.9.0/python_monascaclient.egg-info/pbr.json
new/python-monascaclient-1.10.0/python_monascaclient.egg-info/pbr.json
--- old/python-monascaclient-1.9.0/python_monascaclient.egg-info/pbr.json
2017-12-21 20:44:48.000000000 +0100
+++ new/python-monascaclient-1.10.0/python_monascaclient.egg-info/pbr.json
2018-01-22 18:26:20.000000000 +0100
@@ -1 +1 @@
-{"git_version": "d7f6fb2", "is_release": true}
\ No newline at end of file
+{"git_version": "5ea9035", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-monascaclient-1.9.0/python_monascaclient.egg-info/requires.txt
new/python-monascaclient-1.10.0/python_monascaclient.egg-info/requires.txt
--- old/python-monascaclient-1.9.0/python_monascaclient.egg-info/requires.txt
2017-12-21 20:44:48.000000000 +0100
+++ new/python-monascaclient-1.10.0/python_monascaclient.egg-info/requires.txt
2018-01-22 18:26:19.000000000 +0100
@@ -1,4 +1,4 @@
-osc-lib>=1.7.0
+osc-lib>=1.8.0
oslo.serialization!=2.19.1,>=2.18.0
oslo.utils>=3.33.0
Babel!=2.4.0,>=2.3.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-monascaclient-1.9.0/requirements.txt
new/python-monascaclient-1.10.0/requirements.txt
--- old/python-monascaclient-1.9.0/requirements.txt 2017-12-21
20:42:23.000000000 +0100
+++ new/python-monascaclient-1.10.0/requirements.txt 2018-01-22
18:23:38.000000000 +0100
@@ -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.
-osc-lib>=1.7.0 # Apache-2.0
+osc-lib>=1.8.0 # Apache-2.0
oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0
oslo.utils>=3.33.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-monascaclient-1.9.0/test-requirements.txt
new/python-monascaclient-1.10.0/test-requirements.txt
--- old/python-monascaclient-1.9.0/test-requirements.txt 2017-12-21
20:42:23.000000000 +0100
+++ new/python-monascaclient-1.10.0/test-requirements.txt 2018-01-22
18:23:38.000000000 +0100
@@ -6,7 +6,7 @@
bandit>=1.1.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
-oslotest>=1.10.0 # Apache-2.0
+oslotest>=3.2.0 # Apache-2.0
os-testr>=1.0.0 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
@@ -14,6 +14,6 @@
# documentation
doc8>=0.6.0 # Apache-2.0
-sphinx>=1.6.2 # BSD
+sphinx!=1.6.6,>=1.6.2 # BSD
reno>=2.5.0 # Apache-2.0
openstackdocstheme>=1.17.0 # Apache-2.0