diff --git a/releasenotes/notes/drop-py-2-7-8a4da4bd0e7c36f5.yaml b/releasenotes/notes/drop-py-2-7-8a4da4bd0e7c36f5.yaml new file mode 100644 index 0000000..5b3f856 --- /dev/null +++ b/releasenotes/notes/drop-py-2-7-8a4da4bd0e7c36f5.yaml @@ -0,0 +1,6 @@ +--- +upgrade: + - | + Python 2.7 support has been dropped. Last release of zaqar-tempest-plugin + to support py2.7 is OpenStack Train. The minimum version of Python now + supported by zaqar-tempest-plugin is Python 3.6. diff --git a/setup.cfg b/setup.cfg index 4556413..8768c65 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,8 +13,6 @@ classifier = License :: OSI Approved :: Apache Software License Operating System :: POSIX :: Linux Programming Language :: Python - Programming Language :: Python :: 2 - Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 Programming Language :: Python :: 3.3 Programming Language :: Python :: 3.4 diff --git a/tox.ini b/tox.ini index 0840cf8..441bdb2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,11 @@ [tox] -minversion = 2.0 -envlist = py35,py27,pypy,pep8 +minversion = 3.1.1 +envlist = py35,pypy,pep8 skipsdist = True +ignore_basepython_conflict = True [testenv] +basepython = python3 usedevelop = True install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} setenv =