Hello community,
here is the log from the commit of package python-monascaclient for openSUSE:Factory checked in at 2019-07-04 15:42:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-monascaclient (Old)
and /work/SRC/openSUSE:Factory/.python-monascaclient.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-monascaclient"
Thu Jul 4 15:42:22 2019 rev:9 rq:710314 version:1.15.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-monascaclient/python-monascaclient.changes 2019-05-03 22:41:26.627117321 +0200
+++ /work/SRC/openSUSE:Factory/.python-monascaclient.new.4615/python-monascaclient.changes 2019-07-04 15:42:23.218027831 +0200
@@ -1,0 +2,9 @@
+Mon Jun 17 10:04:51 UTC 2019 - cloud-devel@suse.de
+
+- update to version 1.15.0
+ - Replace openstack.org git:// URLs with https://
+ - Update .gitreview for stable/stein
+ - Fix metric list formatting with Python 3
+ - Update UPPER_CONSTRAINTS_FILE for stable/stein
+
+-------------------------------------------------------------------
Old:
----
python-monascaclient-1.14.0.tar.gz
New:
----
python-monascaclient-1.15.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-monascaclient.spec ++++++
--- /var/tmp/diff_new_pack.OZ5WP3/_old 2019-07-04 15:42:23.806028536 +0200
+++ /var/tmp/diff_new_pack.OZ5WP3/_new 2019-07-04 15:42:23.810028541 +0200
@@ -17,13 +17,13 @@
Name: python-monascaclient
-Version: 1.14.0
+Version: 1.15.0
Release: 0
Summary: Python API and CLI for OpenStack Monasca
License: Apache-2.0
Group: Development/Languages/Python
URL: https://launchpad.net/python-monascaclient
-Source0: https://files.pythonhosted.org/packages/source/p/python-monascaclient/python...
+Source0: https://files.pythonhosted.org/packages/source/p/python-monascaclient/python...
BuildRequires: openstack-macros
BuildRequires: python2-PrettyTable >= 0.7.2
BuildRequires: python2-PyYAML >= 3.12
@@ -100,7 +100,7 @@
The Monasca Client was written using the OpenStack Heat Python client as a framework.
%prep
-%autosetup -p1 -n python-monascaclient-1.14.0
+%autosetup -p1 -n python-monascaclient-1.15.0
%py_req_cleanup
%build
++++++ python-monascaclient-1.14.0.tar.gz -> python-monascaclient-1.15.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-monascaclient-1.14.0/AUTHORS new/python-monascaclient-1.15.0/AUTHORS
--- old/python-monascaclient-1.14.0/AUTHORS 2019-03-07 11:21:51.000000000 +0100
+++ new/python-monascaclient-1.15.0/AUTHORS 2019-05-09 16:08:21.000000000 +0200
@@ -23,6 +23,7 @@
Eyal
Flavio Percoco
Haiwei Xu
+Ian Wienand
Igor Ataide
Jamie Lennox
Jeremy Liu
@@ -36,6 +37,7 @@
Luong Anh Tuan
Mark Reynolds
Michael James Hoppal
+Michał Piotrowski
Nguyen Hai Truong
Nguyen Tuong Thanh
Ondřej Nový
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-monascaclient-1.14.0/ChangeLog new/python-monascaclient-1.15.0/ChangeLog
--- old/python-monascaclient-1.14.0/ChangeLog 2019-03-07 11:21:51.000000000 +0100
+++ new/python-monascaclient-1.15.0/ChangeLog 2019-05-09 16:08:21.000000000 +0200
@@ -1,6 +1,14 @@
CHANGES
=======
+1.15.0
+------
+
+* Fix metric list formatting with Python 3
+* Replace openstack.org git:// URLs with https://
+* Update UPPER\_CONSTRAINTS\_FILE for stable/stein
+* Update .gitreview for stable/stein
+
1.14.0
------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-monascaclient-1.14.0/PKG-INFO new/python-monascaclient-1.15.0/PKG-INFO
--- old/python-monascaclient-1.14.0/PKG-INFO 2019-03-07 11:21:51.000000000 +0100
+++ new/python-monascaclient-1.15.0/PKG-INFO 2019-05-09 16:08:21.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: python-monascaclient
-Version: 1.14.0
+Version: 1.15.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.14.0/doc/source/installation.rst new/python-monascaclient-1.15.0/doc/source/installation.rst
--- old/python-monascaclient-1.14.0/doc/source/installation.rst 2019-03-07 11:18:40.000000000 +0100
+++ new/python-monascaclient-1.15.0/doc/source/installation.rst 2019-05-09 16:06:06.000000000 +0200
@@ -14,7 +14,7 @@
Or, you can build it manually::
$ mkvirtualenv python-monascaclient
- $ git clone git://git.openstack.org/openstack/python-monascaclient
+ $ git clone https://git.openstack.org/openstack/python-monascaclient
$ cd python-monascaclient
$ pip install -r ./requirements.txt
$ python setup.py install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-monascaclient-1.14.0/monascaclient/common/utils.py new/python-monascaclient-1.15.0/monascaclient/common/utils.py
--- old/python-monascaclient-1.14.0/monascaclient/common/utils.py 2019-03-07 11:18:40.000000000 +0100
+++ new/python-monascaclient-1.15.0/monascaclient/common/utils.py 2019-05-09 16:06:06.000000000 +0200
@@ -42,7 +42,8 @@
def json_formatter(js):
- return (jsonutils.dumps(js, indent=2, ensure_ascii=False)).encode('utf-8')
+ formatter = (jsonutils.dumps(js, indent=2, ensure_ascii=False))
+ return formatter if six.PY3 else formatter.encode('utf-8')
def print_list(objs, fields, field_labels=None, formatters=None, sortby=None):
@@ -65,10 +66,9 @@
data = getattr(o, field, None) or ''
row.append(data)
pt.add_row(row)
- if sortby is None:
- print(pt.get_string().encode('utf-8'))
- else:
- print(pt.get_string(sortby=field_labels[sortby]).encode('utf-8'))
+ field_to_sort_by = field_labels[sortby] if sortby else None
+ pt_string = pt.get_string(sortby=field_to_sort_by)
+ print(pt_string if six.PY3 else pt_string.encode('utf-8'))
def print_dict(d, formatters=None):
@@ -83,7 +83,9 @@
pt.add_row([field, formatters[field](d[field])])
else:
pt.add_row([field, d[field]])
- print(pt.get_string(sortby='Property').encode('utf-8'))
+
+ pt_string = pt.get_string(sortby='Property')
+ print(pt_string if six.PY3 else pt_string.encode('utf-8'))
def format_parameters(params):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-monascaclient-1.14.0/python_monascaclient.egg-info/PKG-INFO new/python-monascaclient-1.15.0/python_monascaclient.egg-info/PKG-INFO
--- old/python-monascaclient-1.14.0/python_monascaclient.egg-info/PKG-INFO 2019-03-07 11:21:51.000000000 +0100
+++ new/python-monascaclient-1.15.0/python_monascaclient.egg-info/PKG-INFO 2019-05-09 16:08:21.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: python-monascaclient
-Version: 1.14.0
+Version: 1.15.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.14.0/python_monascaclient.egg-info/pbr.json new/python-monascaclient-1.15.0/python_monascaclient.egg-info/pbr.json
--- old/python-monascaclient-1.14.0/python_monascaclient.egg-info/pbr.json 2019-03-07 11:21:51.000000000 +0100
+++ new/python-monascaclient-1.15.0/python_monascaclient.egg-info/pbr.json 2019-05-09 16:08:21.000000000 +0200
@@ -1 +1 @@
-{"git_version": "a1d50c6", "is_release": true}
\ No newline at end of file
+{"git_version": "bcb16d1", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-monascaclient-1.14.0/tox.ini new/python-monascaclient-1.15.0/tox.ini
--- old/python-monascaclient-1.14.0/tox.ini 2019-03-07 11:18:40.000000000 +0100
+++ new/python-monascaclient-1.15.0/tox.ini 2019-05-09 16:06:09.000000000 +0200
@@ -13,7 +13,7 @@
usedevelop = True
install_command = pip install {opts} {packages}
deps =
- -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
+ -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/stein}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
whitelist_externals = bash