diff options
author | Zuul <zuul@review.opendev.org> | 2019-07-15 16:00:09 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-07-15 16:00:09 +0000 |
commit | aff2fd2d1d734f3a3b0851c81dd2b6c4cb8973bf (patch) | |
tree | 96bd7fcd6d4546caf63b62695ca874c61c6b536a | |
parent | c715db6df9d47b56cd31a3c65f934d1d220563bb (diff) | |
parent | 79ef8d989a07e33303396a68b9d6fc19f22deeeb (diff) | |
download | pbr-5.4.1.tar.gz |
Merge "Resolve some issue with tox.ini, setup.cfg"5.4.1
-rw-r--r-- | setup.cfg | 28 | ||||
-rw-r--r-- | tox.ini | 15 |
2 files changed, 17 insertions, 26 deletions
@@ -13,20 +13,20 @@ project_urls = Source Code = https://git.openstack.org/cgit/openstack-dev/pbr/ requires-python = >=2.6 classifier = - Development Status :: 5 - Production/Stable - Environment :: Console - Environment :: OpenStack - Intended Audience :: Developers - Intended Audience :: Information Technology - License :: OSI Approved :: Apache Software License - Operating System :: OS Independent - Programming Language :: Python - Programming Language :: Python :: 2 - Programming Language :: Python :: 2.7 - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.3 - Programming Language :: Python :: 3.4 - Programming Language :: Python :: 3.5 + Development Status :: 5 - Production/Stable + Environment :: Console + Environment :: OpenStack + Intended Audience :: Developers + Intended Audience :: Information Technology + License :: OSI Approved :: Apache Software License + Operating System :: OS Independent + Programming Language :: Python + Programming Language :: Python :: 2 + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.5 + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 [files] packages = @@ -1,12 +1,11 @@ [tox] minversion = 3.1 -envlist = pep8,py{37,36,35,27},docs +envlist = pep8,py27,py36,py37,docs ignore_basepython_conflict = True -skip_missing_interpreters = True [testenv] usedevelop = True -install_command = pip install {opts} {packages} +basepython = python3 passenv = PBR_INTEGRATION PIPFLAGS PIPVERSION PBRVERSION REPODIR WHEELHOUSE PROJECTS setenv = OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:1} @@ -18,11 +17,9 @@ deps = commands = stestr run --suppress-attachments {posargs} [testenv:pep8] -basepython = python3 commands = flake8 {posargs} [testenv:docs] -basepython = python3 whitelist_externals = rm deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} @@ -32,21 +29,16 @@ commands = sphinx-build -W -b html doc/source doc/build/html {posargs} [testenv:releasenotes] -basepython = python3 whitelist_externals = rm -deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} - -r{toxinidir}/doc/requirements.txt +deps = {[testenv:docs]deps} commands = rm -rf releasenotes/build sphinx-build -W -b html -d releasenotes/build/doctrees releasenotes/source releasenotes/build/html [testenv:venv] -basepython = python3 commands = {posargs} [testenv:cover] -basepython = python3 setenv = PYTHON=coverage run --source pbr --parallel-mode commands = @@ -64,7 +56,6 @@ exclude = .venv,.tox,dist,doc,*.egg,build show-source = true [testenv:lower-constraints] -basepython = python3 deps = -c{toxinidir}/lower-constraints.txt -r{toxinidir}/test-requirements.txt |