From 1d10bd9d46d077e8523690321845dad3e8897ae0 Mon Sep 17 00:00:00 2001 From: Daniel Bengtsson Date: Tue, 11 Feb 2020 12:43:27 +0100 Subject: [PATCH] Stop testing python 2 in tox. Remove python 2 from envlist parameter. Check the link: https://etherpad.openstack.org/p/drop-python2-support https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html The plan is drop the python 2 support from OpenStack in Ussuri release. Move the basepython parameter. Change-Id: I6787026195c8852386f7186fe697b724051a9684 --- tox.ini | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tox.ini b/tox.ini index 9b02d89ee0..8e29963bc8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] minversion = 3.1.0 skipsdist = True -envlist = validate,py27,py37,pep8,pip-install +envlist = validate,py37,pep8,pip-install ignore_basepython_conflict=true [testenv] @@ -13,11 +13,6 @@ deps = -c{toxinidir}/upper-constraints.txt commands = stestr run {posargs} -[testenv:py27-check-uc] -basepython = python2.7 -deps = -r{toxinidir}/upper-constraints.txt -commands = check-conflicts {toxinidir}/upper-constraints.txt {toxinidir}/upper-constraints-xfails.txt - [testenv:py36-check-uc] basepython = python3.6 deps = -r{toxinidir}/upper-constraints.txt