From 11f921444ce1c90ef861f62fcfd7a72cafdd4c38 Mon Sep 17 00:00:00 2001 From: Nguyen Hai Date: Thu, 5 Jul 2018 12:40:32 +0900 Subject: [PATCH] Add py36 testenv Python 3.6 is installed by default in Ubuntu 18.04 LTS. Therefore, according to Transition Plan [1], it'll be handy to have py36 testenv. For more details, please check Python2 Deprecation Timeline [2] and Python3-first Goal - Completion Criteria [3]. [1] https://wiki.ubuntu.com/Python/Python36Transition [2] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html [3] https://review.openstack.org/#/c/575933/ Change-Id: Ic34952687f54176fccf051ab2e28260e25e107a8 --- tox.ini | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 14ba0747d..a82ba9cd9 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py35,py27,pep8,docs +envlist = py36,py35,py27,pep8,docs minversion = 1.6 skipsdist = True @@ -42,6 +42,10 @@ commands = oslo_debug_helper {posargs} basepython = python3.5 commands = oslo_debug_helper {posargs} +[testenv:debug-py36] +basepython = python3.6 +commands = oslo_debug_helper {posargs} + [testenv:pep8] deps = -r{toxinidir}/doc/requirements.txt -r{toxinidir}/test-requirements.txt