commit python-futurist for openSUSE:Factory
Hello community, here is the log from the commit of package python-futurist for openSUSE:Factory checked in at 2019-05-03 22:40:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-futurist (Old) and /work/SRC/openSUSE:Factory/.python-futurist.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-futurist" Fri May 3 22:40:24 2019 rev:8 rq:692824 version:1.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-futurist/python-futurist.changes 2018-09-07 15:37:11.278678959 +0200 +++ /work/SRC/openSUSE:Factory/.python-futurist.new.5148/python-futurist.changes 2019-05-03 22:40:34.151006842 +0200 @@ -1,0 +2,19 @@ +Mon Apr 8 14:00:23 UTC 2019 - cloud-devel@suse.de + +- update to version 1.8.1 + - fix tox python3 overrides + - Add blueprints notes link to README + - Use template for lower-constraints + - Trivial: Update pypi url to new url + - Change openstack-dev to openstack-discuss + - import zuul job settings from project-config + - Update reno for stable/rocky + - Only install monotonic on python2 + - Don't quote {posargs} in tox.ini + - Follow the new PTI for document build + - Remove the duplicated word + - add lib-forward-testing-python3 test job + - add python 3.6 unit test job + - Switch to stestr + +------------------------------------------------------------------- Old: ---- futurist-1.7.0.tar.gz New: ---- futurist-1.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-futurist.spec ++++++ --- /var/tmp/diff_new_pack.UhnDRj/_old 2019-05-03 22:40:34.879008375 +0200 +++ /var/tmp/diff_new_pack.UhnDRj/_new 2019-05-03 22:40:34.883008383 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-futurist # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,20 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: python-futurist -Version: 1.7.0 +Version: 1.8.1 Release: 0 Summary: Useful additions to futures, from the future. License: Apache-2.0 Group: Development/Languages/Python URL: https://launchpad.net/futurist -Source0: https://files.pythonhosted.org/packages/source/f/futurist/futurist-1.7.0.tar... +Source0: https://files.pythonhosted.org/packages/source/f/futurist/futurist-1.8.1.tar... BuildRequires: openstack-macros -BuildRequires: python-devel BuildRequires: python2-PrettyTable >= 0.7.1 BuildRequires: python2-Sphinx BuildRequires: python2-contextlib2 >= 0.4.0 @@ -37,12 +36,10 @@ BuildRequires: python2-pbr >= 2.0.0 BuildRequires: python2-setuptools BuildRequires: python2-six >= 1.10.0 -BuildRequires: python2-testrepository +BuildRequires: python2-stestr BuildRequires: python2-testscenarios -BuildRequires: python2-testtools BuildRequires: python3-PrettyTable >= 0.7.1 BuildRequires: python3-Sphinx -BuildRequires: python3-devel BuildRequires: python3-eventlet BuildRequires: python3-monotonic >= 0.6 BuildRequires: python3-openstackdocstheme @@ -50,9 +47,8 @@ BuildRequires: python3-pbr >= 2.0.0 BuildRequires: python3-setuptools BuildRequires: python3-six >= 1.10.0 -BuildRequires: python3-testrepository +BuildRequires: python3-stestr BuildRequires: python3-testscenarios -BuildRequires: python3-testtools Requires: python-PrettyTable >= 0.7.1 Requires: python-monotonic >= 0.6 Requires: python-six >= 1.10.0 @@ -67,25 +63,20 @@ Useful additions to futures, from the future. %prep -%autosetup -p1 -n futurist-1.7.0 +%autosetup -p1 -n futurist-1.8.1 %py_req_cleanup -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{python_build} # generate html docs -%{__python2} setup.py build_sphinx -# remove the sphinx-build leftovers -rm -rf html/.{doctrees,buildinfo} +PBR_VERSION=1.8.1 sphinx-build -b html doc/source doc/build/html %install %{python_install} %check -%{python_expand rm -rf .testrepository -$python setup.py testr -} +%python_exec -m stestr.cli run %files %{python_files} %doc doc/build/html README.rst ++++++ _service ++++++ --- /var/tmp/diff_new_pack.UhnDRj/_old 2019-05-03 22:40:34.931008484 +0200 +++ /var/tmp/diff_new_pack.UhnDRj/_new 2019-05-03 22:40:34.935008493 +0200 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/rocky/openstack/futurist/futurist.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/stein/openstack/futurist/futurist.spec.j2</param> <param name="output-name">python-futurist.spec</param> - <param name="requirements">https://raw.githubusercontent.com/openstack/futurist/stable/rocky/requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/futurist/stable/stein/requirements.txt</param> <param name="changelog-email">cloud-devel@suse.de</param> <param name="changelog-provider">gh,openstack,futurist</param> </service> ++++++ futurist-1.7.0.tar.gz -> futurist-1.8.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/.stestr.conf new/futurist-1.8.1/.stestr.conf --- old/futurist-1.7.0/.stestr.conf 1970-01-01 01:00:00.000000000 +0100 +++ new/futurist-1.8.1/.stestr.conf 2019-02-28 19:05:31.000000000 +0100 @@ -0,0 +1,4 @@ +[DEFAULT] +test_path=./futurist/tests +top_dir=./ + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/.testr.conf new/futurist-1.8.1/.testr.conf --- old/futurist-1.7.0/.testr.conf 2018-04-23 23:06:20.000000000 +0200 +++ new/futurist-1.8.1/.testr.conf 1970-01-01 01:00:00.000000000 +0100 @@ -1,7 +0,0 @@ -[DEFAULT] -test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ - OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ - OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ - ${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION -test_id_option=--load-list $IDFILE -test_list_option=--list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/.zuul.yaml new/futurist-1.8.1/.zuul.yaml --- old/futurist-1.7.0/.zuul.yaml 2018-04-23 23:06:20.000000000 +0200 +++ new/futurist-1.8.1/.zuul.yaml 2019-02-28 19:05:31.000000000 +0100 @@ -1,7 +1,12 @@ - project: - check: - jobs: - - openstack-tox-lower-constraints - gate: - jobs: - - openstack-tox-lower-constraints + templates: + - check-requirements + - lib-forward-testing + - lib-forward-testing-python3 + - openstack-lower-constraints-jobs + - openstack-python-jobs + - openstack-python35-jobs + - openstack-python36-jobs + - periodic-stable-jobs + - publish-openstack-docs-pti + - release-notes-jobs-python3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/AUTHORS new/futurist-1.8.1/AUTHORS --- old/futurist-1.7.0/AUTHORS 2018-04-23 23:08:46.000000000 +0200 +++ new/futurist-1.8.1/AUTHORS 2019-02-28 19:07:55.000000000 +0100 @@ -1,3 +1,4 @@ +98k <18552437190@163.com> Akihiro Motoki <amotoki@gmail.com> Andreas Jaeger <aj@suse.com> Anh Tran <anhtt@vn.fujitsu.com> @@ -12,6 +13,7 @@ Joshua Harlow <harlowja@gmail.com> Joshua Harlow <harlowja@yahoo-inc.com> Joshua Harlow <jxharlow@godaddy.com> +LeopardMa <mabao@inspur.com> Mehdi Abaakouk <sileht@sileht.net> Monty Taylor <mordred@inaugust.com> Nguyen Van Trung <trungnv@vn.fujitsu.com> @@ -22,8 +24,8 @@ Thomas Bechtold <tbechtold@suse.com> Tony Breeds <tony@bakeyournoodle.com> Tony Xu <hhktony@gmail.com> +Vu Cong Tuan <tuanvc@vn.fujitsu.com> Yuriy Zveryanskyy <yzveryanskyy@mirantis.com> -Zuul <zuul@review.openstack.org> aditi <aditi.s@nectechnologies.in> gengchc2 <geng.changcai2@zte.com.cn> janonymous <janonymous.codevulture@gmail.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/ChangeLog new/futurist-1.8.1/ChangeLog --- old/futurist-1.7.0/ChangeLog 2018-04-23 23:08:46.000000000 +0200 +++ new/futurist-1.8.1/ChangeLog 2019-02-28 19:07:55.000000000 +0100 @@ -1,6 +1,28 @@ CHANGES ======= +1.8.1 +----- + +* Use template for lower-constraints +* Change openstack-dev to openstack-discuss + +1.8.0 +----- + +* Only install monotonic on python2 +* Don't quote {posargs} in tox.ini +* Remove the duplicated word +* add lib-forward-testing-python3 test job +* add python 3.6 unit test job +* import zuul job settings from project-config +* Update reno for stable/rocky +* Switch to stestr +* Follow the new PTI for document build +* Add blueprints notes link to README +* fix tox python3 overrides +* Trivial: Update pypi url to new url + 1.7.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/PKG-INFO new/futurist-1.8.1/PKG-INFO --- old/futurist-1.7.0/PKG-INFO 2018-04-23 23:08:47.000000000 +0200 +++ new/futurist-1.8.1/PKG-INFO 2019-02-28 19:07:55.000000000 +0100 @@ -1,10 +1,10 @@ Metadata-Version: 1.1 Name: futurist -Version: 1.7.0 +Version: 1.8.1 Summary: Useful additions to futures, from the future. Home-page: https://docs.openstack.org/futurist/latest/ Author: OpenStack -Author-email: openstack-dev@lists.openstack.org +Author-email: openstack-discuss@lists.openstack.org License: UNKNOWN Description: ======================== Team and repository tags @@ -20,11 +20,11 @@ ======== .. image:: https://img.shields.io/pypi/v/futurist.svg - :target: https://pypi.python.org/pypi/futurist/ + :target: https://pypi.org/project/futurist/ :alt: Latest Version .. image:: https://img.shields.io/pypi/dm/futurist.svg - :target: https://pypi.python.org/pypi/futurist/ + :target: https://pypi.org/project/futurist/ :alt: Downloads Code from the future, delivered to you in the **now**. The goal of this library @@ -37,6 +37,7 @@ * Documentation: https://docs.openstack.org/futurist/latest/ * Source: https://git.openstack.org/cgit/openstack/futurist * Bugs: https://bugs.launchpad.net/futurist + * Blueprints: https://blueprints.launchpad.net/futurist Platform: UNKNOWN diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/README.rst new/futurist-1.8.1/README.rst --- old/futurist-1.7.0/README.rst 2018-04-23 23:06:20.000000000 +0200 +++ new/futurist-1.8.1/README.rst 2019-02-28 19:05:31.000000000 +0100 @@ -12,11 +12,11 @@ ======== .. image:: https://img.shields.io/pypi/v/futurist.svg - :target: https://pypi.python.org/pypi/futurist/ + :target: https://pypi.org/project/futurist/ :alt: Latest Version .. image:: https://img.shields.io/pypi/dm/futurist.svg - :target: https://pypi.python.org/pypi/futurist/ + :target: https://pypi.org/project/futurist/ :alt: Downloads Code from the future, delivered to you in the **now**. The goal of this library @@ -29,3 +29,4 @@ * Documentation: https://docs.openstack.org/futurist/latest/ * Source: https://git.openstack.org/cgit/openstack/futurist * Bugs: https://bugs.launchpad.net/futurist +* Blueprints: https://blueprints.launchpad.net/futurist diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/doc/requirements.txt new/futurist-1.8.1/doc/requirements.txt --- old/futurist-1.7.0/doc/requirements.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/futurist-1.8.1/doc/requirements.txt 2019-02-28 19:05:31.000000000 +0100 @@ -0,0 +1,3 @@ +sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD +openstackdocstheme>=1.18.1 # Apache-2.0 +reno>=2.5.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/futurist/_utils.py new/futurist-1.8.1/futurist/_utils.py --- old/futurist-1.7.0/futurist/_utils.py 2018-04-23 23:06:20.000000000 +0200 +++ new/futurist-1.8.1/futurist/_utils.py 2019-02-28 19:05:31.000000000 +0100 @@ -21,7 +21,12 @@ import threading import traceback -from monotonic import monotonic as now # noqa +try: + from monotonic import monotonic as now # noqa +except ImportError: + import time + now = time.monotonic + import six try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/futurist/tests/test_executors.py new/futurist-1.8.1/futurist/tests/test_executors.py --- old/futurist-1.7.0/futurist/tests/test_executors.py 2018-04-23 23:06:20.000000000 +0200 +++ new/futurist-1.8.1/futurist/tests/test_executors.py 2019-02-28 19:05:31.000000000 +0100 @@ -83,7 +83,7 @@ self.assertEqual(3, self.executor.statistics.executed) self.assertEqual(1, self.executor.statistics.failures) self.assertGreaterEqual(self.executor.statistics.runtime, - # It appears that the the thread run loop + # It appears that the thread run loop # may call this before 0.2 seconds (or 0.2 # will not be represented as a float correctly) # is really up so accommodate for that diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/futurist.egg-info/PKG-INFO new/futurist-1.8.1/futurist.egg-info/PKG-INFO --- old/futurist-1.7.0/futurist.egg-info/PKG-INFO 2018-04-23 23:08:46.000000000 +0200 +++ new/futurist-1.8.1/futurist.egg-info/PKG-INFO 2019-02-28 19:07:55.000000000 +0100 @@ -1,10 +1,10 @@ Metadata-Version: 1.1 Name: futurist -Version: 1.7.0 +Version: 1.8.1 Summary: Useful additions to futures, from the future. Home-page: https://docs.openstack.org/futurist/latest/ Author: OpenStack -Author-email: openstack-dev@lists.openstack.org +Author-email: openstack-discuss@lists.openstack.org License: UNKNOWN Description: ======================== Team and repository tags @@ -20,11 +20,11 @@ ======== .. image:: https://img.shields.io/pypi/v/futurist.svg - :target: https://pypi.python.org/pypi/futurist/ + :target: https://pypi.org/project/futurist/ :alt: Latest Version .. image:: https://img.shields.io/pypi/dm/futurist.svg - :target: https://pypi.python.org/pypi/futurist/ + :target: https://pypi.org/project/futurist/ :alt: Downloads Code from the future, delivered to you in the **now**. The goal of this library @@ -37,6 +37,7 @@ * Documentation: https://docs.openstack.org/futurist/latest/ * Source: https://git.openstack.org/cgit/openstack/futurist * Bugs: https://bugs.launchpad.net/futurist + * Blueprints: https://blueprints.launchpad.net/futurist Platform: UNKNOWN diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/futurist.egg-info/SOURCES.txt new/futurist-1.8.1/futurist.egg-info/SOURCES.txt --- old/futurist-1.7.0/futurist.egg-info/SOURCES.txt 2018-04-23 23:08:47.000000000 +0200 +++ new/futurist-1.8.1/futurist.egg-info/SOURCES.txt 2019-02-28 19:07:55.000000000 +0100 @@ -1,6 +1,6 @@ .coveragerc .mailmap -.testr.conf +.stestr.conf .zuul.yaml AUTHORS CONTRIBUTING.rst @@ -16,6 +16,7 @@ setup.py test-requirements.txt tox.ini +doc/requirements.txt doc/source/conf.py doc/source/index.rst doc/source/contributor/index.rst @@ -52,6 +53,7 @@ releasenotes/source/ocata.rst releasenotes/source/pike.rst releasenotes/source/queens.rst +releasenotes/source/rocky.rst releasenotes/source/unreleased.rst releasenotes/source/_static/.placeholder releasenotes/source/_templates/.placeholder \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/futurist.egg-info/pbr.json new/futurist-1.8.1/futurist.egg-info/pbr.json --- old/futurist-1.7.0/futurist.egg-info/pbr.json 2018-04-23 23:08:46.000000000 +0200 +++ new/futurist-1.8.1/futurist.egg-info/pbr.json 2019-02-28 19:07:55.000000000 +0100 @@ -1 +1 @@ -{"git_version": "936a5d5", "is_release": true} \ No newline at end of file +{"git_version": "481e940", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/futurist.egg-info/requires.txt new/futurist-1.8.1/futurist.egg-info/requires.txt --- old/futurist-1.7.0/futurist.egg-info/requires.txt 2018-04-23 23:08:46.000000000 +0200 +++ new/futurist-1.8.1/futurist.egg-info/requires.txt 2019-02-28 19:07:55.000000000 +0100 @@ -1,8 +1,12 @@ pbr!=2.1.0,>=2.0.0 six>=1.10.0 -monotonic>=0.6 -contextlib2>=0.4.0 PrettyTable<0.8,>=0.7.1 +[:(python_version<'3.0')] +contextlib2>=0.4.0 + +[:(python_version<'3.3')] +monotonic>=0.6 + [:(python_version=='2.7' or python_version=='2.6')] futures>=3.0.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/lower-constraints.txt new/futurist-1.8.1/lower-constraints.txt --- old/futurist-1.7.0/lower-constraints.txt 2018-04-23 23:06:20.000000000 +0200 +++ new/futurist-1.8.1/lower-constraints.txt 2019-02-28 19:05:31.000000000 +0100 @@ -45,7 +45,7 @@ Sphinx==1.6.2 sphinxcontrib-websupport==1.0.1 stevedore==1.20.0 -testrepository==0.0.18 +stestr==2.0.0 testscenarios==0.4 testtools==2.2.0 traceback2==1.4.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/releasenotes/source/index.rst new/futurist-1.8.1/releasenotes/source/index.rst --- old/futurist-1.7.0/releasenotes/source/index.rst 2018-04-23 23:06:20.000000000 +0200 +++ new/futurist-1.8.1/releasenotes/source/index.rst 2019-02-28 19:05:31.000000000 +0100 @@ -6,6 +6,7 @@ :maxdepth: 1 unreleased + rocky queens pike ocata diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/releasenotes/source/rocky.rst new/futurist-1.8.1/releasenotes/source/rocky.rst --- old/futurist-1.7.0/releasenotes/source/rocky.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/futurist-1.8.1/releasenotes/source/rocky.rst 2019-02-28 19:05:31.000000000 +0100 @@ -0,0 +1,6 @@ +=================================== + Rocky Series Release Notes +=================================== + +.. release-notes:: + :branch: stable/rocky diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/requirements.txt new/futurist-1.8.1/requirements.txt --- old/futurist-1.7.0/requirements.txt 2018-04-23 23:06:20.000000000 +0200 +++ new/futurist-1.8.1/requirements.txt 2019-02-28 19:05:31.000000000 +0100 @@ -4,7 +4,7 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 six>=1.10.0 # MIT -monotonic>=0.6 # Apache-2.0 +monotonic>=0.6;python_version<'3.3' # Apache-2.0 futures>=3.0.0;python_version=='2.7' or python_version=='2.6' # BSD -contextlib2>=0.4.0 # PSF License +contextlib2>=0.4.0;python_version<'3.0' # PSF License PrettyTable<0.8,>=0.7.1 # BSD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/setup.cfg new/futurist-1.8.1/setup.cfg --- old/futurist-1.7.0/setup.cfg 2018-04-23 23:08:47.000000000 +0200 +++ new/futurist-1.8.1/setup.cfg 2019-02-28 19:07:55.000000000 +0100 @@ -4,7 +4,7 @@ description-file = README.rst author = OpenStack -author-email = openstack-dev@lists.openstack.org +author-email = openstack-discuss@lists.openstack.org home-page = https://docs.openstack.org/futurist/latest/ classifier = Environment :: OpenStack @@ -22,15 +22,6 @@ packages = futurist -[build_sphinx] -source-dir = doc/source -build-dir = doc/build -all_files = 1 -warning-is-error = 1 - -[upload_sphinx] -upload-dir = doc/build/html - [compile_catalog] directory = futurist/locale domain = futurist diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/test-requirements.txt new/futurist-1.8.1/test-requirements.txt --- old/futurist-1.7.0/test-requirements.txt 2018-04-23 23:06:20.000000000 +0200 +++ new/futurist-1.8.1/test-requirements.txt 2019-02-28 19:05:31.000000000 +0100 @@ -10,10 +10,7 @@ doc8>=0.6.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 python-subunit>=1.0.0 # Apache-2.0/BSD -sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD -openstackdocstheme>=1.18.1 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0 -testrepository>=0.0.18 # Apache-2.0/BSD +stestr>=2.0.0 # Apache-2.0 testscenarios>=0.4 # Apache-2.0/BSD testtools>=2.2.0 # MIT -reno>=2.5.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/futurist-1.7.0/tox.ini new/futurist-1.8.1/tox.ini --- old/futurist-1.7.0/tox.ini 2018-04-23 23:06:20.000000000 +0200 +++ new/futurist-1.8.1/tox.ini 2019-02-28 19:05:31.000000000 +0100 @@ -3,7 +3,6 @@ envlist = py35,py27,pypy,pep8 [testenv] -basepython = python3 install_command = pip install {opts} {packages} whitelist_externals = find rm @@ -12,33 +11,43 @@ -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = - python setup.py testr --slowest --testr-args='{posargs}' - sphinx-build -E -W -b doctest doc/source doc/build/doctest + stestr run --slowest {posargs} [testenv:pep8] +basepython = python3 commands = flake8 doc8 doc/source [testenv:venv] +basepython = python3 commands = {posargs} [testenv:cover] +basepython = python3 +setenv = + PYTHON=coverage run --source $project --parallel-mode commands = - coverage erase - find . -type f -name "*.pyc" -delete - python setup.py test --coverage --testr-args='{posargs}' - coverage report + coverage erase + find . -type f -name "*.pyc" -delete + stestr run {posargs} + coverage combine + coverage html -d cover + coverage xml -o cover/coverage.xml + coverage report [testenv:py27] basepython = python2.7 [testenv:docs] +basepython = python3 +deps = -r{toxinidir}/doc/requirements.txt commands = rm -rf doc/build sphinx-build -E -W -b html doc/source doc/build/html [testenv:debug] +basepython = python3 commands = oslo_debug_helper {posargs} [flake8] @@ -49,9 +58,11 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build [testenv:releasenotes] +basepython = python3 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [testenv:lower-constraints] +basepython = python3 deps = -c{toxinidir}/lower-constraints.txt -r{toxinidir}/test-requirements.txt
participants (1)
-
root