From e9107c190b31fddf546407cb601763971b5bc703 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sun, 15 Dec 2019 13:19:28 -0500 Subject: [PATCH] Stop supporting python2 We're peeling python2 from libraries now, so Stop running python2 versions of test jobs. Leaving removing the test jobs themselves for the moment as they're still used in other repos. Change-Id: Ic6d56e3636b757201d83649f075005ed3ae1e1a6 --- .zuul.yaml | 3 --- releasenotes/notes/drop-python27-b824f9ce51cb1ab7.yaml | 3 +++ setup.cfg | 2 -- tox.ini | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) create mode 100644 releasenotes/notes/drop-python27-b824f9ce51cb1ab7.yaml diff --git a/.zuul.yaml b/.zuul.yaml index bcbc4b9d9..62da50b92 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -391,7 +391,6 @@ templates: - check-requirements - openstack-lower-constraints-jobs - - openstack-python-jobs - openstack-python3-ussuri-jobs - openstacksdk-functional-tips - openstacksdk-tox-tips @@ -414,7 +413,6 @@ voting: false - openstacksdk-functional-devstack-ironic: voting: false - - openstacksdk-functional-devstack-python2 - osc-functional-devstack-tips: voting: false - nodepool-functional-openstack-src @@ -428,7 +426,6 @@ gate: jobs: - openstacksdk-functional-devstack - - openstacksdk-functional-devstack-python2 - openstacksdk-functional-devstack-networking - openstacksdk-functional-devstack-senlin - nodepool-functional-openstack-src diff --git a/releasenotes/notes/drop-python27-b824f9ce51cb1ab7.yaml b/releasenotes/notes/drop-python27-b824f9ce51cb1ab7.yaml new file mode 100644 index 000000000..80f1f86f2 --- /dev/null +++ b/releasenotes/notes/drop-python27-b824f9ce51cb1ab7.yaml @@ -0,0 +1,3 @@ +--- +prelude: > + As of this release, python v2 is neither tested nor supported. diff --git a/setup.cfg b/setup.cfg index 45d9a23a6..9267c6ec8 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 1e7d634b4..ad333313a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.1 -envlist = pep8,py27,py37 +envlist = pep8,py37 skipsdist = True ignore_basepython_conflict = True