diff options
| author | Andreas Jaeger <aj@suse.com> | 2020-02-04 20:14:35 +0100 |
|---|---|---|
| committer | Zane Bitter <zbitter@redhat.com> | 2020-02-10 16:05:51 +0000 |
| commit | 2a8eb6a74c782ef76233179e9c32df5eb80d7233 (patch) | |
| tree | 386a7c6cbd57f1ad15902b16c614ed7db4cd8f25 /tox.ini | |
| parent | 75ed1cedd9c3820134b877008750c4a28e28e2a0 (diff) | |
| download | python-heatclient-2.0.0.tar.gz | |
[ussuri][goal] Drop python 2.7 support and testing2.0.0
OpenStack is dropping the py2.7 support in ussuri cycle.
Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
Change-Id: I54863f2301758dcd48de4ee73bcc8582e5036afa
Diffstat (limited to 'tox.ini')
| -rw-r--r-- | tox.ini | 23 |
1 files changed, 4 insertions, 19 deletions
@@ -1,13 +1,13 @@ [tox] -envlist = pypy,py27,py37,pep8 -minversion = 2.0 +envlist = pypy,py37,pep8 +ignore_basepython_conflict = true +minversion = 3.1.0 skipsdist = True [testenv] +basepython = python3 setenv = VIRTUAL_ENV={envdir} - CLIENT_NAME=python-heatclient usedevelop = True -install_command = pip install {opts} {packages} deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/requirements.txt @@ -17,24 +17,13 @@ commands = find . -type f -name "*.py[c|o]" -delete whitelist_externals = find [testenv:debug] -basepython = python3 -commands = oslo_debug_helper -t heatclient/tests {posargs} - -[testenv:debug-py27] -basepython = python2.7 -commands = oslo_debug_helper -t heatclient/tests {posargs} - -[testenv:debug-py35] -basepython = python3.5 commands = oslo_debug_helper -t heatclient/tests {posargs} [testenv:pep8] -basepython = python3 commands = flake8 [testenv:venv] -basepython = python3 commands = {posargs} [testenv:functional] @@ -44,7 +33,6 @@ setenv = passenv = OS_* [testenv:cover] -basepython = python3 setenv = PYTHON=coverage run --source heatclient --parallel-mode commands = @@ -55,7 +43,6 @@ commands = coverage report [testenv:docs] -basepython = python3 deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/doc/requirements.txt @@ -71,14 +58,12 @@ max-complexity=20 import_exceptions = heatclient._i18n [testenv:releasenotes] -basepython = python3 deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/doc/requirements.txt 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 |
