From 4a32739cb3bdc0aa4fa8ae21aa6a18659ecbe97d Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Wed, 30 Oct 2019 03:42:25 +0000 Subject: [PATCH] [ussuri][goal] Drop python 2.7 support and testing OpenStack is dropping the py2.7 support in ussuri cycle. zaqar-tempest-plugin is ready with python 3 and ok to drop the python 2.7 support. 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: I2417f29592bb87c9e3071b1918515a05f77cf8a3 --- releasenotes/notes/drop-py-2-7-8a4da4bd0e7c36f5.yaml | 6 ++++++ setup.cfg | 2 -- tox.ini | 6 ++++-- 3 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 releasenotes/notes/drop-py-2-7-8a4da4bd0e7c36f5.yaml 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 =