From a4465dfc2268b2fc36f04a1a7e5455f6f8c92886 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Wed, 30 Oct 2019 06:55:09 +0000 Subject: [PATCH] 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 --- .zuul.yaml | 23 +------------------ .../notes/drop-py-2-7-f10417b8d1dd38fb.yaml | 6 +++++ setup.cfg | 2 -- tox.ini | 2 +- 4 files changed, 8 insertions(+), 25 deletions(-) create mode 100644 releasenotes/notes/drop-py-2-7-f10417b8d1dd38fb.yaml diff --git a/.zuul.yaml b/.zuul.yaml index 5a22fd3..9cedac4 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -93,14 +93,6 @@ required-projects: - 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 @@ -118,14 +110,6 @@ - name: openstack/oslo.i18n - 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 @@ -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