commit | 3862c0add2550705f9e9cf8e61215d5f528329df | [log] [tgz] |
---|---|---|
author | Ghanshyam <gmann@ghanshyammann.com> | Thu Jan 23 17:17:45 2020 -0600 |
committer | Ghanshyam <gmann@ghanshyammann.com> | Thu Jan 23 17:18:18 2020 -0600 |
tree | cea13f9ad55f4b38f8a130a23d226be27d1de817 | |
parent | 1096ab98898796810d46113389c372eb4367fe39 [diff] [blame] |
[ussuri][goal] Drop python 2.7 support and testing OpenStack is dropping the py2.7 support in ussuri cycle. designate-tempest-plugin is ready with python 3 and ok to drop the python 2.7 support. 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: Ib3bd70ba8f2e8386643c536ac8194fa99b54b842
diff --git a/tox.ini b/tox.ini index 7490e90..6211c66 100644 --- a/tox.ini +++ b/tox.ini
@@ -1,9 +1,11 @@ [tox] -minversion = 2.0 -envlist = py35,py27,pep8 +minversion = 3.1.1 +envlist = py37,pep8 skipsdist = True +ignore_basepython_conflict = True [testenv] +basepython = python3 usedevelop = True install_command = pip install {opts} {packages} deps = @@ -31,12 +33,10 @@ OS_STDOUT_CAPTURE [testenv:pep8] -basepython = python3 commands = sh tools/pretty_flake8.sh [testenv:docs] -basepython = python3 commands = rm -rf doc/build sphinx-build -E -W -b html doc/source doc/build/html @@ -67,7 +67,6 @@ commands=pip-missing-reqs -d --ignore-file=designate/tests/* designate [testenv:venv] -basepython = python3 commands = {posargs} [flake8]