From 5eeed0b262ec0f20d56875b4b580805253792c74 Mon Sep 17 00:00:00 2001 From: "bhavani.cr" Date: Mon, 26 Jun 2017 10:20:46 +0530 Subject: [PATCH] Added the py35 env The gating on python 3.4 is restricted to <= Mitaka. This is due to the change from Ubuntu Trusty to Xenial, where only python3.5 is available. There is no need to continue to keep these settings. Change-Id: Ide64ca514ec779074926fe527a8eaa70ec1bfcb9 --- setup.cfg | 3 ++- tox.ini | 10 +++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index dc6504997..8ce25516f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,7 +5,7 @@ description-file = README.rst author = OpenStack author-email = openstack-dev@lists.openstack.org -home-page = http://docs.openstack.org/developer/bifrost/ +home-page = https://docs.openstack.org/developer/bifrost/ classifier = Environment :: OpenStack Intended Audience :: Information Technology @@ -15,6 +15,7 @@ classifier = Programming Language :: Python Programming Language :: Python :: 2 Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3.5 [files] packages = diff --git a/tox.ini b/tox.ini index ab36b6644..3a199c37b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -minversion = 1.6 +minversion = 2.0 envlist = py35,py27,docs,pep8 skipsdist = True @@ -31,6 +31,14 @@ commands = oslo_debug_helper -t bifrost/tests {posargs} [testenv:releasenotes] commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html +[testenv:debug-py27] +basepython = python2.7 +commands = oslo_debug_helper -t bifrost/tests {posargs} + +[testenv:debug-py35] +basepython = python3.5 +commands = oslo_debug_helper -t bifrost/tests {posargs} + [flake8] show-source = True ignore = F403,H102,H303