summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhanshyam Mann <gmann@ghanshyammann.com>2019-10-30 06:55:09 +0000
committerGhanshyam Mann <gmann@ghanshyammann.com>2020-01-22 02:38:42 +0000
commita4465dfc2268b2fc36f04a1a7e5455f6f8c92886 (patch)
tree96bbecbba6c303ff51eb82383d8da50be4271567
parente8c08e0c4d16bc42b6e73b627fff1a091f9d8f4b (diff)
downloadpython-glanceclient-a4465dfc2268b2fc36f04a1a7e5455f6f8c92886.tar.gz
Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle. python-glanceclient 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: I029d10a2860c5ba371ff9c5df9b7e2c645a7dfbb
-rw-r--r--.zuul.yaml23
-rw-r--r--releasenotes/notes/drop-py-2-7-f10417b8d1dd38fb.yaml6
-rw-r--r--setup.cfg2
-rw-r--r--tox.ini2
4 files changed, 8 insertions, 25 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 5a22fd3..9cedac4 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -94,14 +94,6 @@
- name: openstack/keystoneauth
- job:
- name: glanceclient-tox-py27-keystone-tips
- parent: glanceclient-tox-keystone-tips-base
- description: |
- glanceclient py27 unit tests vs. keystone masters
- vars:
- tox_envlist: py27
-
-- job:
name: glanceclient-tox-py35-keystone-tips
parent: glanceclient-tox-keystone-tips-base
description: |
@@ -119,14 +111,6 @@
- name: openstack/oslo.utils
- job:
- name: glanceclient-tox-py27-oslo-tips
- parent: glanceclient-tox-oslo-tips-base
- description: |
- glanceclient py27 unit tests vs. oslo masters
- vars:
- tox_envlist: py27
-
-- job:
name: glanceclient-tox-py35-oslo-tips
parent: glanceclient-tox-oslo-tips-base
description: |
@@ -148,8 +132,7 @@
- lib-forward-testing-python3
- openstack-cover-jobs
- openstack-lower-constraints-jobs
- - openstack-python-jobs
- - openstack-python3-train-jobs
+ - openstack-python3-ussuri-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
@@ -174,12 +157,8 @@
# to define these jobs in the openstack/project-config repo.
# That would make us less agile in adjusting these tests, so we
# aren't doing that either.
- - glanceclient-tox-py27-keystone-tips:
- branches: master
- glanceclient-tox-py35-keystone-tips:
branches: master
- - glanceclient-tox-py27-oslo-tips:
- branches: master
- glanceclient-tox-py35-oslo-tips:
branches: master
experimental:
diff --git a/releasenotes/notes/drop-py-2-7-f10417b8d1dd38fb.yaml b/releasenotes/notes/drop-py-2-7-f10417b8d1dd38fb.yaml
new file mode 100644
index 0000000..8d2d16b
--- /dev/null
+++ b/releasenotes/notes/drop-py-2-7-f10417b8d1dd38fb.yaml
@@ -0,0 +1,6 @@
+---
+upgrade:
+ - |
+ Python 2.7 support has been dropped. Last release of python-glanceclient
+ to support py2.7 is OpenStack Train. The minimum version of Python now
+ supported by python-glanceclient is Python 3.6.
diff --git a/setup.cfg b/setup.cfg
index d72221c..70bd85a 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -16,8 +16,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 9961c51..ba64d58 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27,py37,pep8
+envlist = py37,pep8
minversion = 2.0
skipsdist = True