Hello community, here is the log from the commit of package python-oslotest for openSUSE:Factory checked in at 2017-08-28 15:31:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslotest (Old) and /work/SRC/openSUSE:Factory/.python-oslotest.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslotest" Mon Aug 28 15:31:39 2017 rev:11 rq:515002 version:2.17.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslotest/python-oslotest.changes 2017-02-21 13:46:57.313021825 +0100 +++ /work/SRC/openSUSE:Factory/.python-oslotest.new/python-oslotest.changes 2017-08-28 15:31:41.134273916 +0200 @@ -1,0 +2,15 @@ +Mon Aug 7 13:56:48 UTC 2017 - [email protected] + +- update to version 2.17.0 + - Remove pbr warnerrors in favor of sphinx check + - Trivial fix style in document + - Using fixtures instead of deprecated mockpatch module + - rearrange content to fit the new standard layout + - Update URLs in documents according to document migration + - [Fix gate]Update test requirement + - Update reno for stable/ocata + - Remove support for py34 + - Updated from global requirements + - Switch from oslosphinx to openstackdocstheme + +------------------------------------------------------------------- Old: ---- oslotest-2.13.0.tar.gz New: ---- oslotest-2.17.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslotest.spec ++++++ --- /var/tmp/diff_new_pack.Vv37p2/_old 2017-08-28 15:31:41.878169334 +0200 +++ /var/tmp/diff_new_pack.Vv37p2/_new 2017-08-28 15:31:41.882168771 +0200 @@ -17,7 +17,7 @@ Name: python-oslotest -Version: 2.13.0 +Version: 2.17.0 Release: 0 Summary: OpenStack test framework License: Apache-2.0 @@ -25,12 +25,12 @@ Url: https://launchpad.net/oslotest Source0: https://pypi.io/packages/source/o/oslotest/oslotest-%{version}.tar.gz BuildRequires: openstack-macros -## BuildRequires: python-debtcollector >= 1.2.0 +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 >= 1.8 +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 @@ -40,7 +40,7 @@ Requires: python-mock >= 2.0 Requires: python-mox3 >= 0.7.0 # NOTE: python-os-client-config is only needed for functional testing -# Requires: python-os-client-config >= 1.22.0 +# 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 @@ -61,8 +61,8 @@ %install %{py2_install} -## %check -# %{__python2} setup.py test +%check +%{__python2} setup.py test %files %license LICENSE ++++++ _service ++++++ --- /var/tmp/diff_new_pack.Vv37p2/_old 2017-08-28 15:31:41.938160900 +0200 +++ /var/tmp/diff_new_pack.Vv37p2/_new 2017-08-28 15:31:41.942160338 +0200 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/openstack/oslotest/oslotest.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/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/ocata/global-requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/global-requirements.txt</param> <param name="changelog-email">[email protected]</param> <param name="changelog-provider">gh,openstack,oslotest</param> </service> ++++++ oslotest-2.13.0.tar.gz -> oslotest-2.17.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/AUTHORS new/oslotest-2.17.0/AUTHORS --- old/oslotest-2.13.0/AUTHORS 2017-01-18 15:12:34.000000000 +0100 +++ new/oslotest-2.17.0/AUTHORS 2017-07-18 15:10:30.000000000 +0200 @@ -29,21 +29,27 @@ Joshua Harlow <[email protected]> Julien Danjou <[email protected]> Luis A. Garcia <[email protected]> +Luong Anh Tuan <[email protected]> Marc Koderer <[email protected]> Mark McLoughlin <[email protected]> Masayuki Igawa <[email protected]> Mauro S. M. Rodrigues <[email protected]> Monty Taylor <[email protected]> Noorul Islam K M <[email protected]> +OpenStack Release Bot <[email protected]> Rajaram Mallya <[email protected]> Ronald Bradford <[email protected]> Sergey Kraynev <[email protected]> Soren Hansen <[email protected]> Steve Martinelli <[email protected]> Tony Breeds <[email protected]> +Van Hung Pham <[email protected]> Victor Stinner <[email protected]> +Vu Cong Tuan <[email protected]> Yuriy Taraday <[email protected]> Zhongyue Luo <[email protected]> +kavithahr <[email protected]> melissaml <[email protected]> +ricolin <[email protected]> venkatamahesh <[email protected]> yan.haifeng <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/ChangeLog new/oslotest-2.17.0/ChangeLog --- old/oslotest-2.13.0/ChangeLog 2017-01-18 15:12:34.000000000 +0100 +++ new/oslotest-2.17.0/ChangeLog 2017-07-18 15:10:30.000000000 +0200 @@ -1,6 +1,46 @@ CHANGES ======= +2.17.0 +------ + +* Update URLs in documents according to document migration +* rearrange content to fit the new standard layout +* Using fixtures instead of deprecated mockpatch module + +2.16.1 +------ + +* Switch from oslosphinx to openstackdocstheme + +2.16.0 +------ + +* Updated from global requirements +* Trivial fix style in document +* Updated from global requirements +* Remove pbr warnerrors in favor of sphinx check +* Updated from global requirements +* Updated from global requirements +* Updated from global requirements +* Updated from global requirements +* Updated from global requirements + +2.15.0 +------ + +* Updated from global requirements +* Remove support for py34 + +2.14.0 +------ + +* Updated from global requirements +* [Fix gate]Update test requirement +* Updated from global requirements +* Update reno for stable/ocata +* Updated from global requirements + 2.13.0 ------ @@ -96,7 +136,7 @@ * Fix coverage configuration and execution * Updated from global requirements -* Add documentation about using oslo_debug_helper +* Add documentation about using oslo\_debug\_helper * add oslo.config a test requirement * clean up readme and doc title * clean up toctree @@ -113,7 +153,7 @@ 1.10.0 ------ -* Allow TRACE and integer logging levels for 'OS_DEBUG' +* Allow TRACE and integer logging levels for 'OS\_DEBUG' * Updated from global requirements * Updated from global requirements * Updated from global requirements @@ -132,7 +172,7 @@ ----- * Updated from global requirements -* Allow ``OS_DEBUG`` environment variable to specify log level +* Allow \`\`OS\_DEBUG\`\` environment variable to specify log level * Updated from global requirements * always rebuild cross-test venv * Add CreateFileWithContent fixture @@ -145,12 +185,12 @@ ----- * Updated from global requirements -* Fix argument handling in oslo_run_cross_tests +* Fix argument handling in oslo\_run\_cross\_tests * Add class to deal with clouds.yaml support * Remove unneeded runtime pbr dep * Updated from global requirements * Advertise support for Python3.4 / Remove support for Python 3.3 -* Do not sync run_cross_tests.sh +* Do not sync run\_cross\_tests.sh * Remove unused discover dependency 1.6.0 @@ -183,7 +223,7 @@ * Publish cross-test runner as part of oslotest * Remove six.moves call * Fix for mktemp failure on osx -* Activate pep8 check that _ is imported +* Activate pep8 check that \_ is imported * Workflow documentation is now in infra-manual * Fix the URL for reporting bugs in the README @@ -194,19 +234,19 @@ * Updated from global requirements * Updated from global requirements * Add pbr to installation requirements -* Clean up the docs for oslo_debug_helper +* Clean up the docs for oslo\_debug\_helper 1.2.0 ----- * Updated from global requirements -* Set install_command in tox to avoid pre-releases +* Set install\_command in tox to avoid pre-releases * Add an extra parameter for test directory in debugger script * Handle tempfile content encoding * Work toward Python 3.4 support and testing * Add links to best practices video and etherpad * Updated from global requirements -* Drop .sh extension from oslo_debug_helper.sh +* Drop .sh extension from oslo\_debug\_helper.sh * Add history/changelog to docs * fix typo and formatting in contributing docs @@ -218,7 +258,7 @@ * Ensure that mock.patch.stopall is called last * Remove differences between Python 2.x and 3.x versions * Require six -* Add documentation for running oslo_debug_heler.sh +* Add documentation for running oslo\_debug\_heler.sh * Restructure oslotest docs * Add pdb support to tox with debug helper shell script * Updated from global requirements @@ -244,7 +284,7 @@ 1.0.0 ----- -* Import run_cross_tests.sh from oslo-incubator +* Import run\_cross\_tests.sh from oslo-incubator * Fix up documentation files * Fake logger as instance attribute * Require testrepository and other tools at runtime @@ -290,7 +330,7 @@ * Add eclipse project files to .gitignore * Add .testrepository to .gitignore * Ignore backup files in .gitignore -* Add join_consumer_pool() to RPC connections +* Add join\_consumer\_pool() to RPC connections * Add a fixture for dealing with mock patching * Start adding reusable test fixtures * updating sphinx documentation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/HACKING.rst new/oslotest-2.17.0/HACKING.rst --- old/oslotest-2.13.0/HACKING.rst 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/HACKING.rst 2017-07-18 15:08:50.000000000 +0200 @@ -1,4 +1,4 @@ Style Commandments =============================================== -Read the OpenStack Style Commandments http://docs.openstack.org/developer/hacking/ \ No newline at end of file +Read the OpenStack Style Commandments https://docs.openstack.org/hacking/latest/ \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/PKG-INFO new/oslotest-2.17.0/PKG-INFO --- old/oslotest-2.13.0/PKG-INFO 2017-01-18 15:12:34.000000000 +0100 +++ new/oslotest-2.17.0/PKG-INFO 2017-07-18 15:10:30.000000000 +0200 @@ -1,8 +1,8 @@ Metadata-Version: 1.1 Name: oslotest -Version: 2.13.0 +Version: 2.17.0 Summary: Oslo test framework -Home-page: http://docs.openstack.org/developer/oslotest +Home-page: https://docs.openstack.org/oslotest/latest/ Author: OpenStack Author-email: [email protected] License: UNKNOWN @@ -23,9 +23,9 @@ better support for mocking results. * Free software: Apache license - * Documentation: http://docs.openstack.org/developer/oslotest - * Source: http://git.openstack.org/cgit/openstack/oslotest - * Bugs: http://bugs.launchpad.net/oslotest + * Documentation: https://docs.openstack.org/oslotest/latest/ + * Source: https://git.openstack.org/cgit/openstack/oslotest + * Bugs: https://bugs.launchpad.net/oslotest Platform: UNKNOWN @@ -38,5 +38,4 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/README.rst new/oslotest-2.17.0/README.rst --- old/oslotest-2.13.0/README.rst 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/README.rst 2017-07-18 15:08:50.000000000 +0200 @@ -15,6 +15,6 @@ better support for mocking results. * Free software: Apache license -* Documentation: http://docs.openstack.org/developer/oslotest -* Source: http://git.openstack.org/cgit/openstack/oslotest -* Bugs: http://bugs.launchpad.net/oslotest +* Documentation: https://docs.openstack.org/oslotest/latest/ +* Source: https://git.openstack.org/cgit/openstack/oslotest +* Bugs: https://bugs.launchpad.net/oslotest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/conf.py new/oslotest-2.17.0/doc/source/conf.py --- old/oslotest-2.13.0/doc/source/conf.py 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/conf.py 2017-07-18 15:08:50.000000000 +0200 @@ -23,7 +23,7 @@ extensions = [ 'sphinx.ext.autodoc', #'sphinx.ext.intersphinx', - 'oslosphinx' + 'openstackdocstheme', ] # autodoc generation is a bit aggressive and a nuisance when doing heavy @@ -56,12 +56,22 @@ # The theme to use for HTML and HTML Help pages. Major themes that come with # Sphinx are currently 'default' and 'sphinxdoc'. # html_theme_path = ["."] -# html_theme = '_theme' # html_static_path = ['static'] +html_theme = 'openstackdocs' + +# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, +# using the given strftime format. +# html_last_updated_fmt = '%b %d, %Y' +html_last_updated_fmt = '%Y-%m-%d %H:%M' # Output file base name for HTML help builder. htmlhelp_basename = '%sdoc' % project +# openstackdocstheme options +repository_name = 'openstack/oslotest' +bug_project = 'oslotest' +bug_tag = '' + # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass # [howto/manual]). @@ -74,3 +84,4 @@ # Example configuration for intersphinx: refer to the Python standard library. #intersphinx_mapping = {'http://docs.python.org/': None} + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/contributing.rst new/oslotest-2.17.0/doc/source/contributing.rst --- old/oslotest-2.13.0/doc/source/contributing.rst 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/contributing.rst 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -============ -Contributing -============ - -.. include:: ../../CONTRIBUTING.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/contributor/index.rst new/oslotest-2.17.0/doc/source/contributor/index.rst --- old/oslotest-2.13.0/doc/source/contributor/index.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/contributor/index.rst 2017-07-18 15:08:50.000000000 +0200 @@ -0,0 +1,5 @@ +============ +Contributing +============ + +.. include:: ../../../CONTRIBUTING.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/cross-testing.rst new/oslotest-2.17.0/doc/source/cross-testing.rst --- old/oslotest-2.13.0/doc/source/cross-testing.rst 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/cross-testing.rst 1970-01-01 01:00:00.000000000 +0100 @@ -1,102 +0,0 @@ -============================ - Cross-project Unit Testing -============================ - -Libraries in OpenStack have an unusual ability to introduce breaking -changes. All of the projects are run together from source in one form -or another during the integration tests, but they are not combined -from source when unit tests are run. The server applications do not -generally import code from other projects, so their unit tests are -isolated. The libraries, however, are fundamentally intended to be -used during unit tests as well as integration tests. Testing the full -cross-product of libraries and consuming projects would consume all -available test servers, and so we cannot run all of the tests on all -patches to the libraries. As an alternative, we have a few scripts in -``oslotest`` for running the unit tests in serial. The result takes -far too long (usually overnight) to run in the OpenStack -infrastructure. Instead, they are usually run by hand on a dedicated -system. A cloud VM works well for this purpose, especially considering -how much of it is now automated. - -Check Out OpenStack Source -========================== - -The first step for all of the cross-project unit tests tools is to -ensure that you have a full copy of the OpenStack source checked -out. You can do this yourself through gerrit's ssh API, or you can use -the ``clone_openstack.sh`` command in the tools directory of the -``openstack/oslo-incubator`` repository. - -For example:: - - $ mkdir -p ~/repos/openstack - $ cd ~/repos/openstack - $ git clone git://git.openstack.org/openstack/oslo-incubator - $ cd ~/repos - $ ./openstack/oslo-incubator/tools/clone_openstack.sh - -The first time the script runs it will take quite some time, since it -has to download the entire history of every OpenStack project. - -Testing One Project -=================== - -``oslo_run_cross_tests`` runs one set of unit tests for one library -against all of the consuming projects. It should be run from the -directory with the library to be tested, and passed arguments telling -it about another project whose tests should be run. - -For example, to run the ``py27`` test suite from nova using the -currently checked out sources for ``oslo.config``, run:: - - $ cd ~/repos/openstack/oslo.config - $ tox -e venv -- oslo_run_cross_tests ~/repos/openstack/nova py27 - -Testing All Consumers -===================== - -``oslo_run_pre_release_tests`` builds on ``oslo_run_cross_tests`` to -find all of the consuming projects and run their tests -automatically. The pre-release script needs to know where the source -has been checked out, so the first step is to create its configuration -file. - -Edit ``~/.oslo.conf`` to contain:: - - [DEFAULT] - repo_root = /path/to/repos - -Replace ``/path/to/repos`` with the full, expanded, absolute path to -the location where the source code was checked out. For example, if -you followed the instructions above using ``clone_openstack.sh`` in -``~/repos`` and your user name is ``theuser`` the path would be -``/home/theuser/repos``. - -Returning to the earlier example, to test ``oslo.config`` with all of -the projects that use it, go to the ``oslo.config`` source directory -and run ``oslo_run_pre_release_tests``. - -:: - - $ cd ~/repos/openstack/oslo.config - $ tox -e venv -- oslo_run_pre_release_tests - -The output for each test set is logged to a separate file in the -current directory, to make them easy to examine. - -Use the ``--update`` or ``-u`` option to force a ``git pull`` for each -consuming projects before running its tests (useful for maintaining a -long-running system to host these tests). - -Use the ``--verbose`` or ``-v`` option to report more verbosely about -what is happening, including the number of projects being tested. - -Use ``--env`` or ``-e`` to add a tox environment to test. By default -the ``py27`` and ``pep8`` environments are used because those have -been shown to provide a good balance between finding problems and -running the tests quickly. - -Use the ``--ref`` option to test a specific commit reference of the -library under test. The default is to leave the source directory -untouched, but if this option is specified ``git checkout`` is used to -force the source tree to the specified reference. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/debugging.rst new/oslotest-2.17.0/doc/source/debugging.rst --- old/oslotest-2.13.0/doc/source/debugging.rst 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/debugging.rst 1970-01-01 01:00:00.000000000 +0100 @@ -1,29 +0,0 @@ -================= - Debugging Tests -================= - -Running tests through testrepository_ makes it difficult to use pdb for -debugging them. oslotest includes ``oslo_debug_helper`` to make using -pdb simpler/possible. - -First, add a pdb call to the test code:: - - import pdb; pdb.set_trace() - -Then run the tests through ``oslo_debug_helper`` like - -:: - - $ oslo_debug_helper [tests to run] - -or - -:: - - $ tox -e venv -- oslo_debug_helper [tests to run] - -.. seealso:: - - * https://wiki.openstack.org/wiki/Testr - -.. _testrepository: https://pypi.python.org/pypi/testrepository diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/features.rst new/oslotest-2.17.0/doc/source/features.rst --- old/oslotest-2.13.0/doc/source/features.rst 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/features.rst 1970-01-01 01:00:00.000000000 +0100 @@ -1,64 +0,0 @@ -========== - Features -========== - -Debugging with oslo_debug_helper -================================ - -The oslotest package also distributes a shell file that may be used to assist -in debugging python code. The shell file uses testtools, and supports debugging -with `pdb <https://docs.python.org/2/library/pdb.html>`_. - -Adding breakpoints to the code ------------------------------- - -The typical usage to break into the debugger from a running program is to -insert: - -.. code-block:: python - - import pdb; pdb.set_trace() - -Update tox.ini --------------- - -Within the ``tox.ini`` file of your project add the following:: - - [testenv:debug] - commands = oslo_debug_helper {posargs} - -If the project name, and the module that precedes the tests directory do not -match, then consider passing a `-t` argument to `oslo_debug_helper` to -indicate the directory where tests are located. - -For example, the ``python-keystoneclient`` project has tests in -``keystoneclient/tests``, thus it would have to pass in:: - - [testenv:debug] - commands = oslo_debug_helper -t keystoneclient/tests {posargs} - -Similarly, most ``oslo`` projects have the tests at the package level, it -would have to pass in:: - - [testenv:debug] - commands = oslo_debug_helper -t tests {posargs} - -Debugging with tox ------------------- - -To enable debugging, run tox with the ``debug`` environment: - -.. code-block:: bash - - $ tox -e debug - $ tox -e debug test_notifications - $ tox -e debug test_notifications.NotificationsTestCase - $ tox -e debug test_notifications.NotificationsTestCase.test_send_notification - -Which results in an interactive prompt: - -.. code-block:: bash - - > /opt/stack/ceilometer/ceilometer/tests/identity/test_notifications.py(106)notification_for_role_change() - -> action_name = '%s.%s' % (action, ROLE_ASSIGNMENT) - (Pdb) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/history.rst new/oslotest-2.17.0/doc/source/history.rst --- old/oslotest-2.13.0/doc/source/history.rst 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/history.rst 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -.. include:: ../../ChangeLog diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/index.rst new/oslotest-2.17.0/doc/source/index.rst --- old/oslotest-2.13.0/doc/source/index.rst 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/index.rst 2017-07-18 15:08:50.000000000 +0200 @@ -1,33 +1,14 @@ -======================================================= - oslotest -- OpenStack Testing Framework and Utilities -======================================================= +===================================================== +oslotest -- OpenStack Testing Framework and Utilities +===================================================== .. toctree:: :maxdepth: 2 - installation - testing - features - cross-testing - debugging - resources - contributing - -API -=== - -.. toctree:: - :maxdepth: 1 - - api/autoindex - -Release Notes -============= - -.. toctree:: - :maxdepth: 1 - - history + install/index + contributor/index + user/index + reference/index Indices and tables ================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/install/index.rst new/oslotest-2.17.0/doc/source/install/index.rst --- old/oslotest-2.13.0/doc/source/install/index.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/install/index.rst 2017-07-18 15:08:50.000000000 +0200 @@ -0,0 +1,7 @@ +============ +Installation +============ + +At the command line:: + + $ pip install oslotest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/installation.rst new/oslotest-2.17.0/doc/source/installation.rst --- old/oslotest-2.13.0/doc/source/installation.rst 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/installation.rst 1970-01-01 01:00:00.000000000 +0100 @@ -1,7 +0,0 @@ -============ -Installation -============ - -At the command line:: - - $ pip install oslotest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/reference/index.rst new/oslotest-2.17.0/doc/source/reference/index.rst --- old/oslotest-2.13.0/doc/source/reference/index.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/reference/index.rst 2017-07-18 15:08:50.000000000 +0200 @@ -0,0 +1,9 @@ +.. _using: + +API +=== + +.. toctree:: + :maxdepth: 1 + + api/autoindex \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/resources.rst new/oslotest-2.17.0/doc/source/resources.rst --- old/oslotest-2.13.0/doc/source/resources.rst 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/resources.rst 1970-01-01 01:00:00.000000000 +0100 @@ -1,10 +0,0 @@ -======================== - Other Useful Resources -======================== - -* Mock_ library documentation -* OpenStack Bootstrapping Hour: Mock Best Practices: `video - <https://www.youtube.com/watch?v=jCWtLoSEfmw>`__ and `etherpad - <https://etherpad.openstack.org/p/obh-mock-best-practices>`__ - -.. _Mock: http://www.voidspace.org.uk/python/mock/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/testing.rst new/oslotest-2.17.0/doc/source/testing.rst --- old/oslotest-2.13.0/doc/source/testing.rst 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/testing.rst 1970-01-01 01:00:00.000000000 +0100 @@ -1,30 +0,0 @@ -========= - Testing -========= - -Cross-testing With Other Projects -================================= - -The oslotest package can be cross-tested against its consuming -projects to ensure that no changes to the library break the tests in -those other projects. - -In the Gate ------------ - -Refer to the instructions in -https://wiki.openstack.org/wiki/Oslo/UsingALibrary for setting up -cross-test jobs in the gate. - -Locally -------- - -To run the cross-tests locally, invoke the script directly, passing -the path to the other source repository and the tox environment name -to use: - -:: - - $ cd oslo.test - $ ./tools/oslo_run_cross_tests ~/repos/openstack/oslo.config py27 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/user/cross-testing.rst new/oslotest-2.17.0/doc/source/user/cross-testing.rst --- old/oslotest-2.13.0/doc/source/user/cross-testing.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/user/cross-testing.rst 2017-07-18 15:08:50.000000000 +0200 @@ -0,0 +1,102 @@ +========================== +Cross-project Unit Testing +========================== + +Libraries in OpenStack have an unusual ability to introduce breaking +changes. All of the projects are run together from source in one form +or another during the integration tests, but they are not combined +from source when unit tests are run. The server applications do not +generally import code from other projects, so their unit tests are +isolated. The libraries, however, are fundamentally intended to be +used during unit tests as well as integration tests. Testing the full +cross-product of libraries and consuming projects would consume all +available test servers, and so we cannot run all of the tests on all +patches to the libraries. As an alternative, we have a few scripts in +``oslotest`` for running the unit tests in serial. The result takes +far too long (usually overnight) to run in the OpenStack +infrastructure. Instead, they are usually run by hand on a dedicated +system. A cloud VM works well for this purpose, especially considering +how much of it is now automated. + +Check Out OpenStack Source +========================== + +The first step for all of the cross-project unit tests tools is to +ensure that you have a full copy of the OpenStack source checked +out. You can do this yourself through gerrit's ssh API, or you can use +the ``clone_openstack.sh`` command in the tools directory of the +``openstack/oslo-incubator`` repository. + +For example:: + + $ mkdir -p ~/repos/openstack + $ cd ~/repos/openstack + $ git clone git://git.openstack.org/openstack/oslo-incubator + $ cd ~/repos + $ ./openstack/oslo-incubator/tools/clone_openstack.sh + +The first time the script runs it will take quite some time, since it +has to download the entire history of every OpenStack project. + +Testing One Project +=================== + +``oslo_run_cross_tests`` runs one set of unit tests for one library +against all of the consuming projects. It should be run from the +directory with the library to be tested, and passed arguments telling +it about another project whose tests should be run. + +For example, to run the ``py27`` test suite from nova using the +currently checked out sources for ``oslo.config``, run:: + + $ cd ~/repos/openstack/oslo.config + $ tox -e venv -- oslo_run_cross_tests ~/repos/openstack/nova py27 + +Testing All Consumers +===================== + +``oslo_run_pre_release_tests`` builds on ``oslo_run_cross_tests`` to +find all of the consuming projects and run their tests +automatically. The pre-release script needs to know where the source +has been checked out, so the first step is to create its configuration +file. + +Edit ``~/.oslo.conf`` to contain:: + + [DEFAULT] + repo_root = /path/to/repos + +Replace ``/path/to/repos`` with the full, expanded, absolute path to +the location where the source code was checked out. For example, if +you followed the instructions above using ``clone_openstack.sh`` in +``~/repos`` and your user name is ``theuser`` the path would be +``/home/theuser/repos``. + +Returning to the earlier example, to test ``oslo.config`` with all of +the projects that use it, go to the ``oslo.config`` source directory +and run ``oslo_run_pre_release_tests``. + +:: + + $ cd ~/repos/openstack/oslo.config + $ tox -e venv -- oslo_run_pre_release_tests + +The output for each test set is logged to a separate file in the +current directory, to make them easy to examine. + +Use the ``--update`` or ``-u`` option to force a ``git pull`` for each +consuming projects before running its tests (useful for maintaining a +long-running system to host these tests). + +Use the ``--verbose`` or ``-v`` option to report more verbosely about +what is happening, including the number of projects being tested. + +Use ``--env`` or ``-e`` to add a tox environment to test. By default +the ``py27`` and ``pep8`` environments are used because those have +been shown to provide a good balance between finding problems and +running the tests quickly. + +Use the ``--ref`` option to test a specific commit reference of the +library under test. The default is to leave the source directory +untouched, but if this option is specified ``git checkout`` is used to +force the source tree to the specified reference. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/user/debugging.rst new/oslotest-2.17.0/doc/source/user/debugging.rst --- old/oslotest-2.13.0/doc/source/user/debugging.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/user/debugging.rst 2017-07-18 15:08:50.000000000 +0200 @@ -0,0 +1,29 @@ +=============== +Debugging Tests +=============== + +Running tests through testrepository_ makes it difficult to use pdb for +debugging them. oslotest includes ``oslo_debug_helper`` to make using +pdb simpler/possible. + +First, add a pdb call to the test code:: + + import pdb; pdb.set_trace() + +Then run the tests through ``oslo_debug_helper`` like + +:: + + $ oslo_debug_helper [tests to run] + +or + +:: + + $ tox -e venv -- oslo_debug_helper [tests to run] + +.. seealso:: + + * https://wiki.openstack.org/wiki/Testr + +.. _testrepository: https://pypi.python.org/pypi/testrepository diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/user/features.rst new/oslotest-2.17.0/doc/source/user/features.rst --- old/oslotest-2.13.0/doc/source/user/features.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/user/features.rst 2017-07-18 15:08:50.000000000 +0200 @@ -0,0 +1,64 @@ +======== +Features +======== + +Debugging with oslo_debug_helper +================================ + +The oslotest package also distributes a shell file that may be used to assist +in debugging python code. The shell file uses testtools, and supports debugging +with `pdb <https://docs.python.org/2/library/pdb.html>`_. + +Adding breakpoints to the code +------------------------------ + +The typical usage to break into the debugger from a running program is to +insert: + +.. code-block:: python + + import pdb; pdb.set_trace() + +Update tox.ini +-------------- + +Within the ``tox.ini`` file of your project add the following:: + + [testenv:debug] + commands = oslo_debug_helper {posargs} + +If the project name, and the module that precedes the tests directory do not +match, then consider passing a `-t` argument to `oslo_debug_helper` to +indicate the directory where tests are located. + +For example, the ``python-keystoneclient`` project has tests in +``keystoneclient/tests``, thus it would have to pass in:: + + [testenv:debug] + commands = oslo_debug_helper -t keystoneclient/tests {posargs} + +Similarly, most ``oslo`` projects have the tests at the package level, it +would have to pass in:: + + [testenv:debug] + commands = oslo_debug_helper -t tests {posargs} + +Debugging with tox +------------------ + +To enable debugging, run tox with the ``debug`` environment: + +.. code-block:: bash + + $ tox -e debug + $ tox -e debug test_notifications + $ tox -e debug test_notifications.NotificationsTestCase + $ tox -e debug test_notifications.NotificationsTestCase.test_send_notification + +Which results in an interactive prompt: + +.. code-block:: bash + + > /opt/stack/ceilometer/ceilometer/tests/identity/test_notifications.py(106)notification_for_role_change() + -> action_name = '%s.%s' % (action, ROLE_ASSIGNMENT) + (Pdb) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/user/history.rst new/oslotest-2.17.0/doc/source/user/history.rst --- old/oslotest-2.13.0/doc/source/user/history.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/user/history.rst 2017-07-18 15:08:50.000000000 +0200 @@ -0,0 +1 @@ +.. include:: ../../../ChangeLog diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/user/index.rst new/oslotest-2.17.0/doc/source/user/index.rst --- old/oslotest-2.13.0/doc/source/user/index.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/user/index.rst 2017-07-18 15:08:50.000000000 +0200 @@ -0,0 +1,13 @@ +============== +Using oslotest +============== + +.. toctree:: + :maxdepth: 2 + + features + debugging + testing + cross-testing + resources + history \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/user/resources.rst new/oslotest-2.17.0/doc/source/user/resources.rst --- old/oslotest-2.13.0/doc/source/user/resources.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/user/resources.rst 2017-07-18 15:08:50.000000000 +0200 @@ -0,0 +1,10 @@ +====================== +Other Useful Resources +====================== + +* Mock_ library documentation +* OpenStack Bootstrapping Hour: Mock Best Practices: `video + <https://www.youtube.com/watch?v=jCWtLoSEfmw>`__ and `etherpad + <https://etherpad.openstack.org/p/obh-mock-best-practices>`__ + +.. _Mock: http://www.voidspace.org.uk/python/mock/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/user/testing.rst new/oslotest-2.17.0/doc/source/user/testing.rst --- old/oslotest-2.13.0/doc/source/user/testing.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-2.17.0/doc/source/user/testing.rst 2017-07-18 15:08:50.000000000 +0200 @@ -0,0 +1,30 @@ +======= +Testing +======= + +Cross-testing With Other Projects +================================= + +The oslotest package can be cross-tested against its consuming +projects to ensure that no changes to the library break the tests in +those other projects. + +In the Gate +----------- + +Refer to the instructions in +https://wiki.openstack.org/wiki/Oslo/UsingALibrary for setting up +cross-test jobs in the gate. + +Locally +------- + +To run the cross-tests locally, invoke the script directly, passing +the path to the other source repository and the tox environment name +to use: + +:: + + $ cd oslo.test + $ ./tools/oslo_run_cross_tests ~/repos/openstack/oslo.config py27 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/oslotest/tests/unit/test_base.py new/oslotest-2.17.0/oslotest/tests/unit/test_base.py --- old/oslotest-2.13.0/oslotest/tests/unit/test_base.py 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/oslotest/tests/unit/test_base.py 2017-07-18 15:08:50.000000000 +0200 @@ -18,12 +18,12 @@ import os import unittest +import fixtures import six from six.moves import mock import testtools from oslotest import base -from oslotest import mockpatch class TestBaseTestCase(testtools.TestCase): @@ -125,7 +125,7 @@ patcher.start() self.addCleanup(patcher.stop) super(TestManualMock, self).setUp() - self.useFixture(mockpatch.Patch('fixtures.Timeout')) + self.useFixture(fixtures.MockPatch('fixtures.Timeout')) self.unstopped = mock.patch('os.environ.put') def tearDown(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/oslotest/tests/unit/test_mockpatch.py new/oslotest-2.17.0/oslotest/tests/unit/test_mockpatch.py --- old/oslotest-2.13.0/oslotest/tests/unit/test_mockpatch.py 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/oslotest/tests/unit/test_mockpatch.py 2017-07-18 15:08:50.000000000 +0200 @@ -12,15 +12,15 @@ # License for the specific language governing permissions and limitations # under the License. +import fixtures from oslotest import base -from oslotest import mockpatch class TestMockPatchSymbols(base.BaseTestCase): def test_reference(self): # Applications expect these public symbols to be available until the # deprecated module is removed. - self.assertTrue(mockpatch.PatchObject) - self.assertTrue(mockpatch.Patch) - self.assertTrue(mockpatch.Multiple) + self.assertTrue(fixtures.MockPatchObject) + self.assertTrue(fixtures.MockPatch) + self.assertTrue(fixtures.MockPatchMultiple) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/oslotest.egg-info/PKG-INFO new/oslotest-2.17.0/oslotest.egg-info/PKG-INFO --- old/oslotest-2.13.0/oslotest.egg-info/PKG-INFO 2017-01-18 15:12:34.000000000 +0100 +++ new/oslotest-2.17.0/oslotest.egg-info/PKG-INFO 2017-07-18 15:10:30.000000000 +0200 @@ -1,8 +1,8 @@ Metadata-Version: 1.1 Name: oslotest -Version: 2.13.0 +Version: 2.17.0 Summary: Oslo test framework -Home-page: http://docs.openstack.org/developer/oslotest +Home-page: https://docs.openstack.org/oslotest/latest/ Author: OpenStack Author-email: [email protected] License: UNKNOWN @@ -23,9 +23,9 @@ better support for mocking results. * Free software: Apache license - * Documentation: http://docs.openstack.org/developer/oslotest - * Source: http://git.openstack.org/cgit/openstack/oslotest - * Bugs: http://bugs.launchpad.net/oslotest + * Documentation: https://docs.openstack.org/oslotest/latest/ + * Source: https://git.openstack.org/cgit/openstack/oslotest + * Bugs: https://bugs.launchpad.net/oslotest Platform: UNKNOWN @@ -38,5 +38,4 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/oslotest.egg-info/SOURCES.txt new/oslotest-2.17.0/oslotest.egg-info/SOURCES.txt --- old/oslotest-2.13.0/oslotest.egg-info/SOURCES.txt 2017-01-18 15:12:34.000000000 +0100 +++ new/oslotest-2.17.0/oslotest.egg-info/SOURCES.txt 2017-07-18 15:10:30.000000000 +0200 @@ -13,15 +13,17 @@ test-requirements.txt tox.ini doc/source/conf.py -doc/source/contributing.rst -doc/source/cross-testing.rst -doc/source/debugging.rst -doc/source/features.rst -doc/source/history.rst doc/source/index.rst -doc/source/installation.rst -doc/source/resources.rst -doc/source/testing.rst +doc/source/contributor/index.rst +doc/source/install/index.rst +doc/source/reference/index.rst +doc/source/user/cross-testing.rst +doc/source/user/debugging.rst +doc/source/user/features.rst +doc/source/user/history.rst +doc/source/user/index.rst +doc/source/user/resources.rst +doc/source/user/testing.rst oslotest/__init__.py oslotest/base.py oslotest/createfile.py @@ -54,6 +56,7 @@ releasenotes/notes/add-reno-996dd44974d53238.yaml releasenotes/source/conf.py releasenotes/source/index.rst +releasenotes/source/ocata.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.13.0/oslotest.egg-info/pbr.json new/oslotest-2.17.0/oslotest.egg-info/pbr.json --- old/oslotest-2.13.0/oslotest.egg-info/pbr.json 2017-01-18 15:12:34.000000000 +0100 +++ new/oslotest-2.17.0/oslotest.egg-info/pbr.json 2017-07-18 15:10:30.000000000 +0200 @@ -1 +1 @@ -{"is_release": true, "git_version": "5337479"} \ No newline at end of file +{"git_version": "491d9ca", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/oslotest.egg-info/requires.txt new/oslotest-2.17.0/oslotest.egg-info/requires.txt --- old/oslotest-2.13.0/oslotest.egg-info/requires.txt 2017-01-18 15:12:34.000000000 +0100 +++ new/oslotest-2.17.0/oslotest.egg-info/requires.txt 2017-07-18 15:10:30.000000000 +0200 @@ -4,6 +4,6 @@ testrepository>=0.0.18 testtools>=1.4.0 mock>=2.0 -mox3>=0.7.0 -os-client-config>=1.22.0 +mox3!=0.19.0,>=0.7.0 +os-client-config>=1.27.0 debtcollector>=1.2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/releasenotes/source/conf.py new/oslotest-2.17.0/releasenotes/source/conf.py --- old/oslotest-2.13.0/releasenotes/source/conf.py 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/releasenotes/source/conf.py 2017-07-18 15:08:50.000000000 +0200 @@ -35,7 +35,7 @@ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ - 'oslosphinx', + 'openstackdocstheme', 'reno.sphinxext', ] @@ -109,7 +109,7 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'openstackdocs' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the @@ -148,6 +148,7 @@ # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. # html_last_updated_fmt = '%b %d, %Y' +html_last_updated_fmt = '%Y-%m-%d %H:%M' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. @@ -189,6 +190,10 @@ # Output file base name for HTML help builder. htmlhelp_basename = 'oslotestReleaseNotesDoc' +# openstackdocstheme options +repository_name = 'openstack/oslotest' +bug_project = 'oslotest' +bug_tag = '' # -- Options for LaTeX output --------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/releasenotes/source/index.rst new/oslotest-2.17.0/releasenotes/source/index.rst --- old/oslotest-2.13.0/releasenotes/source/index.rst 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/releasenotes/source/index.rst 2017-07-18 15:08:50.000000000 +0200 @@ -6,3 +6,4 @@ :maxdepth: 1 unreleased + ocata diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/releasenotes/source/ocata.rst new/oslotest-2.17.0/releasenotes/source/ocata.rst --- old/oslotest-2.13.0/releasenotes/source/ocata.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslotest-2.17.0/releasenotes/source/ocata.rst 2017-07-18 15:08:50.000000000 +0200 @@ -0,0 +1,6 @@ +=================================== + Ocata Series Release Notes +=================================== + +.. release-notes:: + :branch: origin/stable/ocata diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/requirements.txt new/oslotest-2.17.0/requirements.txt --- old/oslotest-2.13.0/requirements.txt 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/requirements.txt 2017-07-18 15:08:50.000000000 +0200 @@ -8,6 +8,6 @@ testrepository>=0.0.18 # Apache-2.0/BSD testtools>=1.4.0 # MIT mock>=2.0 # BSD -mox3>=0.7.0 # Apache-2.0 -os-client-config>=1.22.0 # Apache-2.0 +mox3!=0.19.0,>=0.7.0 # Apache-2.0 +os-client-config>=1.27.0 # Apache-2.0 debtcollector>=1.2.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/setup.cfg new/oslotest-2.17.0/setup.cfg --- old/oslotest-2.13.0/setup.cfg 2017-01-18 15:12:34.000000000 +0100 +++ new/oslotest-2.17.0/setup.cfg 2017-07-18 15:10:30.000000000 +0200 @@ -5,7 +5,7 @@ README.rst author = OpenStack author-email = [email protected] -home-page = http://docs.openstack.org/developer/oslotest +home-page = https://docs.openstack.org/oslotest/latest/ classifier = Environment :: OpenStack Intended Audience :: Developers @@ -16,7 +16,6 @@ Programming Language :: Python :: 2 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 - Programming Language :: Python :: 3.4 Programming Language :: Python :: 3.5 [files] @@ -31,13 +30,16 @@ source-dir = doc/source build-dir = doc/build all_files = 1 +warning-is-error = 1 [upload_sphinx] upload-dir = doc/build/html [pbr] -warnerrors = true autodoc_index_modules = true +api_doc_dir = reference/api +autodoc_exclude_modules = + oslotest.tests.* [wheel] universal = true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/setup.py new/oslotest-2.17.0/setup.py --- old/oslotest-2.13.0/setup.py 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/setup.py 2017-07-18 15:08:50.000000000 +0200 @@ -25,5 +25,5 @@ pass setuptools.setup( - setup_requires=['pbr>=1.8'], + setup_requires=['pbr>=2.0.0'], pbr=True) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/test-requirements.txt new/oslotest-2.17.0/test-requirements.txt --- old/oslotest-2.13.0/test-requirements.txt 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/test-requirements.txt 2017-07-18 15:08:50.000000000 +0200 @@ -2,16 +2,16 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -hacking<0.11,>=0.10.0 +hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 # when we can require tox>= 1.4, this can go into tox.ini: # [testenv:cover] # deps = {[testenv]deps} coverage -coverage>=4.0 # Apache-2.0 +coverage!=4.4,>=4.0 # Apache-2.0 # this is required for the docs build jobs -sphinx!=1.3b1,<1.4,>=1.2.1 # BSD -oslosphinx>=4.7.0 # Apache-2.0 -oslo.config!=3.18.0,>=3.14.0 # Apache-2.0 +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 -reno>=1.8.0 # Apache-2.0 +reno!=2.3.1,>=1.8.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/tox.ini new/oslotest-2.17.0/tox.ini --- old/oslotest-2.13.0/tox.ini 2017-01-18 15:10:36.000000000 +0100 +++ new/oslotest-2.17.0/tox.ini 2017-07-18 15:08:50.000000000 +0200 @@ -1,7 +1,7 @@ [tox] minversion = 2.0 distribute = False -envlist = py35,py34,py27,pep8 +envlist = py35,py27,pep8 [testenv] setenv =
