From 294c50aed30657937f681328267da193f86dec77 Mon Sep 17 00:00:00 2001 From: qingszhao Date: Sat, 29 Sep 2018 21:08:17 +0800 Subject: [PATCH] Removed older version of python added 3.5 Remove the support of python3.4, because in Ubuntu Xenial only (python3.4 is restricted to <= Mitaka). In setup.cfg file the python 3.5 is added In tox.ini the python 3.5 is added Change-Id: I32cb3c55ce1303ee20738a35724c2e33857e57f0 Closes-Bug: #1801855 --- setup.cfg | 3 +-- tox.ini | 8 +++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 299e55b..8b9d03c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,8 +16,7 @@ classifier = Programming Language :: Python :: 2 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 - Programming Language :: Python :: 3.3 - Programming Language :: Python :: 3.4 + Programming Language :: Python :: 3.5 [files] packages = diff --git a/tox.ini b/tox.ini index 7a07855..47e5801 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = py34,py27,pypy,pep8 +envlist = py35,py27,pypy,pep8 skipsdist = True [testenv] @@ -15,19 +15,23 @@ deps = -r{toxinidir}/test-requirements.txt commands = stestr --test-path ./tempest_stress/tests run {posargs} [testenv:stress] +basepython = python3 envdir = .tox/tempest_stress sitepackages = False commands = run-tempest-stress {posargs} [testenv:pep8] +basepython = python3 sitepackages = False commands = flake8 {posargs} [testenv:venv] +basepython = python3 commands = {posargs} [testenv:cover] +basepython = python3 setenv = VIRTUAL_ENV={envdir} PYTHON=coverage run --source tempest_stress --parallel-mode @@ -38,9 +42,11 @@ commands = coverage xml -o cover/coverage.xml [testenv:docs] +basepython = python3 commands = python setup.py build_sphinx [testenv:debug] +basepython = python3 commands = oslo_debug_helper {posargs} [flake8]