From 32a1b6e94845b081e9c00d235320b2014cf18d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Mon, 3 Feb 2020 17:47:44 +0100 Subject: [ussuri][goal] Drop python 2.7 support and testing 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: I15cc79159b603e232e442e202c78d6c56dc73252 --- tox.ini | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 6b577af..2e529b1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] minversion = 3.1 -envlist = py27,py37,pep8 -ignore_basepython_conflict = True +envlist = py37,pep8 +ignore_basepython_conflict = true [testenv] basepython = python3 @@ -42,33 +42,12 @@ commands = rm -fr doc/build sphinx-build -W --keep-going -b html doc/source doc/build/html -[testenv:py27-func-rabbit] -setenv = - {[testenv]setenv} - TRANSPORT_DRIVER=rabbit -commands = pifpaf run rabbitmq -- stestr run --slowest {posargs:oslo_messaging.tests.functional} - [testenv:py36-func-rabbit] setenv = {[testenv]setenv} TRANSPORT_DRIVER=rabbit commands = pifpaf run rabbitmq -- stestr run --slowest {posargs:oslo_messaging.tests.functional} -[testenv:py27-func-kafka] -setenv = - {[testenv]setenv} - TRANSPORT_URL=kafka://127.0.0.1:9092/ - OS_GROUP_REGEX=oslo_messaging.tests.functional -commands = {toxinidir}/setup-test-env-kafka.sh stestr run --slowest {posargs:oslo_messaging.tests.functional} - -[testenv:py27-func-amqp1] -setenv = - {[testenv]setenv} - TRANSPORT_URL=amqp://stackqpid:secretqpid@127.0.0.1:5672// - ENVNAME={envname} - WORKDIR={toxworkdir} -commands = {toxinidir}/tools/setup-test-env-amqp1.sh stestr run --slowest {posargs:oslo_messaging.tests.functional} - [testenv:py36-func-amqp1] setenv = {[testenv]setenv} -- cgit v1.2.1