Hello community, here is the log from the commit of package python-oslotest for openSUSE:Factory checked in at 2018-09-07 15:39:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslotest (Old) and /work/SRC/openSUSE:Factory/.python-oslotest.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslotest" Fri Sep 7 15:39:22 2018 rev:15 rq:633114 version:3.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslotest/python-oslotest.changes 2018-03-19 23:36:48.516750679 +0100 +++ /work/SRC/openSUSE:Factory/.python-oslotest.new/python-oslotest.changes 2018-09-07 15:39:23.474536957 +0200 @@ -1,0 +2,15 @@ +Mon Sep 3 09:33:52 UTC 2018 - [email protected] + +- update to version 3.4.2 + - set default python to python3 + - Update reno for stable/queens + - Update links in README + - make the CaptureOutput fixture easier to control + - Trivial: Update pypi url to new url + - mock: Apply autospec to a mock's return_value + - mock: Properly patch mock.MagicMock + - Updated from global requirements + - add lower-constraints job + - mock: Fixes mock.patch.multiple autospec + +------------------------------------------------------------------- Old: ---- oslotest-3.2.0.tar.gz New: ---- oslotest-3.4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslotest.spec ++++++ --- /var/tmp/diff_new_pack.kGOLDR/_old 2018-09-07 15:39:23.850536554 +0200 +++ /var/tmp/diff_new_pack.kGOLDR/_new 2018-09-07 15:39:23.850536554 +0200 @@ -17,35 +17,35 @@ Name: python-oslotest -Version: 3.2.0 +Version: 3.4.2 Release: 0 Summary: OpenStack test framework License: Apache-2.0 Group: Development/Languages/Python -Url: https://launchpad.net/oslotest +URL: https://launchpad.net/oslotest Source0: https://files.pythonhosted.org/packages/source/o/oslotest/oslotest-%{version}.tar.gz BuildRequires: openstack-macros BuildRequires: python-devel -BuildRequires: python2-debtcollector >= 1.2.0 +BuildRequires: python2-debtcollector BuildRequires: python2-fixtures >= 3.0.0 BuildRequires: python2-mock >= 2.0.0 BuildRequires: python2-mox3 >= 0.20.0 -BuildRequires: python2-pbr >= 2.0.0 +BuildRequires: python2-pbr BuildRequires: python2-python-subunit >= 1.0.0 BuildRequires: python2-six >= 1.10.0 -BuildRequires: python2-testrepository >= 0.0.18 +BuildRequires: python2-testrepository BuildRequires: python2-testtools >= 2.2.0 -BuildRequires: python3-debtcollector >= 1.2.0 +BuildRequires: python3-debtcollector BuildRequires: python3-devel BuildRequires: python3-fixtures >= 3.0.0 BuildRequires: python3-mock >= 2.0.0 BuildRequires: python3-mox3 >= 0.20.0 -BuildRequires: python3-pbr >= 2.0.0 +BuildRequires: python3-pbr BuildRequires: python3-python-subunit >= 1.0.0 BuildRequires: python3-six >= 1.10.0 -BuildRequires: python3-testrepository >= 0.0.18 +BuildRequires: python3-testrepository BuildRequires: python3-testtools >= 2.2.0 -Requires: python-debtcollector >= 1.2.0 +Requires: python-debtcollector Requires: python-fixtures >= 3.0.0 Requires: python-mock >= 2.0.0 Requires: python-mox3 >= 0.20.0 @@ -53,7 +53,7 @@ # Requires: python-os-client-config >= 1.28.0 Requires: python-python-subunit >= 1.0.0 Requires: python-six >= 1.10.0 -Requires: python-testrepository >= 0.0.18 +Requires: python-testrepository Requires: python-testtools >= 2.2.0 BuildArch: noarch %if 0%{?suse_version} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.kGOLDR/_old 2018-09-07 15:39:23.870536532 +0200 +++ /var/tmp/diff_new_pack.kGOLDR/_new 2018-09-07 15:39:23.870536532 +0200 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/queens/openstack/oslotest/oslotest.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/rocky/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/queens/requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/oslotest/stable/rocky/requirements.txt</param> <param name="changelog-email">[email protected]</param> <param name="changelog-provider">gh,openstack,oslotest</param> </service> ++++++ oslotest-3.2.0.tar.gz -> oslotest-3.4.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/.zuul.yaml new/oslotest-3.4.2/.zuul.yaml --- old/oslotest-3.2.0/.zuul.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-3.4.2/.zuul.yaml 2018-05-01 23:06:37.000000000 +0200 @@ -0,0 +1,7 @@ +- project: + check: + jobs: + - openstack-tox-lower-constraints + gate: + jobs: + - openstack-tox-lower-constraints diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/ChangeLog new/oslotest-3.4.2/ChangeLog --- old/oslotest-3.2.0/ChangeLog 2018-01-09 16:24:40.000000000 +0100 +++ new/oslotest-3.4.2/ChangeLog 2018-05-01 23:09:53.000000000 +0200 @@ -1,6 +1,35 @@ CHANGES ======= +3.4.2 +----- + +* Trivial: Update pypi url to new url +* set default python to python3 +* mock: Apply autospec to a mock's return\_value + +3.4.1 +----- + +* mock: Properly patch mock.MagicMock + +3.4.0 +----- + +* add lower-constraints job +* make the CaptureOutput fixture easier to control +* Updated from global requirements + +3.3.0 +----- + +* Updated from global requirements +* Update links in README +* Update reno for stable/queens +* Updated from global requirements +* Updated from global requirements +* mock: Fixes mock.patch.multiple autospec + 3.2.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/PKG-INFO new/oslotest-3.4.2/PKG-INFO --- old/oslotest-3.2.0/PKG-INFO 2018-01-09 16:24:41.000000000 +0100 +++ new/oslotest-3.4.2/PKG-INFO 2018-05-01 23:09:54.000000000 +0200 @@ -1,18 +1,17 @@ Metadata-Version: 1.1 Name: oslotest -Version: 3.2.0 +Version: 3.4.2 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 ======================== - .. image:: http://governance.openstack.org/badges/oslotest.svg - :target: http://governance.openstack.org/reference/tags/index.html + .. image:: https://governance.openstack.org/tc/badges/oslotest.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html .. Change things from this point on diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/README.rst new/oslotest-3.4.2/README.rst --- old/oslotest-3.2.0/README.rst 2018-01-09 16:21:52.000000000 +0100 +++ new/oslotest-3.4.2/README.rst 2018-05-01 23:06:37.000000000 +0200 @@ -2,8 +2,8 @@ Team and repository tags ======================== -.. image:: http://governance.openstack.org/badges/oslotest.svg - :target: http://governance.openstack.org/reference/tags/index.html +.. image:: https://governance.openstack.org/tc/badges/oslotest.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html .. Change things from this point on diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/RELEASENOTES.rst new/oslotest-3.4.2/RELEASENOTES.rst --- old/oslotest-3.2.0/RELEASENOTES.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-3.4.2/RELEASENOTES.rst 2018-05-01 23:09:54.000000000 +0200 @@ -0,0 +1,20 @@ +======== +oslotest +======== + +.. _oslotest_3.4.0: + +3.4.0 +===== + +.. _oslotest_3.4.0_New Features: + +New Features +------------ + +.. releasenotes/notes/controlling-output-capture-e47c66bbca4a694a.yaml @ b'039b03aa7575efc7e62f59b1410e85b3a7d7b4d3' + +- Change the API for the CaptureOutput fixture so that tests may + enable it explicitly instead of purely relying on the environment + variables to control it. + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/doc/source/user/debugging.rst new/oslotest-3.4.2/doc/source/user/debugging.rst --- old/oslotest-3.2.0/doc/source/user/debugging.rst 2018-01-09 16:21:52.000000000 +0100 +++ new/oslotest-3.4.2/doc/source/user/debugging.rst 2018-05-01 23:06:37.000000000 +0200 @@ -26,4 +26,4 @@ * https://wiki.openstack.org/wiki/Testr -.. _testrepository: https://pypi.python.org/pypi/testrepository +.. _testrepository: https://pypi.org/project/testrepository diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/lower-constraints.txt new/oslotest-3.4.2/lower-constraints.txt --- old/oslotest-3.2.0/lower-constraints.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-3.4.2/lower-constraints.txt 2018-05-01 23:06:37.000000000 +0200 @@ -0,0 +1,47 @@ +alabaster==0.7.10 +appdirs==1.3.0 +Babel==2.3.4 +coverage==4.0 +debtcollector==1.2.0 +docutils==0.11 +dulwich==0.15.0 +extras==1.0.0 +fixtures==3.0.0 +flake8==2.5.5 +hacking==0.12.0 +imagesize==0.7.1 +iso8601==0.1.11 +Jinja2==2.10 +keystoneauth1==3.4.0 +linecache2==1.0.0 +MarkupSafe==1.0 +mccabe==0.2.1 +mock==2.0.0 +mox3==0.20.0 +netaddr==0.7.18 +openstackdocstheme==1.18.1 +os-client-config==1.28.0 +oslo.config==5.2.0 +oslo.i18n==3.15.3 +pbr==2.0.0 +pep8==1.5.7 +pyflakes==0.8.1 +Pygments==2.2.0 +python-mimeparse==1.6.0 +python-subunit==1.0.0 +pytz==2013.6 +PyYAML==3.12 +reno==2.5.0 +requests==2.14.2 +requestsexceptions==1.2.0 +rfc3986==0.3.1 +six==1.10.0 +snowballstemmer==1.2.1 +Sphinx==1.6.5 +sphinxcontrib-websupport==1.0.1 +stevedore==1.20.0 +testrepository==0.0.18 +testtools==2.2.0 +traceback2==1.4.0 +unittest2==1.1.0 +wrapt==1.7.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/oslotest/base.py new/oslotest-3.4.2/oslotest/base.py --- old/oslotest-3.2.0/oslotest/base.py 2018-01-09 16:21:52.000000000 +0100 +++ new/oslotest-3.4.2/oslotest/base.py 2018-05-01 23:06:37.000000000 +0200 @@ -72,7 +72,7 @@ workaround is to overload the ``_fake_logs`` function in a base class but this will deactivate fake logging globally. - .. _fixtures: https://pypi.python.org/pypi/fixtures + .. _fixtures: https://pypi.org/project/fixtures """ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/oslotest/mock_fixture.py new/oslotest-3.4.2/oslotest/mock_fixture.py --- old/oslotest-3.2.0/oslotest/mock_fixture.py 2018-01-09 16:22:14.000000000 +0100 +++ new/oslotest-3.4.2/oslotest/mock_fixture.py 2018-05-01 23:06:37.000000000 +0200 @@ -44,13 +44,19 @@ def __init__(self, *args, **kwargs): super(_AutospecMockMixin, self).__init__(*args, **kwargs) - self.__dict__['_autospec'] = kwargs.get('autospec') + autospec = kwargs.get('autospec') + self.__dict__['_autospec'] = autospec _mock_methods = self.__dict__['_mock_methods'] if _mock_methods: # this will allow us to be able to set _mock_check_sig if # the spec_set argument has been given. _mock_methods.append('_mock_check_sig') + # callable mocks with autospecs (e.g.: the given autospec is a class) + # should have their return values autospeced as well. + if autospec: + self.return_value.__dict__['_autospec'] = autospec + def __getattr__(self, name): attr = super(_AutospecMockMixin, self).__getattr__(name) @@ -106,7 +112,7 @@ # patch both external and internal usage of Mock / MagicMock. self.useFixture(fixtures.MonkeyPatch('mock.Mock', _AutospecMock)) self.useFixture(fixtures.MonkeyPatch('mock.mock.Mock', _AutospecMock)) - self.useFixture(fixtures.MonkeyPatch('mock.mock.MagicMock', + self.useFixture(fixtures.MonkeyPatch('mock.MagicMock', _AutospecMagicMock)) self.useFixture(fixtures.MonkeyPatch('mock.mock.MagicMock', _AutospecMagicMock)) @@ -157,7 +163,12 @@ isinstance(target, type)) new = super(_patch, self).__enter__() - _lazy_autospec_method(new, original_attr, eat_self) + + # NOTE(claudiub): mock.patch.multiple will cause new to be a + # dict. + mocked_method = (new[self.attribute] if isinstance(new, dict) + else new) + _lazy_autospec_method(mocked_method, original_attr, eat_self) return new else: return super(_patch, self).__enter__() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/oslotest/output.py new/oslotest-3.4.2/oslotest/output.py --- old/oslotest-3.2.0/oslotest/output.py 2018-01-09 16:21:52.000000000 +0100 +++ new/oslotest-3.4.2/oslotest/output.py 2018-05-01 23:06:37.000000000 +0200 @@ -20,12 +20,18 @@ class CaptureOutput(fixtures.Fixture): """Optionally capture the output streams. - The behavior is managed through two environment variables. If + The behavior is managed through arguments to the constructor. The + default behavior is controlled via two environment variables. If ``OS_STDOUT_CAPTURE`` is true then stdout is captured and if ``OS_STDERR_CAPTURE`` is true then stderr is captured. "True" values include ``True``, ``true``, ``1``, and ``yes``. + :param do_stdout: Whether to capture stdout. + :type do_stdout: bool + :param do_stderr: Whether to capture stderr. + :type do_stderr: bool + .. py:attribute:: stdout The ``stream`` attribute from a :class:`StringStream` instance @@ -38,18 +44,28 @@ """ - def __init__(self): + def __init__(self, do_stdout=None, do_stderr=None): super(CaptureOutput, self).__init__() + if do_stdout is None: + self.do_stdout = (os.environ.get('OS_STDOUT_CAPTURE') + in _TRUE_VALUES) + else: + self.do_stdout = do_stdout + if do_stderr is None: + self.do_stderr = (os.environ.get('OS_STDERR_CAPTURE') + in _TRUE_VALUES) + else: + self.do_stderr = do_stderr self.stdout = None self.stderr = None def setUp(self): super(CaptureOutput, self).setUp() - if os.environ.get('OS_STDOUT_CAPTURE') in _TRUE_VALUES: + if self.do_stdout: self._stdout_fixture = fixtures.StringStream('stdout') self.stdout = self.useFixture(self._stdout_fixture).stream self.useFixture(fixtures.MonkeyPatch('sys.stdout', self.stdout)) - if os.environ.get('OS_STDERR_CAPTURE') in _TRUE_VALUES: + if self.do_stderr: self._stderr_fixture = fixtures.StringStream('stderr') self.stderr = self.useFixture(self._stderr_fixture).stream self.useFixture(fixtures.MonkeyPatch('sys.stderr', self.stderr)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/oslotest/tests/unit/test_base.py new/oslotest-3.4.2/oslotest/tests/unit/test_base.py --- old/oslotest-3.2.0/oslotest/tests/unit/test_base.py 2018-01-09 16:21:52.000000000 +0100 +++ new/oslotest-3.4.2/oslotest/tests/unit/test_base.py 2018-05-01 23:06:37.000000000 +0200 @@ -72,7 +72,7 @@ def test_fake_logs_with_log_cap(self, fixture_mock, env_get_mock): env_get_mock.side_effect = lambda value: {'OS_DEBUG': 0, 'OS_LOG_CAPTURE': 'True' - }[value] + }.get(value) tc = self.FakeTestCase("test_fake_test") tc.setUp() env_get_mock.assert_any_call('OS_LOG_CAPTURE') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/oslotest/tests/unit/test_mock_fixture.py new/oslotest-3.4.2/oslotest/tests/unit/test_mock_fixture.py --- old/oslotest-3.2.0/oslotest/tests/unit/test_mock_fixture.py 2018-01-09 16:22:14.000000000 +0100 +++ new/oslotest-3.4.2/oslotest/tests/unit/test_mock_fixture.py 2018-05-01 23:06:37.000000000 +0200 @@ -70,10 +70,17 @@ # assert that AttributeError is raised if the method does not exist. self.assertRaises(AttributeError, getattr, foo, 'lish') - def test_mock_autospec_all_members(self): + def _check_mock_autospec_all_members(self, mock_cls): for spec in [Foo, Foo()]: - foo = mock.Mock(autospec=spec) + foo = mock_cls(autospec=spec) self._check_autospeced_foo(foo) + self._check_autospeced_foo(foo()) + + def test_mock_autospec_all_members(self): + self._check_mock_autospec_all_members(mock.Mock) + + def test_magic_mock_autospec_all_members(self): + self._check_mock_autospec_all_members(mock.MagicMock) @mock.patch.object(Foo, 'static_bar') @mock.patch.object(Foo, 'classic_bar') @@ -82,6 +89,13 @@ foo = Foo() self._check_autospeced_foo(foo) + def test_patch_autospec_multiple(self): + with mock.patch.multiple(Foo, bar=mock.DEFAULT, + classic_bar=mock.DEFAULT, + static_bar=mock.DEFAULT): + foo = Foo() + self._check_autospeced_foo(foo) + @mock.patch.object(Foo, 'static_bar', autospec=False) @mock.patch.object(Foo, 'classic_bar', autospec=False) @mock.patch.object(Foo, 'bar', autospec=False) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/oslotest/tests/unit/test_output.py new/oslotest-3.4.2/oslotest/tests/unit/test_output.py --- old/oslotest-3.2.0/oslotest/tests/unit/test_output.py 2018-01-09 16:21:52.000000000 +0100 +++ new/oslotest-3.4.2/oslotest/tests/unit/test_output.py 2018-05-01 23:06:37.000000000 +0200 @@ -23,7 +23,7 @@ class CaptureOutputTest(testtools.TestCase): @mock.patch('os.environ') - def test_disabled(self, mock_env): + def test_disabled_env(self, mock_env): mock_env.get.return_value = '' f = output.CaptureOutput() f.setUp() @@ -33,11 +33,31 @@ self.assertIsNot(sys.stderr, f.stderr) @mock.patch('os.environ') - def test_enabled(self, mock_env): + def test_enabled_env(self, mock_env): mock_env.get.return_value = 'True' f = output.CaptureOutput() f.setUp() self.assertIsNotNone(f.stdout) self.assertIsNotNone(f.stderr) + self.assertIs(sys.stdout, f.stdout) + self.assertIs(sys.stderr, f.stderr) + + @mock.patch('os.environ') + def test_disabled_explicit(self, mock_env): + mock_env.get.side_effect = AssertionError('should not be called') + f = output.CaptureOutput(do_stdout=False, do_stderr=False) + f.setUp() + self.assertIsNone(f.stdout) + self.assertIsNone(f.stderr) + self.assertIsNot(sys.stdout, f.stdout) + self.assertIsNot(sys.stderr, f.stderr) + + @mock.patch('os.environ') + def test_ensabled_explicit(self, mock_env): + mock_env.get.side_effect = AssertionError('should not be called') + f = output.CaptureOutput(do_stdout=True, do_stderr=True) + f.setUp() + 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-3.2.0/oslotest.egg-info/PKG-INFO new/oslotest-3.4.2/oslotest.egg-info/PKG-INFO --- old/oslotest-3.2.0/oslotest.egg-info/PKG-INFO 2018-01-09 16:24:40.000000000 +0100 +++ new/oslotest-3.4.2/oslotest.egg-info/PKG-INFO 2018-05-01 23:09:53.000000000 +0200 @@ -1,18 +1,17 @@ Metadata-Version: 1.1 Name: oslotest -Version: 3.2.0 +Version: 3.4.2 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 ======================== - .. image:: http://governance.openstack.org/badges/oslotest.svg - :target: http://governance.openstack.org/reference/tags/index.html + .. image:: https://governance.openstack.org/tc/badges/oslotest.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html .. Change things from this point on diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/oslotest.egg-info/SOURCES.txt new/oslotest-3.4.2/oslotest.egg-info/SOURCES.txt --- old/oslotest-3.2.0/oslotest.egg-info/SOURCES.txt 2018-01-09 16:24:41.000000000 +0100 +++ new/oslotest-3.4.2/oslotest.egg-info/SOURCES.txt 2018-05-01 23:09:54.000000000 +0200 @@ -1,12 +1,14 @@ .coveragerc .mailmap .testr.conf +.zuul.yaml AUTHORS CONTRIBUTING.rst ChangeLog HACKING.rst LICENSE README.rst +lower-constraints.txt requirements.txt setup.cfg setup.py @@ -56,6 +58,7 @@ oslotest/tools/__init__.py oslotest/tools/config.py releasenotes/notes/add-reno-996dd44974d53238.yaml +releasenotes/notes/controlling-output-capture-e47c66bbca4a694a.yaml releasenotes/notes/deprecate-functional-module-fbed600d2fa026fc.yaml releasenotes/notes/mock-autospec-fix-9042c30dbb74032f.yaml releasenotes/notes/remove_mockpatch-80fec29f28da5d5c.yaml @@ -63,6 +66,7 @@ releasenotes/source/index.rst releasenotes/source/ocata.rst releasenotes/source/pike.rst +releasenotes/source/queens.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-3.2.0/oslotest.egg-info/pbr.json new/oslotest-3.4.2/oslotest.egg-info/pbr.json --- old/oslotest-3.2.0/oslotest.egg-info/pbr.json 2018-01-09 16:24:40.000000000 +0100 +++ new/oslotest-3.4.2/oslotest.egg-info/pbr.json 2018-05-01 23:09:53.000000000 +0200 @@ -1 +1 @@ -{"git_version": "4f7f49a", "is_release": true} \ No newline at end of file +{"git_version": "325d0c1", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/releasenotes/notes/controlling-output-capture-e47c66bbca4a694a.yaml new/oslotest-3.4.2/releasenotes/notes/controlling-output-capture-e47c66bbca4a694a.yaml --- old/oslotest-3.2.0/releasenotes/notes/controlling-output-capture-e47c66bbca4a694a.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-3.4.2/releasenotes/notes/controlling-output-capture-e47c66bbca4a694a.yaml 2018-05-01 23:06:37.000000000 +0200 @@ -0,0 +1,6 @@ +--- +features: + - | + Change the API for the CaptureOutput fixture so that tests may + enable it explicitly instead of purely relying on the environment + variables to control it. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/releasenotes/notes/reno.cache new/oslotest-3.4.2/releasenotes/notes/reno.cache --- old/oslotest-3.2.0/releasenotes/notes/reno.cache 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-3.4.2/releasenotes/notes/reno.cache 2018-05-01 23:09:54.000000000 +0200 @@ -0,0 +1,16 @@ +--- +file-contents: + releasenotes/notes/controlling-output-capture-e47c66bbca4a694a.yaml: + features: ['Change the API for the CaptureOutput fixture so that tests may + + enable it explicitly instead of purely relying on the environment + + variables to control it. + + '] +notes: +- files: + - - releasenotes/notes/controlling-output-capture-e47c66bbca4a694a.yaml + - !!binary | + MDM5YjAzYWE3NTc1ZWZjN2U2MmY1OWIxNDEwZTg1YjNhN2Q3YjRkMw== + version: 3.4.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/releasenotes/source/index.rst new/oslotest-3.4.2/releasenotes/source/index.rst --- old/oslotest-3.2.0/releasenotes/source/index.rst 2018-01-09 16:21:52.000000000 +0100 +++ new/oslotest-3.4.2/releasenotes/source/index.rst 2018-05-01 23:06:37.000000000 +0200 @@ -6,5 +6,6 @@ :maxdepth: 1 unreleased + queens pike ocata diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/releasenotes/source/queens.rst new/oslotest-3.4.2/releasenotes/source/queens.rst --- old/oslotest-3.2.0/releasenotes/source/queens.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-3.4.2/releasenotes/source/queens.rst 2018-05-01 23:06:37.000000000 +0200 @@ -0,0 +1,6 @@ +=================================== + Queens Series Release Notes +=================================== + +.. release-notes:: + :branch: stable/queens diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/test-requirements.txt new/oslotest-3.4.2/test-requirements.txt --- old/oslotest-3.2.0/test-requirements.txt 2018-01-09 16:21:52.000000000 +0100 +++ new/oslotest-3.4.2/test-requirements.txt 2018-05-01 23:06:37.000000000 +0200 @@ -10,8 +10,8 @@ coverage!=4.4,>=4.0 # Apache-2.0 # this is required for the docs build jobs -sphinx>=1.6.2 # BSD -openstackdocstheme>=1.17.0 # Apache-2.0 -oslo.config>=5.1.0 # Apache-2.0 +sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD +openstackdocstheme>=1.18.1 # Apache-2.0 +oslo.config>=5.2.0 # Apache-2.0 reno>=2.5.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-3.2.0/tox.ini new/oslotest-3.4.2/tox.ini --- old/oslotest-3.2.0/tox.ini 2018-01-09 16:21:52.000000000 +0100 +++ new/oslotest-3.4.2/tox.ini 2018-05-01 23:06:37.000000000 +0200 @@ -4,6 +4,7 @@ envlist = py35,py27,pep8 [testenv] +basepython = python3 install_command = pip install {opts} {packages} deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} @@ -11,6 +12,9 @@ -r{toxinidir}/requirements.txt commands = python setup.py testr --slowest --testr-args='{posargs}' +[testenv:py27] +basepython = python2.7 + [testenv:pep8] commands = flake8 @@ -34,3 +38,9 @@ [testenv:releasenotes] commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html + +[testenv:lower-constraints] +deps = + -c{toxinidir}/lower-constraints.txt + -r{toxinidir}/test-requirements.txt + -r{toxinidir}/requirements.txt
