summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhanshyam Mann <gmann@ghanshyammann.com>2019-10-30 07:56:29 +0000
committerGhanshyam Mann <gmann@ghanshyammann.com>2019-10-30 07:57:07 +0000
commitea270ed5828a4827389583794858543140803165 (patch)
treedb105dab6fecaddaf4eed3662f874caca946caee
parentff3bb37ae99f31efc7194abfb324cb8507d0722f (diff)
downloadceilometermiddleware-ea270ed5828a4827389583794858543140803165.tar.gz
Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle. ceilometermiddleware 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://review.opendev.org/#/c/691178/ Change-Id: I48f75b701ecc4eee3134473bc854a0825b705203
-rw-r--r--.zuul.yaml1
-rw-r--r--releasenotes/notes/drop-py-2-7-21178ddd27b28806.yaml6
-rw-r--r--setup.cfg2
-rw-r--r--tox.ini2
4 files changed, 7 insertions, 4 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index c65423c..10c5f42 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -1,6 +1,5 @@
- project:
templates:
- - openstack-python-jobs
- openstack-python3-ussuri-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
diff --git a/releasenotes/notes/drop-py-2-7-21178ddd27b28806.yaml b/releasenotes/notes/drop-py-2-7-21178ddd27b28806.yaml
new file mode 100644
index 0000000..94753f1
--- /dev/null
+++ b/releasenotes/notes/drop-py-2-7-21178ddd27b28806.yaml
@@ -0,0 +1,6 @@
+---
+upgrade:
+ - |
+ Python 2.7 support has been dropped. Last release of ceilometermiddleware
+ to support python 2.7 is OpenStack Train. The minimum version of Python now
+ supported by ceilometermiddleware is Python 3.6.
diff --git a/setup.cfg b/setup.cfg
index dc5f195..ce4878f 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 3e59420..13819d0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
minversion = 1.8
-envlist = py27,py37,pypy,pep8,releasenotes
+envlist = py37,pypy,pep8,releasenotes
skipsdist = True
[testenv]