From 50b4160695c5deeaed368a913cf0f080485527ae Mon Sep 17 00:00:00 2001 From: Eric Fried Date: Thu, 24 Oct 2019 09:56:33 -0500 Subject: [PATCH] Stop testing with py2 We were pretty close on this already. Change-Id: I8ad1f5bee7a532c3401fd59550cee7cdec67c8c3 --- .zuul.yaml | 1 - releasenotes/notes/drop-python2-support-84918a8b2635e32a.yaml | 4 ++++ setup.cfg | 2 -- tox.ini | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 releasenotes/notes/drop-python2-support-84918a8b2635e32a.yaml diff --git a/.zuul.yaml b/.zuul.yaml index dc23e2d..aa7e3b0 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -2,7 +2,6 @@ templates: - check-requirements - openstack-cover-jobs - - openstack-python-jobs - openstack-python3-ussuri-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 diff --git a/releasenotes/notes/drop-python2-support-84918a8b2635e32a.yaml b/releasenotes/notes/drop-python2-support-84918a8b2635e32a.yaml new file mode 100644 index 0000000..9fd7dee --- /dev/null +++ b/releasenotes/notes/drop-python2-support-84918a8b2635e32a.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + Python 2 is no longer supported. Python 3 is required. diff --git a/setup.cfg b/setup.cfg index f62c8b1..a419462 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.6 Programming Language :: Python :: 3.7 diff --git a/tox.ini b/tox.ini index 9945a31..41eef72 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = py27,py37,pep8 +envlist = py37,pep8 skipsdist = True # Automatic envs (pyXX) will use the python version appropriate to that # env and ignore basepython inherited from [testenv]. That's what we