Hello community, here is the log from the commit of package python-stevedore for openSUSE:Factory checked in at 2018-01-24 15:26:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-stevedore (Old) and /work/SRC/openSUSE:Factory/.python-stevedore.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-stevedore" Wed Jan 24 15:26:40 2018 rev:29 rq:567254 version:1.28.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-stevedore/python-stevedore.changes 2017-11-12 18:02:58.383449331 +0100 +++ /work/SRC/openSUSE:Factory/.python-stevedore.new/python-stevedore.changes 2018-01-24 15:26:41.349068748 +0100 @@ -1,0 +2,17 @@ +Mon Jan 15 12:05:24 UTC 2018 - [email protected] + +- update to version 1.28.0 + - move doc requirements to doc/requirements.txt + - Remove -U from pip install + - add bandit to pep8 job + - Update reno for stable/pike + - Remove setting of version/release from releasenotes + - Add an ExtensionManager.items() method + - Make openstackdocstheme an optional doc dependency + - Avoid tox_install.sh for constraints support + - Move reno to optional docs requirements + - Remove duplicate optional requirement + - Remove Pillow from test-requirements + - Updated from global requirements + +------------------------------------------------------------------- Old: ---- stevedore-1.25.0.tar.gz New: ---- stevedore-1.28.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-stevedore.spec ++++++ --- /var/tmp/diff_new_pack.DqFSAs/_old 2018-01-24 15:26:43.340975581 +0100 +++ /var/tmp/diff_new_pack.DqFSAs/_new 2018-01-24 15:26:43.344975394 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-stevedore # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -16,26 +16,29 @@ # -%global pypi_name stevedore Name: python-stevedore -Version: 1.25.0 +Version: 1.28.0 Release: 0 Summary: Manage dynamic plugins for Python applications License: Apache-2.0 Group: Development/Languages/Python Url: http://docs.openstack.org/developer/stevedore/ -Source0: https://pypi.io/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/s/stevedore/stevedore-1.28.0.tar.gz BuildRequires: openstack-macros BuildRequires: python-devel -BuildRequires: python-mock >= 2.0 -BuildRequires: python-pbr >= 2.0.0 -BuildRequires: python-reno >= 1.8.0 -BuildRequires: python-setuptools >= 16.0 -BuildRequires: python-testrepository >= 0.0.18 -Requires: python-pbr >= 2.0.0 -Requires: python-six >= 1.9.0 -Provides: python2-stevedore = %{version} +BuildRequires: python2-mock +BuildRequires: python2-pbr +BuildRequires: python2-setuptools +BuildRequires: python2-testrepository +BuildRequires: python3-devel +BuildRequires: python3-mock +BuildRequires: python3-pbr +BuildRequires: python3-setuptools +BuildRequires: python3-testrepository +Requires: python-pbr +Requires: python-six >= 1.10.0 BuildArch: noarch +%python_subpackages %description Python makes loading code dynamically easy, allowing you to configure @@ -48,13 +51,13 @@ provides manager classes for implementing common patterns for using dynamically loaded extensions. -%package doc +%package -n python-stevedore-doc Summary: Documentation for %{name} -Group: Documentation -BuildRequires: python-Sphinx -BuildRequires: python-openstackdocstheme >= 1.16.0 +Group: Documentation/HTML +BuildRequires: python2-Sphinx +Provides: %{python_module stevedore-doc = %{version}} -%description doc +%description -n python-stevedore-doc Python makes loading code dynamically easy, allowing you to configure and extend your application by discovering and loading extensions (plugins) at runtime. Many applications implement their own @@ -68,31 +71,33 @@ This package contains documentation in HTML format. %prep -%autosetup -n %{pypi_name}-%{version} +%autosetup -p1 -n stevedore-%{version} %py_req_cleanup sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build -%py2_build +%python_build # generate html docs %{__python2} setup.py build_sphinx # remove the Sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} -%check -%{__python2} setup.py test - %install -%py2_install +%python_install + +%check +%{python_expand rm -rf .testrepository +$python setup.py test +} -%files +%files %{python_files} %license LICENSE %doc README.rst -%{python2_sitelib}/%{pypi_name} -%{python2_sitelib}/%{pypi_name}-*.egg-info +%{python_sitelib}/stevedore +%{python_sitelib}/stevedore-*.egg-info -%files doc +%files -n python-stevedore-doc %license LICENSE %doc doc/build/html ++++++ _service ++++++ --- /var/tmp/diff_new_pack.DqFSAs/_old 2018-01-24 15:26:43.368974271 +0100 +++ /var/tmp/diff_new_pack.DqFSAs/_new 2018-01-24 15:26:43.372974084 +0100 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/openstack/stevedore/stevedore.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/stevedore/stevedore.spec.j2</param> <param name="output-name">python-stevedore.spec</param> - <param name="requirements">https://raw.githubusercontent.com/openstack/requirements/stable/pike/global-requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/requirements/master/requirements.txt</param> <param name="changelog-email">[email protected]</param> <param name="changelog-provider">gh,openstack,stevedore</param> </service> ++++++ stevedore-1.25.0.tar.gz -> stevedore-1.28.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/AUTHORS new/stevedore-1.28.0/AUTHORS --- old/stevedore-1.25.0/AUTHORS 2017-07-18 15:11:46.000000000 +0200 +++ new/stevedore-1.28.0/AUTHORS 2017-12-04 11:37:57.000000000 +0100 @@ -7,6 +7,7 @@ Cleber Rosa <[email protected]> Cyril Roelandt <[email protected]> Daniel Rocco <[email protected]> +Daniel Watkins <[email protected]> Davanum Srinivas <[email protected]> Dirk Mueller <[email protected]> Doug Hellmann <[email protected]> @@ -33,6 +34,7 @@ Wes Turner <[email protected]> Yvonne Stachowski <[email protected]> Zhao Lei <[email protected]> +Zuul <[email protected]> caoyue <[email protected]> gengchc2 <[email protected]> liangjingtao <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/ChangeLog new/stevedore-1.28.0/ChangeLog --- old/stevedore-1.25.0/ChangeLog 2017-07-18 15:11:46.000000000 +0200 +++ new/stevedore-1.28.0/ChangeLog 2017-12-04 11:37:57.000000000 +0100 @@ -1,6 +1,39 @@ CHANGES ======= +1.28.0 +------ + +* Updated from global requirements +* Remove -U from pip install +* Avoid tox\_install.sh for constraints support +* add bandit to pep8 job +* move doc requirements to doc/requirements.txt +* Remove setting of version/release from releasenotes +* Updated from global requirements + +1.27.1 +------ + +* Move reno to optional docs requirements +* Remove duplicate optional requirement + +1.27.0 +------ + +* Updated from global requirements + +1.26.0 +------ + +* Updated from global requirements +* Remove Pillow from test-requirements +* Make openstackdocstheme an optional doc dependency +* Updated from global requirements +* Add an ExtensionManager.items() method +* Update reno for stable/pike +* Updated from global requirements + 1.25.0 ------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/PKG-INFO new/stevedore-1.28.0/PKG-INFO --- old/stevedore-1.25.0/PKG-INFO 2017-07-18 15:11:47.000000000 +0200 +++ new/stevedore-1.28.0/PKG-INFO 2017-12-04 11:37:58.000000000 +0100 @@ -1,11 +1,12 @@ Metadata-Version: 1.1 Name: stevedore -Version: 1.25.0 +Version: 1.28.0 Summary: Manage dynamic plugins for Python applications Home-page: https://docs.openstack.org/stevedore/latest/ Author: OpenStack Author-email: [email protected] License: UNKNOWN +Description-Content-Type: UNKNOWN Description: =========================================================== stevedore -- Manage dynamic plugins for Python applications =========================================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/doc/requirements.txt new/stevedore-1.28.0/doc/requirements.txt --- old/stevedore-1.25.0/doc/requirements.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/stevedore-1.28.0/doc/requirements.txt 2017-12-04 11:35:57.000000000 +0100 @@ -0,0 +1,6 @@ +# The order of packages is significant, because pip processes them in the order +# of appearance. Changing the order has an impact on the overall integration +# process, which may cause wedges in the gate later. +openstackdocstheme>=1.17.0 # Apache-2.0 +reno>=2.5.0 # Apache-2.0 +sphinx>=1.6.2 # BSD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/doc/source/conf.py new/stevedore-1.28.0/doc/source/conf.py --- old/stevedore-1.25.0/doc/source/conf.py 2017-07-18 15:09:14.000000000 +0200 +++ new/stevedore-1.28.0/doc/source/conf.py 2017-12-04 11:35:48.000000000 +0100 @@ -14,6 +14,16 @@ import datetime import subprocess +# make openstackdocstheme an optional dependency. stevedore is a low level lib +# that is used outside of OpenStack. Not having something OpenStack specific +# as build requirement is a good thing. +try: + import openstackdocstheme +except ImportError: + has_openstackdocstheme = False +else: + has_openstackdocstheme = True + # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. @@ -31,9 +41,10 @@ 'sphinx.ext.todo', 'sphinx.ext.graphviz', 'sphinx.ext.extlinks', - 'openstackdocstheme', 'stevedore.sphinxext', ] +if has_openstackdocstheme: + extensions.append('openstackdocstheme') # openstackdocstheme options repository_name = 'openstack/stevedore' @@ -108,7 +119,8 @@ # 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' +if has_openstackdocstheme: + 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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/releasenotes/source/conf.py new/stevedore-1.28.0/releasenotes/source/conf.py --- old/stevedore-1.25.0/releasenotes/source/conf.py 2017-07-18 15:09:14.000000000 +0200 +++ new/stevedore-1.28.0/releasenotes/source/conf.py 2017-12-04 11:35:48.000000000 +0100 @@ -61,16 +61,12 @@ project = u'stevedore Release Notes' copyright = u'2016, stevedore Developers' -# The version info for the project you're documenting, acts as replacement for -# |version| and |release|, also used in various other places throughout the -# built documents. -# -# The short X.Y version. +# Release do not need a version number in the title, they +# cover multiple versions. # The full version, including alpha/beta/rc tags. -import pkg_resources -release = pkg_resources.get_distribution('stevedore').version +release = '' # The short X.Y version. -version = release +version = '' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/releasenotes/source/index.rst new/stevedore-1.28.0/releasenotes/source/index.rst --- old/stevedore-1.25.0/releasenotes/source/index.rst 2017-07-18 15:09:14.000000000 +0200 +++ new/stevedore-1.28.0/releasenotes/source/index.rst 2017-12-04 11:35:48.000000000 +0100 @@ -6,4 +6,5 @@ :maxdepth: 1 unreleased + pike ocata diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/releasenotes/source/pike.rst new/stevedore-1.28.0/releasenotes/source/pike.rst --- old/stevedore-1.25.0/releasenotes/source/pike.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/stevedore-1.28.0/releasenotes/source/pike.rst 2017-12-04 11:35:48.000000000 +0100 @@ -0,0 +1,6 @@ +=================================== + Pike Series Release Notes +=================================== + +.. release-notes:: + :branch: stable/pike diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/requirements.txt new/stevedore-1.28.0/requirements.txt --- old/stevedore-1.25.0/requirements.txt 2017-07-18 15:09:14.000000000 +0200 +++ new/stevedore-1.28.0/requirements.txt 2017-12-04 11:35:48.000000000 +0100 @@ -3,4 +3,4 @@ # process, which may cause wedges in the gate later. pbr!=2.1.0,>=2.0.0 # Apache-2.0 -six>=1.9.0 # MIT +six>=1.10.0 # MIT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/stevedore/extension.py new/stevedore-1.28.0/stevedore/extension.py --- old/stevedore-1.25.0/stevedore/extension.py 2017-07-18 15:09:14.000000000 +0200 +++ new/stevedore-1.28.0/stevedore/extension.py 2017-12-04 11:35:48.000000000 +0100 @@ -153,7 +153,16 @@ def _init_plugins(self, extensions): self.extensions = extensions - self._extensions_by_name = None + self._extensions_by_name_cache = None + + @property + def _extensions_by_name(self): + if self._extensions_by_name_cache is None: + d = {} + for e in self.extensions: + d[e.name] = e + self._extensions_by_name_cache = d + return self._extensions_by_name_cache ENTRY_POINT_CACHE = {} @@ -291,6 +300,14 @@ LOG.error('error calling %r: %s', e.name, err) LOG.exception(err) + def items(self): + """ + Return an iterator of tuples of the form (name, extension). + + This is analogous to the Mapping.items() method. + """ + return self._extensions_by_name.items() + def __iter__(self): """Produce iterator for the manager. @@ -306,11 +323,6 @@ produces the :class:`Extension` instance with the specified name. """ - if self._extensions_by_name is None: - d = {} - for e in self.extensions: - d[e.name] = e - self._extensions_by_name = d return self._extensions_by_name[name] def __contains__(self, name): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/stevedore/tests/test_extension.py new/stevedore-1.28.0/stevedore/tests/test_extension.py --- old/stevedore-1.25.0/stevedore/tests/test_extension.py 2017-07-18 15:09:14.000000000 +0200 +++ new/stevedore-1.28.0/stevedore/tests/test_extension.py 2017-12-04 11:35:48.000000000 +0100 @@ -198,6 +198,11 @@ result = em.map_method('get_args_and_data', 42) self.assertEqual(set(r[2] for r in result), set([42])) + def test_items(self): + em = extension.ExtensionManager('stevedore.test.extension') + expected_output = set([(name, em[name]) for name in ALL_NAMES]) + self.assertEqual(expected_output, set(em.items())) + class TestLoadRequirementsNewSetuptools(utils.TestCase): # setuptools 11.3 and later diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/stevedore.egg-info/PKG-INFO new/stevedore-1.28.0/stevedore.egg-info/PKG-INFO --- old/stevedore-1.25.0/stevedore.egg-info/PKG-INFO 2017-07-18 15:11:46.000000000 +0200 +++ new/stevedore-1.28.0/stevedore.egg-info/PKG-INFO 2017-12-04 11:37:57.000000000 +0100 @@ -1,11 +1,12 @@ Metadata-Version: 1.1 Name: stevedore -Version: 1.25.0 +Version: 1.28.0 Summary: Manage dynamic plugins for Python applications Home-page: https://docs.openstack.org/stevedore/latest/ Author: OpenStack Author-email: [email protected] License: UNKNOWN +Description-Content-Type: UNKNOWN Description: =========================================================== stevedore -- Manage dynamic plugins for Python applications =========================================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/stevedore.egg-info/SOURCES.txt new/stevedore-1.28.0/stevedore.egg-info/SOURCES.txt --- old/stevedore-1.25.0/stevedore.egg-info/SOURCES.txt 2017-07-18 15:11:46.000000000 +0200 +++ new/stevedore-1.28.0/stevedore.egg-info/SOURCES.txt 2017-12-04 11:37:58.000000000 +0100 @@ -13,6 +13,7 @@ test-requirements.txt tox.ini doc/Makefile +doc/requirements.txt doc/source/conf.py doc/source/index.rst doc/source/install/index.rst @@ -41,6 +42,7 @@ releasenotes/source/conf.py releasenotes/source/index.rst releasenotes/source/ocata.rst +releasenotes/source/pike.rst releasenotes/source/unreleased.rst releasenotes/source/_static/.placeholder releasenotes/source/_templates/.placeholder @@ -84,5 +86,4 @@ stevedore/tests/test_named.py stevedore/tests/test_sphinxext.py stevedore/tests/test_test_manager.py -stevedore/tests/utils.py -tools/tox_install.sh \ No newline at end of file +stevedore/tests/utils.py \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/stevedore.egg-info/pbr.json new/stevedore-1.28.0/stevedore.egg-info/pbr.json --- old/stevedore-1.25.0/stevedore.egg-info/pbr.json 2017-07-18 15:11:46.000000000 +0200 +++ new/stevedore-1.28.0/stevedore.egg-info/pbr.json 2017-12-04 11:37:57.000000000 +0100 @@ -1 +1 @@ -{"git_version": "b18bd78", "is_release": true} \ No newline at end of file +{"git_version": "2472e8c", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/stevedore.egg-info/requires.txt new/stevedore-1.28.0/stevedore.egg-info/requires.txt --- old/stevedore-1.25.0/stevedore.egg-info/requires.txt 2017-07-18 15:11:46.000000000 +0200 +++ new/stevedore-1.28.0/stevedore.egg-info/requires.txt 2017-12-04 11:37:57.000000000 +0100 @@ -1,2 +1,2 @@ pbr!=2.1.0,>=2.0.0 -six>=1.9.0 +six>=1.10.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/test-requirements.txt new/stevedore-1.28.0/test-requirements.txt --- old/stevedore-1.25.0/test-requirements.txt 2017-07-18 15:09:14.000000000 +0200 +++ new/stevedore-1.28.0/test-requirements.txt 2017-12-04 11:35:48.000000000 +0100 @@ -2,10 +2,10 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -Pillow>=2.4.0 # PIL License -sphinx>=1.6.2 # BSD -mock>=2.0 # BSD +mock>=2.0.0 # BSD coverage!=4.4,>=4.0 # Apache-2.0 testrepository>=0.0.18 # Apache-2.0/BSD -openstackdocstheme>=1.11.0 # Apache-2.0 -reno!=2.3.1,>=1.8.0 # Apache-2.0 +# sphinx is needed for testing the sphinxext module +sphinx>=1.6.2 # BSD +# Bandit security code scanner +bandit>=1.1.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/tools/tox_install.sh new/stevedore-1.28.0/tools/tox_install.sh --- old/stevedore-1.25.0/tools/tox_install.sh 2017-07-18 15:09:14.000000000 +0200 +++ new/stevedore-1.28.0/tools/tox_install.sh 1970-01-01 01:00:00.000000000 +0100 @@ -1,30 +0,0 @@ -#!/usr/bin/env bash - -# Client constraint file contains this client version pin that is in conflict -# with installing the client from source. We should remove the version pin in -# the constraints file before applying it for from-source installation. - -CONSTRAINTS_FILE="$1" -shift 1 - -set -e - -# NOTE(tonyb): Place this in the tox enviroment's log dir so it will get -# published to logs.openstack.org for easy debugging. -localfile="$VIRTUAL_ENV/log/upper-constraints.txt" - -if [[ "$CONSTRAINTS_FILE" != http* ]]; then - CONSTRAINTS_FILE="file://$CONSTRAINTS_FILE" -fi -# NOTE(tonyb): need to add curl to bindep.txt if the project supports bindep -curl "$CONSTRAINTS_FILE" --insecure --progress-bar --output "$localfile" - -pip install -c"$localfile" openstack-requirements - -# This is the main purpose of the script: Allow local installation of -# the current repo. It is listed in constraints file and thus any -# install will be constrained and we need to unconstrain it. -edit-constraints "$localfile" -- "$CLIENT_NAME" - -pip install -c"$localfile" -U "$@" -exit $? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stevedore-1.25.0/tox.ini new/stevedore-1.28.0/tox.ini --- old/stevedore-1.25.0/tox.ini 2017-07-18 15:09:14.000000000 +0200 +++ new/stevedore-1.28.0/tox.ini 2017-12-04 11:35:48.000000000 +0100 @@ -3,25 +3,34 @@ envlist = py35,py27,pep8,docs [testenv] -setenv = - VIRTUAL_ENV={envdir} - BRANCH_NAME=master - CLIENT_NAME=stevedore -install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} +install_command = pip install {opts} {packages} deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/test-requirements.txt + -r{toxinidir}/requirements.txt distribute = False commands = python setup.py testr --testr-args='{posargs}' [testenv:venv] +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -r{toxinidir}/test-requirements.txt + -r{toxinidir}/doc/requirements.txt + -r{toxinidir}/requirements.txt commands = {posargs} [testenv:pep8] -deps = flake8 +deps = + -r{toxinidir}/test-requirements.txt + flake8 ignore = E251 -commands = flake8 stevedore setup.py +commands = + flake8 stevedore setup.py + # Run security linter + bandit -r stevedore -x tests -n5 [testenv:docs] +deps = -r{toxinidir}/doc/requirements.txt commands = python setup.py build_sphinx [flake8] @@ -30,4 +39,7 @@ exclude=.venv,.git,.tox,dist,*lib/python*,*egg,build [testenv:releasenotes] +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
