Hello community, here is the log from the commit of package python-oslotest for openSUSE:Factory checked in at 2017-12-06 08:59:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslotest (Old) and /work/SRC/openSUSE:Factory/.python-oslotest.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslotest" Wed Dec 6 08:59:26 2017 rev:12 rq:548449 version:2.18.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslotest/python-oslotest.changes 2017-08-28 15:31:41.134273916 +0200 +++ /work/SRC/openSUSE:Factory/.python-oslotest.new/python-oslotest.changes 2017-12-06 08:59:27.835063835 +0100 @@ -1,0 +2,9 @@ +Thu Nov 23 17:11:32 UTC 2017 - [email protected] + +- update to version 2.18.1 + - Update reno for stable/pike + - Use assertIsNone(...) instead of assertIs(None,...) + - Updated from global requirements + - Deprecate oslotest.functional + +------------------------------------------------------------------- Old: ---- oslotest-2.17.0.tar.gz New: ---- oslotest-2.18.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslotest.spec ++++++ --- /var/tmp/diff_new_pack.SehOAZ/_old 2017-12-06 08:59:28.503039385 +0100 +++ /var/tmp/diff_new_pack.SehOAZ/_new 2017-12-06 08:59:28.507039238 +0100 @@ -17,35 +17,54 @@ Name: python-oslotest -Version: 2.17.0 +Version: 2.18.1 Release: 0 Summary: OpenStack test framework License: Apache-2.0 Group: Development/Languages/Python Url: https://launchpad.net/oslotest -Source0: https://pypi.io/packages/source/o/oslotest/oslotest-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/o/oslotest/oslotest-%{version}.tar.gz BuildRequires: openstack-macros -BuildRequires: python-debtcollector >= 1.2.0 BuildRequires: python-devel -BuildRequires: python-fixtures >= 3.0.0 -BuildRequires: python-mock >= 2.0 -BuildRequires: python-mox3 >= 0.7.0 -BuildRequires: python-pbr >= 2.0.0 -BuildRequires: python-python-subunit >= 0.0.18 -BuildRequires: python-six >= 1.9.0 -BuildRequires: python-testrepository >= 0.0.18 -BuildRequires: python-testtools >= 1.4.0 -Requires: python-debtcollector >= 1.2.0 -Requires: python-fixtures >= 3.0.0 -Requires: python-mock >= 2.0 -Requires: python-mox3 >= 0.7.0 +BuildRequires: python2-debtcollector +BuildRequires: python2-fixtures +BuildRequires: python2-mock +BuildRequires: python2-mox3 +BuildRequires: python2-pbr +BuildRequires: python2-python-subunit +BuildRequires: python2-six +BuildRequires: python2-testrepository +BuildRequires: python2-testtools +BuildRequires: python3-debtcollector +BuildRequires: python3-devel +BuildRequires: python3-fixtures +BuildRequires: python3-mock +BuildRequires: python3-mox3 +BuildRequires: python3-pbr +BuildRequires: python3-python-subunit +BuildRequires: python3-six +BuildRequires: python3-testrepository +BuildRequires: python3-testtools +Requires: python-debtcollector +Requires: python-fixtures +Requires: python-mock +Requires: python-mox3 # NOTE: python-os-client-config is only needed for functional testing -# Requires: python-os-client-config >= 1.27.0 -Requires: python-python-subunit >= 0.0.18 -Requires: python-six >= 1.9.0 -Requires: python-testrepository >= 0.0.18 -Requires: python-testtools >= 1.4.0 +# Requires: python-os-client-config +Requires: python-python-subunit +Requires: python-six +Requires: python-testrepository +Requires: python-testtools 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 The Oslo Test framework provides common fixtures, support for debugging, and @@ -56,21 +75,36 @@ %py_req_cleanup %build -%{py2_build} +%python_build %install -%{py2_install} +%python_install +%python_clone -a %{buildroot}%{_bindir}/oslo_debug_helper +%python_clone -a %{buildroot}%{_bindir}/oslo_run_cross_tests +%python_clone -a %{buildroot}%{_bindir}/oslo_run_pre_release_tests + +%post +%python_install_alternative oslo_debug_helper +%python_install_alternative oslo_run_cross_tests +%python_install_alternative oslo_run_pre_release_tests + +%postun +%python_uninstall_alternative oslo_debug_helper +%python_uninstall_alternative oslo_run_cross_tests +%python_uninstall_alternative oslo_run_pre_release_tests %check -%{__python2} setup.py test +%{python_expand rm -rf .testrepository +$python setup.py testr +} -%files +%files %{python_files} %license LICENSE %doc ChangeLog README.rst -%{_bindir}/oslo_debug_helper -%{_bindir}/oslo_run_cross_tests -%{_bindir}/oslo_run_pre_release_tests -%{python2_sitelib}/oslotest -%{python2_sitelib}/oslotest*egg-info +%python_alternative %{_bindir}/oslo_debug_helper +%python_alternative %{_bindir}/oslo_run_cross_tests +%python_alternative %{_bindir}/oslo_run_pre_release_tests +%{python_sitelib}/oslotest +%{python_sitelib}/oslotest*egg-info %changelog ++++++ _service ++++++ --- /var/tmp/diff_new_pack.SehOAZ/_old 2017-12-06 08:59:28.539038067 +0100 +++ /var/tmp/diff_new_pack.SehOAZ/_new 2017-12-06 08:59:28.543037920 +0100 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/openstack/oslotest/oslotest.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/oslotest/oslotest.spec.j2</param> <param name="output-name">python-oslotest.spec</param> - <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/global-requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/global-requirements.txt</param> <param name="changelog-email">[email protected]</param> <param name="changelog-provider">gh,openstack,oslotest</param> </service> ++++++ oslotest-2.17.0.tar.gz -> oslotest-2.18.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.17.0/AUTHORS new/oslotest-2.18.1/AUTHORS --- old/oslotest-2.17.0/AUTHORS 2017-07-18 15:10:30.000000000 +0200 +++ new/oslotest-2.18.1/AUTHORS 2017-09-25 16:20:22.000000000 +0200 @@ -42,6 +42,7 @@ Sergey Kraynev <[email protected]> Soren Hansen <[email protected]> Steve Martinelli <[email protected]> +Thomas Bechtold <[email protected]> Tony Breeds <[email protected]> Van Hung Pham <[email protected]> Victor Stinner <[email protected]> @@ -49,6 +50,7 @@ Yuriy Taraday <[email protected]> Zhongyue Luo <[email protected]> kavithahr <[email protected]> +lingyongxu <[email protected]> melissaml <[email protected]> ricolin <[email protected]> venkatamahesh <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.17.0/ChangeLog new/oslotest-2.18.1/ChangeLog --- old/oslotest-2.17.0/ChangeLog 2017-07-18 15:10:30.000000000 +0200 +++ new/oslotest-2.18.1/ChangeLog 2017-09-25 16:20:22.000000000 +0200 @@ -1,10 +1,26 @@ CHANGES ======= +2.18.1 +------ + + +2.18.0 +------ + +* Updated from global requirements +* Updated from global requirements +* Deprecate oslotest.functional +* Updated from global requirements +* Updated from global requirements +* Update reno for stable/pike +* Updated from global requirements + 2.17.0 ------ * Update URLs in documents according to document migration +* Use assertIsNone(...) instead of assertIs(None,...) * rearrange content to fit the new standard layout * Using fixtures instead of deprecated mockpatch module diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.17.0/PKG-INFO new/oslotest-2.18.1/PKG-INFO --- old/oslotest-2.17.0/PKG-INFO 2017-07-18 15:10:30.000000000 +0200 +++ new/oslotest-2.18.1/PKG-INFO 2017-09-25 16:20:22.000000000 +0200 @@ -1,11 +1,12 @@ Metadata-Version: 1.1 Name: oslotest -Version: 2.17.0 +Version: 2.18.1 Summary: Oslo test framework Home-page: https://docs.openstack.org/oslotest/latest/ Author: OpenStack Author-email: [email protected] License: UNKNOWN +Description-Content-Type: UNKNOWN Description: ======================== Team and repository tags ======================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.17.0/oslotest/functional.py new/oslotest-2.18.1/oslotest/functional.py --- old/oslotest-2.17.0/oslotest/functional.py 2017-07-18 15:08:50.000000000 +0200 +++ new/oslotest-2.18.1/oslotest/functional.py 2017-09-25 16:18:11.000000000 +0200 @@ -13,9 +13,15 @@ # See the License for the specific language governing permissions and # limitations under the License. +from debtcollector import removals import os_client_config +removals.removed_module("oslotest.functional", + version="2.9.0", removal_version="3.0", + message="oslotest.functional will be removed.") + + def _get_openstack_auth(openstack_config, cloud_name, override_name): try: cloud_config = openstack_config.get_one_cloud(cloud_name) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.17.0/oslotest/tests/unit/test_base.py new/oslotest-2.18.1/oslotest/tests/unit/test_base.py --- old/oslotest-2.17.0/oslotest/tests/unit/test_base.py 2017-07-18 15:08:50.000000000 +0200 +++ new/oslotest-2.18.1/oslotest/tests/unit/test_base.py 2017-09-25 16:18:11.000000000 +0200 @@ -104,16 +104,16 @@ mock_env.get.return_value = '' tc = self.FakeTestCase("test_fake_test") tc.setUp() - self.assertIs(None, tc.output_fixture.stdout) - self.assertIs(None, tc.output_fixture.stderr) + self.assertIsNone(tc.output_fixture.stdout) + self.assertIsNone(tc.output_fixture.stderr) @mock.patch('os.environ') def test_enabled(self, mock_env): mock_env.get.return_value = 'True' tc = self.FakeTestCase("test_fake_test") tc.setUp() - self.assertIsNot(None, tc.output_fixture.stdout) - self.assertIsNot(None, tc.output_fixture.stderr) + self.assertIsNotNone(tc.output_fixture.stdout) + self.assertIsNotNone(tc.output_fixture.stderr) class TestManualMock(base.BaseTestCase): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.17.0/oslotest/tests/unit/test_output.py new/oslotest-2.18.1/oslotest/tests/unit/test_output.py --- old/oslotest-2.17.0/oslotest/tests/unit/test_output.py 2017-07-18 15:08:50.000000000 +0200 +++ new/oslotest-2.18.1/oslotest/tests/unit/test_output.py 2017-09-25 16:18:11.000000000 +0200 @@ -27,8 +27,8 @@ mock_env.get.return_value = '' f = output.CaptureOutput() f.setUp() - self.assertIs(None, f.stdout) - self.assertIs(None, f.stderr) + self.assertIsNone(f.stdout) + self.assertIsNone(f.stderr) self.assertIsNot(sys.stdout, f.stdout) self.assertIsNot(sys.stderr, f.stderr) @@ -37,7 +37,7 @@ mock_env.get.return_value = 'True' f = output.CaptureOutput() f.setUp() - self.assertIsNot(None, f.stdout) - self.assertIsNot(None, f.stderr) + self.assertIsNotNone(f.stdout) + self.assertIsNotNone(f.stderr) self.assertIs(sys.stdout, f.stdout) self.assertIs(sys.stderr, f.stderr) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.17.0/oslotest.egg-info/PKG-INFO new/oslotest-2.18.1/oslotest.egg-info/PKG-INFO --- old/oslotest-2.17.0/oslotest.egg-info/PKG-INFO 2017-07-18 15:10:30.000000000 +0200 +++ new/oslotest-2.18.1/oslotest.egg-info/PKG-INFO 2017-09-25 16:20:22.000000000 +0200 @@ -1,11 +1,12 @@ Metadata-Version: 1.1 Name: oslotest -Version: 2.17.0 +Version: 2.18.1 Summary: Oslo test framework Home-page: https://docs.openstack.org/oslotest/latest/ Author: OpenStack Author-email: [email protected] License: UNKNOWN +Description-Content-Type: UNKNOWN Description: ======================== Team and repository tags ======================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.17.0/oslotest.egg-info/SOURCES.txt new/oslotest-2.18.1/oslotest.egg-info/SOURCES.txt --- old/oslotest-2.17.0/oslotest.egg-info/SOURCES.txt 2017-07-18 15:10:30.000000000 +0200 +++ new/oslotest-2.18.1/oslotest.egg-info/SOURCES.txt 2017-09-25 16:20:22.000000000 +0200 @@ -54,9 +54,11 @@ oslotest/tools/__init__.py oslotest/tools/config.py releasenotes/notes/add-reno-996dd44974d53238.yaml +releasenotes/notes/deprecate-functional-module-fbed600d2fa026fc.yaml releasenotes/source/conf.py releasenotes/source/index.rst releasenotes/source/ocata.rst +releasenotes/source/pike.rst releasenotes/source/unreleased.rst releasenotes/source/_static/.placeholder releasenotes/source/_templates/.placeholder diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.17.0/oslotest.egg-info/pbr.json new/oslotest-2.18.1/oslotest.egg-info/pbr.json --- old/oslotest-2.17.0/oslotest.egg-info/pbr.json 2017-07-18 15:10:30.000000000 +0200 +++ new/oslotest-2.18.1/oslotest.egg-info/pbr.json 2017-09-25 16:20:22.000000000 +0200 @@ -1 +1 @@ -{"git_version": "491d9ca", "is_release": true} \ No newline at end of file +{"git_version": "eb544da", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.17.0/oslotest.egg-info/requires.txt new/oslotest-2.18.1/oslotest.egg-info/requires.txt --- old/oslotest-2.17.0/oslotest.egg-info/requires.txt 2017-07-18 15:10:30.000000000 +0200 +++ new/oslotest-2.18.1/oslotest.egg-info/requires.txt 2017-09-25 16:20:22.000000000 +0200 @@ -3,7 +3,7 @@ six>=1.9.0 testrepository>=0.0.18 testtools>=1.4.0 -mock>=2.0 -mox3!=0.19.0,>=0.7.0 -os-client-config>=1.27.0 +mock>=2.0.0 +mox3>=0.20.0 +os-client-config>=1.28.0 debtcollector>=1.2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.17.0/releasenotes/notes/deprecate-functional-module-fbed600d2fa026fc.yaml new/oslotest-2.18.1/releasenotes/notes/deprecate-functional-module-fbed600d2fa026fc.yaml --- old/oslotest-2.17.0/releasenotes/notes/deprecate-functional-module-fbed600d2fa026fc.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-2.18.1/releasenotes/notes/deprecate-functional-module-fbed600d2fa026fc.yaml 2017-09-25 16:18:11.000000000 +0200 @@ -0,0 +1,4 @@ +--- +deprecations: + - | + oslotest.functional is deprecated and will be removed with oslotest 3.0.0 . diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.17.0/releasenotes/source/index.rst new/oslotest-2.18.1/releasenotes/source/index.rst --- old/oslotest-2.17.0/releasenotes/source/index.rst 2017-07-18 15:08:50.000000000 +0200 +++ new/oslotest-2.18.1/releasenotes/source/index.rst 2017-09-25 16:18:11.000000000 +0200 @@ -6,4 +6,5 @@ :maxdepth: 1 unreleased + pike ocata diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.17.0/releasenotes/source/pike.rst new/oslotest-2.18.1/releasenotes/source/pike.rst --- old/oslotest-2.17.0/releasenotes/source/pike.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-2.18.1/releasenotes/source/pike.rst 2017-09-25 16:18:11.000000000 +0200 @@ -0,0 +1,6 @@ +=================================== + Pike Series Release Notes +=================================== + +.. release-notes:: + :branch: stable/pike diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.17.0/requirements.txt new/oslotest-2.18.1/requirements.txt --- old/oslotest-2.17.0/requirements.txt 2017-07-18 15:08:50.000000000 +0200 +++ new/oslotest-2.18.1/requirements.txt 2017-09-25 16:18:11.000000000 +0200 @@ -7,7 +7,7 @@ six>=1.9.0 # MIT testrepository>=0.0.18 # Apache-2.0/BSD testtools>=1.4.0 # MIT -mock>=2.0 # BSD -mox3!=0.19.0,>=0.7.0 # Apache-2.0 -os-client-config>=1.27.0 # Apache-2.0 +mock>=2.0.0 # BSD +mox3>=0.20.0 # Apache-2.0 +os-client-config>=1.28.0 # Apache-2.0 debtcollector>=1.2.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.17.0/test-requirements.txt new/oslotest-2.18.1/test-requirements.txt --- old/oslotest-2.17.0/test-requirements.txt 2017-07-18 15:08:50.000000000 +0200 +++ new/oslotest-2.18.1/test-requirements.txt 2017-09-25 16:18:11.000000000 +0200 @@ -11,7 +11,7 @@ # this is required for the docs build jobs sphinx>=1.6.2 # BSD -openstackdocstheme>=1.11.0 # Apache-2.0 -oslo.config!=4.3.0,!=4.4.0,>=4.0.0 # Apache-2.0 +openstackdocstheme>=1.17.0 # Apache-2.0 +oslo.config>=4.6.0 # Apache-2.0 -reno!=2.3.1,>=1.8.0 # Apache-2.0 +reno>=2.5.0 # Apache-2.0
