Hello community, here is the log from the commit of package python-os-service-types for openSUSE:Factory checked in at 2019-05-07 23:19:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-os-service-types (Old) and /work/SRC/openSUSE:Factory/.python-os-service-types.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-os-service-types" Tue May 7 23:19:30 2019 rev:5 rq:701220 version:1.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-os-service-types/python-os-service-types.changes 2019-01-21 11:13:44.278254562 +0100 +++ /work/SRC/openSUSE:Factory/.python-os-service-types.new.5148/python-os-service-types.changes 2019-05-07 23:19:30.988990656 +0200 @@ -1,0 +2,18 @@ +Tue May 7 07:01:15 UTC 2019 - cloud-de...@suse.de + +- removed 0001-Use-keystoneauth-only-in-applicable-test.patch +- update to version 1.6.0 + - Close descriptor after reading file. + - switch documentation job to new PTI + - Change openstack-dev to openstack-discuss + - Update hacking version + - Removed older version of python added 3.5 + - Don't quote {posargs} in tox.ini + - Add unittest for os_service_types.data module. + - add python 3.6 unit test job + - Update the hacking to latst + - Updated from OpenStack Service Type Authority + - import zuul job settings from project-config + - Use keystoneauth only in applicable test + +------------------------------------------------------------------- Old: ---- 0001-Use-keystoneauth-only-in-applicable-test.patch os-service-types-1.3.0.tar.gz New: ---- os-service-types-1.6.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-os-service-types.spec ++++++ --- /var/tmp/diff_new_pack.oSMG3P/_old 2019-05-07 23:19:31.524991879 +0200 +++ /var/tmp/diff_new_pack.oSMG3P/_new 2019-05-07 23:19:31.528991888 +0200 @@ -17,15 +17,13 @@ Name: python-os-service-types -Version: 1.3.0 +Version: 1.6.0 Release: 0 Summary: Python library for consuming OpenStack sevice-types-authority data License: Apache-2.0 Group: Development/Languages/Python URL: https://docs.openstack.org/developer/os-service-types Source0: https://files.pythonhosted.org/packages/source/o/os-service-types/os-service-types-%{version}.tar.gz -# https://review.openstack.org/599979 -Patch0: 0001-Use-keystoneauth-only-in-applicable-test.patch BuildRequires: openstack-macros BuildRequires: python2-oslotest BuildRequires: python2-pbr >= 2.0.0 @@ -67,9 +65,8 @@ This package contains the documentation. %prep -%autosetup -p1 -n os-service-types-1.3.0 +%autosetup -p1 -n os-service-types-1.6.0 %py_req_cleanup -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg # The TestRemote test cases must be excluded because they introduce a circular # dependency on python-keystoneauth1. # Using --black-regex with stestr is not enough because the problem occurs when @@ -80,7 +77,7 @@ %{python_build} # generate html docs -%{__python2} setup.py build_sphinx +PBR_VERSION=%{version} sphinx-build -b html doc/source doc/build/html # remove the sphinx-build leftovers rm -rf doc/build/html/.{doctrees,buildinfo} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.oSMG3P/_old 2019-05-07 23:19:31.556991952 +0200 +++ /var/tmp/diff_new_pack.oSMG3P/_new 2019-05-07 23:19:31.556991952 +0200 @@ -1,6 +1,6 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/rocky/openstack/os-service-types/os-service-types.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/stein/openstack/os-service-types/os-service-types.spec.j2</param> <param name="output-name">python-os-service-types.spec</param> <param name="requirements">https://raw.githubusercontent.com/openstack/os-service-types/master/requirements.txt</param> <param name="changelog-email">cloud-de...@suse.de</param> ++++++ os-service-types-1.3.0.tar.gz -> os-service-types-1.6.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/.zuul.yaml new/os-service-types-1.6.0/.zuul.yaml --- old/os-service-types-1.3.0/.zuul.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/os-service-types-1.6.0/.zuul.yaml 2019-03-01 16:41:27.000000000 +0100 @@ -0,0 +1,8 @@ +- project: + templates: + - openstack-python-jobs + - openstack-python35-jobs + - openstack-python36-jobs + - publish-openstack-docs-pti + - check-requirements + - release-notes-jobs-python3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/AUTHORS new/os-service-types-1.6.0/AUTHORS --- old/os-service-types-1.3.0/AUTHORS 2018-08-07 23:11:05.000000000 +0200 +++ new/os-service-types-1.6.0/AUTHORS 2019-03-01 16:43:14.000000000 +0100 @@ -1,9 +1,13 @@ Andreas Jaeger <a...@suse.com> Colleen Murphy <colleen.mur...@suse.com> +Colleen Murphy <colleen.mur...@suse.de> Eric Fried <efr...@us.ibm.com> +Federico Ressi <fre...@redhat.com> Monty Taylor <mord...@inaugust.com> OpenStack Release Bot <infra-r...@openstack.org> Pavlo Shchelokovskyy <shchelokovs...@gmail.com> -Zuul <z...@review.openstack.org> +Vieri <15050873...@163.com> +ZhijunWei <wzj334965...@outlook.com> huang.zhiping <huang.zhip...@99cloud.net> +melissaml <ma....@99cloud.net> qingszhao <zhao.daq...@99cloud.net> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/ChangeLog new/os-service-types-1.6.0/ChangeLog --- old/os-service-types-1.3.0/ChangeLog 2018-08-07 23:11:05.000000000 +0200 +++ new/os-service-types-1.6.0/ChangeLog 2019-03-01 16:43:14.000000000 +0100 @@ -1,6 +1,32 @@ CHANGES ======= +1.6.0 +----- + +* Updated from OpenStack Service Type Authority + +1.5.0 +----- + +* Updated from OpenStack Service Type Authority +* Update hacking version +* Change openstack-dev to openstack-discuss + +1.4.0 +----- + +* Updated from OpenStack Service Type Authority +* Update the hacking to latst +* Don't quote {posargs} in tox.ini +* Removed older version of python added 3.5 +* Add unittest for os\_service\_types.data module +* Use keystoneauth only in applicable test +* Close descriptor after reading file +* add python 3.6 unit test job +* switch documentation job to new PTI +* import zuul job settings from project-config + 1.3.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/HACKING.rst new/os-service-types-1.6.0/HACKING.rst --- old/os-service-types-1.3.0/HACKING.rst 2018-08-07 23:06:55.000000000 +0200 +++ new/os-service-types-1.6.0/HACKING.rst 2019-03-01 16:41:27.000000000 +0100 @@ -1,4 +1,4 @@ os-service-types Style Commandments -=============================================== +=================================== -Read the OpenStack Style Commandments http://docs.openstack.org/developer/hacking/ +Read the OpenStack Style Commandments https://docs.openstack.org/hacking/latest/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/PKG-INFO new/os-service-types-1.6.0/PKG-INFO --- old/os-service-types-1.3.0/PKG-INFO 2018-08-07 23:11:05.000000000 +0200 +++ new/os-service-types-1.6.0/PKG-INFO 2019-03-01 16:43:14.000000000 +0100 @@ -1,10 +1,10 @@ Metadata-Version: 1.1 Name: os-service-types -Version: 1.3.0 +Version: 1.6.0 Summary: Python library for consuming OpenStack sevice-types-authority data Home-page: http://www.openstack.org/ Author: OpenStack -Author-email: openstack-...@lists.openstack.org +Author-email: openstack-disc...@lists.openstack.org License: UNKNOWN Description: ================ os-service-types @@ -39,5 +39,4 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.3 -Classifier: Programming Language :: Python :: 3.4 +Classifier: Programming Language :: Python :: 3.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/RELEASENOTES.rst new/os-service-types-1.6.0/RELEASENOTES.rst --- old/os-service-types-1.3.0/RELEASENOTES.rst 2018-08-07 23:11:05.000000000 +0200 +++ new/os-service-types-1.6.0/RELEASENOTES.rst 1970-01-01 01:00:00.000000000 +0100 @@ -1,62 +0,0 @@ -================ -os-service-types -================ - -.. _os-service-types_1.3.0: - -1.3.0 -===== - -.. _os-service-types_1.3.0_New Features: - -New Features ------------- - -.. releasenotes/notes/missed-notes-d16705a6a56eb3c6.yaml @ b'2e5b38088a43539621de82aa2d0c1b366c2638a9' - -- Added ``permissive`` flag to ``get_service_type`` defaulting to ``False`` - to allow returning the given type instead of ``None`` if the given type - is unknown. - -.. releasenotes/notes/missed-notes-d16705a6a56eb3c6.yaml @ b'2e5b38088a43539621de82aa2d0c1b366c2638a9' - -- Added ``container-infra`` alias for - ``container-infrastructure-management``. - -.. releasenotes/notes/missed-notes-d16705a6a56eb3c6.yaml @ b'2e5b38088a43539621de82aa2d0c1b366c2638a9' - -- Added ``function-engine`` service type for ``qinling`` project. - - -.. _os-service-types_1.2.0: - -1.2.0 -===== - -.. _os-service-types_1.2.0_New Features: - -New Features ------------- - -.. releasenotes/notes/get-service-types-f5e56799a55a6df4.yaml @ b'f9dca6f788cf31d191acc6cb9ca5a743ae84d104' - -- Factory function ``os_service_types.get_service_types`` added. Returns - a singleton instance of ServiceTypes. ServiceTypes is a very low cost - object in the first place, but it does read a data file from disk and - then the data is pretty static. - - -.. _os-service-types_1.0.0: - -1.0.0 -===== - -.. _os-service-types_1.0.0_New Features: - -New Features ------------- - -.. releasenotes/notes/add-service-types-class-574caf54f7461163.yaml @ b'48a94e00a79b5db80c9b8071207f82c16fa693d6' - -- Added ServiceTypes class, which is the primary entry point for Python developers who need access to the OpenStack Service Types Authority data. - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/os_service_types/data/__init__.py new/os-service-types-1.6.0/os_service_types/data/__init__.py --- old/os-service-types-1.3.0/os_service_types/data/__init__.py 2018-08-07 23:06:55.000000000 +0200 +++ new/os-service-types-1.6.0/os_service_types/data/__init__.py 2019-03-01 16:41:27.000000000 +0100 @@ -12,14 +12,20 @@ # implied. # See the License for the specific language governing permissions and # limitations under the License. -__all__ = ['read_data'] import json import os +__all__ = ['read_data'] + DATA_DIR = os.path.dirname(__file__) def read_data(filename): - """Return data that is shipped inside the python package.""" - return json.load(open(os.path.join(DATA_DIR, filename), 'r')) + """Return data that is shipped inside the Python package. + + """ + + filepath = os.path.join(DATA_DIR, filename) + with open(filepath, 'r') as fd: + return json.load(fd) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/os_service_types/data/service-types.json new/os-service-types-1.6.0/os_service_types/data/service-types.json --- old/os-service-types-1.3.0/os_service_types/data/service-types.json 2018-08-07 23:06:55.000000000 +0200 +++ new/os-service-types-1.6.0/os_service_types/data/service-types.json 2019-03-01 16:41:31.000000000 +0100 @@ -1,5 +1,12 @@ { "all_types_by_service_type": { + "accelerator": [ + "accelerator" + ], + "admin-logic": [ + "admin-logic", + "registration" + ], "alarm": [ "alarm", "alarming" @@ -153,6 +160,9 @@ ] }, "forward": { + "admin-logic": [ + "registration" + ], "alarm": [ "alarming" ], @@ -216,6 +226,14 @@ ] }, "primary_service_by_project": { + "adjutant": { + "aliases": [ + "registration" + ], + "api_reference": "https://developer.openstack.org/api-ref/admin-logic/", + "project": "adjutant", + "service_type": "admin-logic" + }, "aodh": { "aliases": [ "alarming" @@ -267,6 +285,11 @@ "project": "congress", "service_type": "operator-policy" }, + "cyborg": { + "api_reference": "https://docs.openstack.org/cyborg/latest/admin/api.html", + "project": "cyborg", + "service_type": "accelerator" + }, "designate": { "api_reference": "https://developer.openstack.org/api-ref/dns/", "project": "designate", @@ -402,6 +425,11 @@ "project": "panko", "service_type": "event" }, + "placement": { + "api_reference": "https://developer.openstack.org/api-ref/placement/", + "project": "placement", + "service_type": "placement" + }, "qinling": { "api_reference": "https://developer.openstack.org/api-ref/function-engine/", "project": "qinling", @@ -507,6 +535,7 @@ "monitoring-log-api": "monitoring-logging", "policy": "operator-policy", "rca": "root-cause-analysis", + "registration": "admin-logic", "resource-cluster": "clustering", "share": "shared-file-system", "sharev2": "shared-file-system", @@ -518,6 +547,9 @@ "workflowv2": "workflow" }, "service_types_by_project": { + "adjutant": [ + "admin-logic" + ], "aodh": [ "alarm" ], @@ -539,6 +571,9 @@ "congress": [ "operator-policy" ], + "cyborg": [ + "accelerator" + ], "designate": [ "dns" ], @@ -597,8 +632,7 @@ "network" ], "nova": [ - "compute", - "placement" + "compute" ], "octavia": [ "load-balancer" @@ -606,6 +640,9 @@ "panko": [ "event" ], + "placement": [ + "placement" + ], "qinling": [ "function-engine" ], @@ -898,8 +935,7 @@ }, { "api_reference": "https://developer.openstack.org/api-ref/placement/", - "project": "nova", - "secondary": true, + "project": "placement", "service_type": "placement" }, { @@ -919,8 +955,21 @@ "api_reference": "https://developer.openstack.org/api-ref/function-engine/", "project": "qinling", "service_type": "function-engine" + }, + { + "api_reference": "https://docs.openstack.org/cyborg/latest/admin/api.html", + "project": "cyborg", + "service_type": "accelerator" + }, + { + "aliases": [ + "registration" + ], + "api_reference": "https://developer.openstack.org/api-ref/admin-logic/", + "project": "adjutant", + "service_type": "admin-logic" } ], - "sha": "23fd2d542add37a1b3ff5b03daca64fb1b4dc50a", - "version": "2018-07-24T00:07:00.591099" + "sha": "069103688825f5e658afcdb30affd71f7b992cc6", + "version": "2019-03-01T04:29:31.883253" } \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/os_service_types/exc.py new/os-service-types-1.6.0/os_service_types/exc.py --- old/os-service-types-1.3.0/os_service_types/exc.py 2018-08-07 23:06:55.000000000 +0200 +++ new/os-service-types-1.6.0/os_service_types/exc.py 2019-03-01 16:41:27.000000000 +0100 @@ -12,11 +12,12 @@ # implied. # See the License for the specific language governing permissions and # limitations under the License. -__all__ = ['warn', 'AliasUsageWarning'] import textwrap import warnings +__all__ = ['warn', 'AliasUsageWarning'] + def warn(warning, **kwargs): """Emit a warning that has builtin message text.""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/os_service_types/service_types.py new/os-service-types-1.6.0/os_service_types/service_types.py --- old/os-service-types-1.3.0/os_service_types/service_types.py 2018-08-07 23:06:55.000000000 +0200 +++ new/os-service-types-1.6.0/os_service_types/service_types.py 2019-03-01 16:41:27.000000000 +0100 @@ -12,13 +12,14 @@ # implied. # See the License for the specific language governing permissions and # limitations under the License. -__all__ = ['ServiceTypes'] import copy import os_service_types.data from os_service_types import exc +__all__ = ['ServiceTypes'] + BUILTIN_DATA = os_service_types.data.read_data('service-types.json') SERVICE_TYPES_URL = "https://service-types.openstack.org/service-types.json" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/os_service_types/tests/base.py new/os-service-types-1.6.0/os_service_types/tests/base.py --- old/os-service-types-1.3.0/os_service_types/tests/base.py 2018-08-07 23:06:55.000000000 +0200 +++ new/os-service-types-1.6.0/os_service_types/tests/base.py 2019-03-01 16:41:27.000000000 +0100 @@ -17,8 +17,9 @@ import copy import datetime +import os +import tempfile -import keystoneauth1.session from oslotest import base import os_service_types.service_types @@ -30,9 +31,6 @@ def setUp(self): super(TestCase, self).setUp() - # use keystoneauth1 to get a Sessiom with no auth information - self.session = keystoneauth1.session.Session() - self.builtin_content = os_service_types.service_types.BUILTIN_DATA self.builtin_version = self.builtin_content['version'] @@ -50,7 +48,7 @@ service_type='compute', official='compute', aliases=[], all_types=['compute'], api_reference='compute', api_reference_project=None, - is_secondary=False, all_services=['compute', 'placement'], + is_secondary=False, all_services=['compute'], is_known=True, is_alias=False, is_official=True, project='nova')), ('volumev2', dict( service_type='volumev2', official='block-storage', aliases=[], @@ -95,10 +93,10 @@ project='neutron')), ('placement', dict( service_type='placement', official='placement', aliases=[], - all_types=['placement'], all_services=['compute', 'placement'], + all_types=['placement'], all_services=['placement'], api_reference='placement', api_reference_project=None, - is_known=True, is_alias=False, is_official=True, is_secondary=True, - project='nova')), + is_known=True, is_alias=False, is_official=True, + is_secondary=False, project='placement')), ('missing', dict( service_type='missing', official=None, aliases=[], all_services=[], @@ -235,3 +233,19 @@ self.assertEqual( data, self.service_types.get_service_data(self.all_services[index])) + + +class TemporaryFileMixin(base.BaseTestCase): + + def create_temp_file(self, mode='w', suffix='', prefix='tmp', dir=None, + text=False, delete=True): + fd, name = tempfile.mkstemp(suffix=suffix, prefix=prefix, dir=dir, + text=text) + fd = os.fdopen(fd, mode) + if delete: + self.addCleanup(self._delete_temp, fd, name) + return fd, name + + def _delete_temp(self, fd, name): + fd.close() + os.unlink(name) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/os_service_types/tests/test_data.py new/os-service-types-1.6.0/os_service_types/tests/test_data.py --- old/os-service-types-1.3.0/os_service_types/tests/test_data.py 1970-01-01 01:00:00.000000000 +0100 +++ new/os-service-types-1.6.0/os_service_types/tests/test_data.py 2019-03-01 16:41:27.000000000 +0100 @@ -0,0 +1,61 @@ +# -*- coding: utf-8 -*- + +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +""" +test_data +------------ + +Tests for `os_service_types.data` module. + +""" + +import json + +import six + +from os_service_types import data +from os_service_types.tests import base + + +if six.PY2: + # Python 2 has not FileNotFoundError exception + FileNotFoundError = IOError + + +class TestData(base.TestCase, base.TemporaryFileMixin): + + def setUp(self): + super(TestData, self).setUp() + + def test_load(self): + json_data = {'some_key': 'some_value'} + filename = self.create_json(json_data) + actual_data = data.read_data(filename) + self.assertEqual(json_data, actual_data) + + def test_load_service_types(self): + json_data = data.read_data('service-types.json') + for key in ["all_types_by_service_type", "forward", + "primary_service_by_project", "reverse"]: + self.assertIn(key, json_data) + + def test_load_non_existing(self): + self.assertRaises(FileNotFoundError, data.read_data, + '/non-existing-file') + + def create_json(self, json_data): + fd, name = self.create_temp_file(suffix='.json') + with fd: + json.dump(json_data, fd) + return name diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/os_service_types/tests/test_remote.py new/os-service-types-1.6.0/os_service_types/tests/test_remote.py --- old/os-service-types-1.3.0/os_service_types/tests/test_remote.py 2018-08-07 23:06:55.000000000 +0200 +++ new/os-service-types-1.6.0/os_service_types/tests/test_remote.py 2019-03-01 16:41:27.000000000 +0100 @@ -24,6 +24,8 @@ from requests_mock.contrib import fixture as rm_fixture from testscenarios import load_tests_apply_scenarios as load_tests # noqa +import keystoneauth1.session + import os_service_types import os_service_types.service_types from os_service_types.tests import base @@ -39,6 +41,8 @@ 'GET', os_service_types.service_types.SERVICE_TYPES_URL, json=self.remote_content, headers={'etag': self.getUniqueString('etag')}) + # use keystoneauth1 to get a Sessiom with no auth information + self.session = keystoneauth1.session.Session() # Make an object that fetches from the network self.service_types = os_service_types.ServiceTypes( session=self.session) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/os_service_types.egg-info/PKG-INFO new/os-service-types-1.6.0/os_service_types.egg-info/PKG-INFO --- old/os-service-types-1.3.0/os_service_types.egg-info/PKG-INFO 2018-08-07 23:11:05.000000000 +0200 +++ new/os-service-types-1.6.0/os_service_types.egg-info/PKG-INFO 2019-03-01 16:43:14.000000000 +0100 @@ -1,10 +1,10 @@ Metadata-Version: 1.1 Name: os-service-types -Version: 1.3.0 +Version: 1.6.0 Summary: Python library for consuming OpenStack sevice-types-authority data Home-page: http://www.openstack.org/ Author: OpenStack -Author-email: openstack-...@lists.openstack.org +Author-email: openstack-disc...@lists.openstack.org License: UNKNOWN Description: ================ os-service-types @@ -39,5 +39,4 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.3 -Classifier: Programming Language :: Python :: 3.4 +Classifier: Programming Language :: Python :: 3.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/os_service_types.egg-info/SOURCES.txt new/os-service-types-1.6.0/os_service_types.egg-info/SOURCES.txt --- old/os-service-types-1.3.0/os_service_types.egg-info/SOURCES.txt 2018-08-07 23:11:05.000000000 +0200 +++ new/os-service-types-1.6.0/os_service_types.egg-info/SOURCES.txt 2019-03-01 16:43:14.000000000 +0100 @@ -1,6 +1,7 @@ .coveragerc .mailmap .stestr.conf +.zuul.yaml AUTHORS CONTRIBUTING.rst ChangeLog @@ -35,6 +36,7 @@ os_service_types/tests/__init__.py os_service_types/tests/base.py os_service_types/tests/test_builtin.py +os_service_types/tests/test_data.py os_service_types/tests/test_match.py os_service_types/tests/test_misc.py os_service_types/tests/test_remote.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/os_service_types.egg-info/pbr.json new/os-service-types-1.6.0/os_service_types.egg-info/pbr.json --- old/os-service-types-1.3.0/os_service_types.egg-info/pbr.json 2018-08-07 23:11:05.000000000 +0200 +++ new/os-service-types-1.6.0/os_service_types.egg-info/pbr.json 2019-03-01 16:43:14.000000000 +0100 @@ -1 +1 @@ -{"git_version": "2e5b380", "is_release": true} \ No newline at end of file +{"git_version": "cf1419a", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/releasenotes/notes/reno.cache new/os-service-types-1.6.0/releasenotes/notes/reno.cache --- old/os-service-types-1.3.0/releasenotes/notes/reno.cache 2018-08-07 23:11:05.000000000 +0200 +++ new/os-service-types-1.6.0/releasenotes/notes/reno.cache 1970-01-01 01:00:00.000000000 +0100 @@ -1,45 +0,0 @@ ---- -file-contents: - releasenotes/notes/add-service-types-class-574caf54f7461163.yaml: - features: ['Added ServiceTypes class, which is the primary entry point for Python - developers who need access to the OpenStack Service Types Authority data.'] - releasenotes/notes/get-service-types-f5e56799a55a6df4.yaml: - features: ['Factory function ``os_service_types.get_service_types`` added. Returns - - a singleton instance of ServiceTypes. ServiceTypes is a very low cost - - object in the first place, but it does read a data file from disk and - - then the data is pretty static. - - '] - releasenotes/notes/missed-notes-d16705a6a56eb3c6.yaml: - features: ['Added ``permissive`` flag to ``get_service_type`` defaulting to ``False`` - - to allow returning the given type instead of ``None`` if the given type - - is unknown. - - ', 'Added ``container-infra`` alias for - - ``container-infrastructure-management``. - - ', 'Added ``function-engine`` service type for ``qinling`` project. - - '] -notes: -- files: - - - releasenotes/notes/missed-notes-d16705a6a56eb3c6.yaml - - !!binary | - MmU1YjM4MDg4YTQzNTM5NjIxZGU4MmFhMmQwYzFiMzY2YzI2MzhhOQ== - version: 1.3.0 -- files: - - - releasenotes/notes/get-service-types-f5e56799a55a6df4.yaml - - !!binary | - ZjlkY2E2Zjc4OGNmMzFkMTkxYWNjNmNiOWNhNWE3NDNhZTg0ZDEwNA== - version: 1.2.0 -- files: - - - releasenotes/notes/add-service-types-class-574caf54f7461163.yaml - - !!binary | - NDhhOTRlMDBhNzliNWRiODBjOWI4MDcxMjA3ZjgyYzE2ZmE2OTNkNg== - version: 1.0.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/setup.cfg new/os-service-types-1.6.0/setup.cfg --- old/os-service-types-1.3.0/setup.cfg 2018-08-07 23:11:05.000000000 +0200 +++ new/os-service-types-1.6.0/setup.cfg 2019-03-01 16:43:14.000000000 +0100 @@ -4,7 +4,7 @@ description-file = README.rst author = OpenStack -author-email = openstack-...@lists.openstack.org +author-email = openstack-disc...@lists.openstack.org home-page = http://www.openstack.org/ classifier = Environment :: OpenStack @@ -16,8 +16,7 @@ Programming Language :: Python :: 2 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 - Programming Language :: Python :: 3.3 - Programming Language :: Python :: 3.4 + Programming Language :: Python :: 3.5 [files] packages = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/test-requirements.txt new/os-service-types-1.6.0/test-requirements.txt --- old/os-service-types-1.3.0/test-requirements.txt 2018-08-07 23:06:55.000000000 +0200 +++ new/os-service-types-1.6.0/test-requirements.txt 2019-03-01 16:41:27.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. -hacking<0.13,>=0.12.0 # Apache-2.0 +hacking>=1.1.0,<1.2.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 python-subunit>=1.0.0 # Apache-2.0/BSD @@ -15,3 +15,4 @@ keystoneauth1>=3.4.0 # Apache-2.0 # releasenotes reno>=2.5.0 # Apache-2.0 +six>=1.10.0 # MIT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-service-types-1.3.0/tox.ini new/os-service-types-1.6.0/tox.ini --- old/os-service-types-1.3.0/tox.ini 2018-08-07 23:06:55.000000000 +0200 +++ new/os-service-types-1.6.0/tox.ini 2019-03-01 16:41:27.000000000 +0100 @@ -28,7 +28,7 @@ setenv = PYTHON=coverage run --source os_service_types --parallel-mode commands = - stestr run '{posargs}' + stestr run {posargs} coverage combine coverage html -d cover coverage xml -o cover/coverage.xml