commit python-aodhclient for openSUSE:Factory
Hello community, here is the log from the commit of package python-aodhclient for openSUSE:Factory checked in at 2017-02-22 13:56:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-aodhclient (Old) and /work/SRC/openSUSE:Factory/.python-aodhclient.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-aodhclient" Changes: -------- --- /work/SRC/openSUSE:Factory/python-aodhclient/python-aodhclient.changes 2016-10-13 11:29:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-aodhclient.new/python-aodhclient.changes 2017-02-22 13:56:10.453781928 +0100 @@ -1,0 +2,17 @@ +Tue Feb 21 10:05:48 UTC 2017 - cloud-devel@suse.de + +- update to version 0.8.0: + - Add plug-in summary for osc doc + - Update reno for stable/newton + - Modified the help info. + - [doc] Note lack of constraints is a choice + - Bump hacking to 0.12 + - Add missing pyparsing to requirements.txt + - Enable coverage report in console output + - Enable release notes translation + - Replaces uuid.uuid4 with uuidutils.generate_uuid() + - Clean imports in code + - Remove 'MANIFEST.in' + - Extras usage for test requirements + basic auth against Gnocch + +------------------------------------------------------------------- Old: ---- aodhclient-0.7.0.tar.gz New: ---- aodhclient-0.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-aodhclient.spec ++++++ --- /var/tmp/diff_new_pack.rnB9Yx/_old 2017-02-22 13:56:10.845726168 +0100 +++ /var/tmp/diff_new_pack.rnB9Yx/_new 2017-02-22 13:56:10.845726168 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-aodhclient # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,36 +18,36 @@ %global sname aodhclient Name: python-aodhclient -Version: 0.7.0 +Version: 0.8.0 Release: 0 Summary: Python client library for Aodh License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/openstack/%{name} +Url: https://github.com/openstack/python-aodhclient Source0: https://pypi.io/packages/source/a/%{sname}/%{sname}-%{version}.tar.gz BuildRequires: openstack-macros -BuildRequires: python-cliff >= 1.15.0 +BuildRequires: python-cliff >= 2.3.0 BuildRequires: python-devel -BuildRequires: python-keystoneauth1 >= 2.10.0 +BuildRequires: python-keystoneauth1 >= 2.17.0 BuildRequires: python-oslo.serialization >= 1.10.0 -BuildRequires: python-oslo.utils >= 3.16.0 +BuildRequires: python-oslo.utils >= 3.18.0 BuildRequires: python-oslotest >= 1.10.0 -BuildRequires: python-pbr >= 1.6 -BuildRequires: python-pyparsing >= 2.0.1 +BuildRequires: python-pbr >= 1.8 +BuildRequires: python-pyparsing >= 2.0.7 BuildRequires: python-python-subunit >= 0.0.18 BuildRequires: python-requests >= 2.10.0 BuildRequires: python-setuptools >= 16.0 BuildRequires: python-testrepository >= 0.0.18 BuildRequires: python-testtools >= 1.4.0 -Requires: python-cliff >= 1.15.0 +Requires: python-cliff >= 2.3.0 Requires: python-debtcollector >= 1.2.0 -Requires: python-keystoneauth1 >= 2.10.0 -Requires: python-osc-lib >= 0.4.0 +Requires: python-keystoneauth1 >= 2.17.0 +Requires: python-osc-lib >= 1.2.0 Requires: python-oslo.i18n >= 2.1.0 Requires: python-oslo.serialization >= 1.10.0 -Requires: python-oslo.utils >= 3.16.0 -Requires: python-pbr >= 1.6 -Requires: python-pyparsing >= 2.0.1 +Requires: python-oslo.utils >= 3.18.0 +Requires: python-pbr >= 1.8 +Requires: python-pyparsing >= 2.0.7 Requires: python-six >= 1.9.0 BuildArch: noarch @@ -59,7 +59,7 @@ Summary: Documentation for OpenStack Aodh API Client Group: Documentation BuildRequires: python-Sphinx -BuildRequires: python-oslosphinx >= 2.5.0 +BuildRequires: python-oslosphinx >= 4.7.0 %description doc This is a client library for Aodh built on the Aodh API. It @@ -68,7 +68,8 @@ This package contains auto-generated documentation. %prep -%setup -q -n %{sname}-%{version} +%autosetup -n %{sname}-%{version} +%py_req_cleanup %build %py2_build ++++++ _service ++++++ --- /var/tmp/diff_new_pack.rnB9Yx/_old 2017-02-22 13:56:10.881721048 +0100 +++ /var/tmp/diff_new_pack.rnB9Yx/_new 2017-02-22 13:56:10.885720479 +0100 @@ -1,10 +1,12 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/aodhclient/aodhclient.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/openstack/aodhclient/aodhclient.spec.j2</param> <param name="output-name">python-aodhclient.spec</param> - <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/global-requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/global-requirements.txt</param> + <param name="changelog-email">cloud-devel@suse.de</param> + <param name="changelog-provider">gh,openstack,python-aodhclient</param> </service> <service mode="disabled" name="download_files"> - <param name="changesgenerate">enable</param> </service> + <service name="format_spec_file" mode="disabled"/> </services> ++++++ aodhclient-0.7.0.tar.gz -> aodhclient-0.8.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/AUTHORS new/aodhclient-0.8.0/AUTHORS --- old/aodhclient-0.7.0/AUTHORS 2016-09-02 15:00:52.000000000 +0200 +++ new/aodhclient-0.8.0/AUTHORS 2017-01-23 15:28:05.000000000 +0100 @@ -1,7 +1,11 @@ +Andreas Jaeger <aj@suse.com> +Cao Xuan Hoang <hoangcx@vn.fujitsu.com> Chaozhe.Chen <chaozhe.chen@easystack.cn> +Doug Hellmann <doug@doughellmann.com> Hanxi Liu <hanxi.liu@easystack.cn> Jon Schlueter <jschluet@redhat.com> Julien Danjou <julien@danjou.info> +KATO Tomoyuki <kato.tomoyuki@jp.fujitsu.com> Kevin_Zheng <zhengzhenyu@huawei.com> Mehdi ABAAKOUK <sileht@sileht.net> Mehdi Abaakouk <sileht@redhat.com> @@ -11,11 +15,16 @@ Pradeep Kilambi <pkilambi@redhat.com> Stéphane Albert <stephane.albert@objectif-libre.com> Swapnil Kulkarni (coolsvap) <me@coolsvap.net> +Thomas Bechtold <tbechtold@suse.com> +Tony Breeds <tony@bakeyournoodle.com> Zhao Lei <zhaolei@cn.fujitsu.com> ZhiQiang Fan <aji.zqfan@gmail.com> Zi Lian Ji <jizilian@cn.ibm.com> gordon chung <gord@live.ca> +houweichao <houwch@gohighsec.com> liusheng <liusheng@huawei.com> liyuanzhen <li.yuanzhen@zte.com.cn> venkatamahesh <venkatamaheshkotha@gmail.com> xialinjuan <ljxiash@cn.ibm.com> +xiaozhuangqing <zhuangqing.xiao@easystack.cn> +zhangguoqing <zhang.guoqing@99cloud.net> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/ChangeLog new/aodhclient-0.8.0/ChangeLog --- old/aodhclient-0.7.0/ChangeLog 2016-09-02 15:00:52.000000000 +0200 +++ new/aodhclient-0.8.0/ChangeLog 2017-01-23 15:28:05.000000000 +0100 @@ -1,6 +1,22 @@ CHANGES ======= +0.8.0 +----- + +* Extras usage for test requirements + basic auth against Gnocch +* Modified the help info +* Enable coverage report in console output +* [doc] Note lack of constraints is a choice +* Replaces uuid.uuid4 with uuidutils.generate_uuid() +* Bump hacking to 0.12 +* Add plug-in summary for osc doc +* Enable release notes translation +* Add missing pyparsing to requirements.txt +* Clean imports in code +* Update reno for stable/newton +* Remove 'MANIFEST.in' + 0.7.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/MANIFEST.in new/aodhclient-0.8.0/MANIFEST.in --- old/aodhclient-0.7.0/MANIFEST.in 2016-09-02 14:58:07.000000000 +0200 +++ new/aodhclient-0.8.0/MANIFEST.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -include AUTHORS -include ChangeLog -exclude .gitignore -exclude .gitreview - -global-exclude *.pyc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/PKG-INFO new/aodhclient-0.8.0/PKG-INFO --- old/aodhclient-0.7.0/PKG-INFO 2016-09-02 15:00:53.000000000 +0200 +++ new/aodhclient-0.8.0/PKG-INFO 2017-01-23 15:28:05.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: aodhclient -Version: 0.7.0 +Version: 0.8.0 Summary: Python client library for Aodh Home-page: http://docs.openstack.org/developer/python-aodhclient Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/aodhclient/osc.py new/aodhclient-0.8.0/aodhclient/osc.py --- old/aodhclient-0.7.0/aodhclient/osc.py 2016-09-02 14:58:07.000000000 +0200 +++ new/aodhclient-0.8.0/aodhclient/osc.py 2017-01-23 15:26:47.000000000 +0100 @@ -12,6 +12,8 @@ # License for the specific language governing permissions and limitations # under the License. +"""OpenStackClient plugin for Telemetry Alarming service.""" + from osc_lib import utils diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/aodhclient/tests/functional/base.py new/aodhclient-0.8.0/aodhclient/tests/functional/base.py --- old/aodhclient-0.7.0/aodhclient/tests/functional/base.py 2016-09-02 14:58:07.000000000 +0200 +++ new/aodhclient-0.8.0/aodhclient/tests/functional/base.py 2017-01-23 15:26:47.000000000 +0100 @@ -12,8 +12,8 @@ import os import time -import uuid +from oslo_utils import uuidutils from tempest.lib.cli import base from tempest.lib import exceptions @@ -27,8 +27,8 @@ def __init__(self): self.cli_dir = os.environ.get('AODH_CLIENT_EXEC_DIR') self.endpoint = os.environ.get('AODH_ENDPOINT') - self.user_id = str(uuid.uuid4()) - self.project_id = str(uuid.uuid4()) + self.user_id = uuidutils.generate_uuid() + self.project_id = uuidutils.generate_uuid() def aodh(self, action, flags='', params='', fail_ok=False, merge_stderr=False): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/aodhclient/tests/functional/test_alarm.py new/aodhclient-0.8.0/aodhclient/tests/functional/test_alarm.py --- old/aodhclient-0.7.0/aodhclient/tests/functional/test_alarm.py 2016-09-02 14:58:07.000000000 +0200 +++ new/aodhclient-0.8.0/aodhclient/tests/functional/test_alarm.py 2017-01-23 15:26:47.000000000 +0100 @@ -11,9 +11,10 @@ # under the License. import os -import uuid +from oslo_utils import uuidutils import requests +import requests.auth import six from tempest.lib import exceptions @@ -90,12 +91,12 @@ result = self.aodh('alarm', params=params) self.assertEqual("", result) - _test(str(uuid.uuid4())) + _test(uuidutils.generate_uuid()) _test('normal-alarm-name') def test_event_scenario(self): - PROJECT_ID = str(uuid.uuid4()) + PROJECT_ID = uuidutils.generate_uuid() # CREATE result = self.aodh(u'alarm', @@ -185,7 +186,7 @@ def test_threshold_scenario(self): - PROJECT_ID = str(uuid.uuid4()) + PROJECT_ID = uuidutils.generate_uuid() # CREATE result = self.aodh(u'alarm', @@ -335,7 +336,7 @@ def test_composite_scenario(self): - project_id = str(uuid.uuid4()) + project_id = uuidutils.generate_uuid() # CREATE result = self.aodh(u'alarm', params=(u'create --type composite --name calarm1 ' @@ -503,11 +504,12 @@ def test_gnocchi_resources_threshold_scenario(self): - PROJECT_ID = str(uuid.uuid4()) - RESOURCE_ID = str(uuid.uuid4()) + PROJECT_ID = uuidutils.generate_uuid() + RESOURCE_ID = uuidutils.generate_uuid() req = requests.post( os.environ.get("GNOCCHI_ENDPOINT") + "/v1/resource/instance", + auth=requests.auth.HTTPBasicAuth('admin', ''), json={ "display_name": "myvm", "flavor_id": "2", "host": "blah", @@ -629,7 +631,7 @@ def test_gnocchi_aggr_by_resources_scenario(self): - PROJECT_ID = str(uuid.uuid4()) + PROJECT_ID = uuidutils.generate_uuid() # CREATE result = self.aodh( @@ -722,7 +724,7 @@ def test_gnocchi_aggr_by_metrics_scenario(self): - PROJECT_ID = str(uuid.uuid4()) + PROJECT_ID = uuidutils.generate_uuid() METRIC1 = 'cpu' METRIC2 = 'cpu_util' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/aodhclient/tests/functional/test_alarm_history.py new/aodhclient-0.8.0/aodhclient/tests/functional/test_alarm_history.py --- old/aodhclient-0.7.0/aodhclient/tests/functional/test_alarm_history.py 2016-09-02 14:58:07.000000000 +0200 +++ new/aodhclient-0.8.0/aodhclient/tests/functional/test_alarm_history.py 2017-01-23 15:26:47.000000000 +0100 @@ -10,9 +10,8 @@ # License for the specific language governing permissions and limitations # under the License. -import uuid - from oslo_serialization import jsonutils +from oslo_utils import uuidutils from aodhclient.tests.functional import base @@ -25,7 +24,7 @@ def test_alarm_history_scenario(self): - PROJECT_ID = str(uuid.uuid4()) + PROJECT_ID = uuidutils.generate_uuid() result = self.aodh(u'alarm', params=(u"create --type threshold --name history1 " diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/aodhclient/v2/alarm.py new/aodhclient-0.8.0/aodhclient/v2/alarm.py --- old/aodhclient-0.7.0/aodhclient/v2/alarm.py 2016-09-02 14:58:07.000000000 +0200 +++ new/aodhclient-0.8.0/aodhclient/v2/alarm.py 2017-01-23 15:26:47.000000000 +0100 @@ -15,7 +15,7 @@ from oslo_serialization import jsonutils from aodhclient import utils -from aodhclient.v2.alarm_cli import ALARM_TYPES +from aodhclient.v2 import alarm_cli from aodhclient.v2 import base @@ -97,7 +97,7 @@ @staticmethod def _clean_rules(alarm_type, alarm): - for rule in ALARM_TYPES: + for rule in alarm_cli.ALARM_TYPES: if rule != alarm_type: alarm.pop('%s_rule' % rule, None) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/aodhclient/v2/alarm_cli.py new/aodhclient-0.8.0/aodhclient/v2/alarm_cli.py --- old/aodhclient-0.7.0/aodhclient/v2/alarm_cli.py 2016-09-02 14:58:07.000000000 +0200 +++ new/aodhclient-0.8.0/aodhclient/v2/alarm_cli.py 2017-01-23 15:26:47.000000000 +0100 @@ -495,7 +495,7 @@ class CliAlarmStateGet(show.ShowOne): - """Delete an alarm""" + """Get state of an alarm""" def get_parser(self, prog_name): return _add_name_to_parser( @@ -524,7 +524,7 @@ class CliAlarmStateSet(show.ShowOne): - """Delete an alarm""" + """Set state of an alarm""" def get_parser(self, prog_name): parser = _add_name_to_parser( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/aodhclient.egg-info/PKG-INFO new/aodhclient-0.8.0/aodhclient.egg-info/PKG-INFO --- old/aodhclient-0.7.0/aodhclient.egg-info/PKG-INFO 2016-09-02 15:00:52.000000000 +0200 +++ new/aodhclient-0.8.0/aodhclient.egg-info/PKG-INFO 2017-01-23 15:28:05.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: aodhclient -Version: 0.7.0 +Version: 0.8.0 Summary: Python client library for Aodh Home-page: http://docs.openstack.org/developer/python-aodhclient Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/aodhclient.egg-info/SOURCES.txt new/aodhclient-0.8.0/aodhclient.egg-info/SOURCES.txt --- old/aodhclient-0.7.0/aodhclient.egg-info/SOURCES.txt 2016-09-02 15:00:53.000000000 +0200 +++ new/aodhclient-0.8.0/aodhclient.egg-info/SOURCES.txt 2017-01-23 15:28:05.000000000 +0100 @@ -5,13 +5,11 @@ ChangeLog HACKING.rst LICENSE -MANIFEST.in README.rst babel.cfg requirements.txt setup.cfg setup.py -test-requirements.txt tox.ini aodhclient/__init__.py aodhclient/client.py @@ -67,6 +65,7 @@ releasenotes/source/conf.py releasenotes/source/index.rst releasenotes/source/mitaka.rst +releasenotes/source/newton.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/aodhclient-0.7.0/aodhclient.egg-info/pbr.json new/aodhclient-0.8.0/aodhclient.egg-info/pbr.json --- old/aodhclient-0.7.0/aodhclient.egg-info/pbr.json 2016-09-02 15:00:52.000000000 +0200 +++ new/aodhclient-0.8.0/aodhclient.egg-info/pbr.json 2017-01-23 15:28:05.000000000 +0100 @@ -1 +1 @@ -{"is_release": true, "git_version": "9ea4558"} \ No newline at end of file +{"git_version": "2f7a9c4", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/aodhclient.egg-info/requires.txt new/aodhclient-0.8.0/aodhclient.egg-info/requires.txt --- old/aodhclient-0.7.0/aodhclient.egg-info/requires.txt 2016-09-02 15:00:52.000000000 +0200 +++ new/aodhclient-0.8.0/aodhclient.egg-info/requires.txt 2017-01-23 15:28:05.000000000 +0100 @@ -7,3 +7,20 @@ keystoneauth1>=1.0.0 six debtcollector +pyparsing + +[doc] +sphinx!=1.2.0,!=1.3b1,>=1.1.2 +oslosphinx>=2.5.0 # Apache-2.0 + +[test] +coverage>=3.6 +python-subunit>=0.0.18 +oslotest>=1.10.0 # Apache-2.0 +reno>=1.6.2 # Apache2 +tempest>=10 +testrepository>=0.0.18 +testscenarios>=0.4 +testtools>=1.4.0 +pifpaf>=0.23 +mock>=1.2 # BSD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/releasenotes/source/conf.py new/aodhclient-0.8.0/releasenotes/source/conf.py --- old/aodhclient-0.7.0/releasenotes/source/conf.py 2016-09-02 14:58:07.000000000 +0200 +++ new/aodhclient-0.8.0/releasenotes/source/conf.py 2017-01-23 15:26:47.000000000 +0100 @@ -271,3 +271,6 @@ # If true, do not generate a @detailmenu in the "Top" node's menu. # texinfo_no_detailmenu = False + +# -- Options for Internationalization output ------------------------------ +locale_dirs = ['locale/'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/releasenotes/source/index.rst new/aodhclient-0.8.0/releasenotes/source/index.rst --- old/aodhclient-0.7.0/releasenotes/source/index.rst 2016-09-02 14:58:07.000000000 +0200 +++ new/aodhclient-0.8.0/releasenotes/source/index.rst 2017-01-23 15:26:47.000000000 +0100 @@ -7,9 +7,9 @@ .. toctree:: :maxdepth: 2 - mitaka unreleased - + newton + mitaka Indices and tables ================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/releasenotes/source/newton.rst new/aodhclient-0.8.0/releasenotes/source/newton.rst --- old/aodhclient-0.7.0/releasenotes/source/newton.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/aodhclient-0.8.0/releasenotes/source/newton.rst 2017-01-23 15:26:47.000000000 +0100 @@ -0,0 +1,6 @@ +=================================== + Newton Series Release Notes +=================================== + +.. release-notes:: + :branch: origin/stable/newton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/requirements.txt new/aodhclient-0.8.0/requirements.txt --- old/aodhclient-0.7.0/requirements.txt 2016-09-02 14:58:07.000000000 +0200 +++ new/aodhclient-0.8.0/requirements.txt 2017-01-23 15:26:47.000000000 +0100 @@ -11,3 +11,4 @@ keystoneauth1>=1.0.0 six debtcollector +pyparsing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/setup.cfg new/aodhclient-0.8.0/setup.cfg --- old/aodhclient-0.7.0/setup.cfg 2016-09-02 15:00:53.000000000 +0200 +++ new/aodhclient-0.8.0/setup.cfg 2017-01-23 15:28:05.000000000 +0100 @@ -23,6 +23,22 @@ packages = aodhclient +[extras] +test = + coverage>=3.6 + python-subunit>=0.0.18 + oslotest>=1.10.0 # Apache-2.0 + reno>=1.6.2 # Apache2 + tempest>=10 + testrepository>=0.0.18 + testscenarios>=0.4 + testtools>=1.4.0 + pifpaf>=0.23 + mock>=1.2 # BSD +doc = + sphinx!=1.2.0,!=1.3b1,>=1.1.2 + oslosphinx>=2.5.0 # Apache-2.0 + [entry_points] console_scripts = aodh = aodhclient.shell:main @@ -70,5 +86,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/test-requirements.txt new/aodhclient-0.8.0/test-requirements.txt --- old/aodhclient-0.7.0/test-requirements.txt 2016-09-02 14:58:07.000000000 +0200 +++ new/aodhclient-0.8.0/test-requirements.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,18 +0,0 @@ -# The order of packages is significant, because pip processes them in the order -# of appearance. Changing the order has an impact on the overall integration -# process, which may cause wedges in the gate later. - -coverage>=3.6 -python-subunit>=0.0.18 -sphinx!=1.2.0,!=1.3b1,>=1.1.2 -oslosphinx>=2.5.0 # Apache-2.0 -oslotest>=1.10.0 # Apache-2.0 -reno>=1.6.2 # Apache2 -tempest>=10 -testrepository>=0.0.18 -testscenarios>=0.4 -testtools>=1.4.0 -http://tarballs.openstack.org/aodh/aodh-master.tar.gz#egg=aodh[mysql] -http://tarballs.openstack.org/gnocchi/gnocchi-master.tar.gz#egg=gnocchi[postgresql,file] -pifpaf>=0.0.6 -mock>=1.2 # BSD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aodhclient-0.7.0/tox.ini new/aodhclient-0.8.0/tox.ini --- old/aodhclient-0.7.0/tox.ini 2016-09-02 14:58:07.000000000 +0200 +++ new/aodhclient-0.8.0/tox.ini 2017-01-23 15:26:47.000000000 +0100 @@ -11,24 +11,32 @@ AODH_ENDPOINT=http://localhost:8042 GNOCCHI_ENDPOINT=http://localhost:8051 passenv = GNOCCHI_* AODH_* OS_TEST_TIMEOUT OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_LOG_CAPTURE -deps = -r{toxinidir}/requirements.txt - -r{toxinidir}/test-requirements.txt +# NOTE(tonyb): This project has chosen to *NOT* consume upper-constraints.txt +deps = + .[test] + http://tarballs.openstack.org/aodh/aodh-master.tar.gz#egg=aodh[mysql] + http://tarballs.openstack.org/gnocchi/gnocchi-master.tar.gz#egg=gnocchi[postgresql,file] commands = pifpaf run aodh --gnocchi-create-legacy-resource-types -- python setup.py test --slowest --testr-args='{posargs}' [testenv:pep8] -deps = hacking<0.12,>=0.11.0 +deps = hacking<0.13,>=0.12 commands = flake8 [testenv:venv] +# Used by openstack-infra to build the doc +deps = .[doc] commands = {posargs} [testenv:cover] -commands = python setup.py test --coverage --testr-args='{posargs}' +commands = + python setup.py test --coverage --testr-args='{posargs}' + coverage report [testenv:releasenotes] commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [testenv:docs] +deps = .[doc] commands = rm -rf doc/source/ref python setup.py build_sphinx
participants (1)
-
root@hilbertn.suse.de