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
This commit is contained in:
Ghanshyam Mann 2019-10-30 06:55:09 +00:00
parent e8c08e0c4d
commit a4465dfc22
4 changed files with 8 additions and 25 deletions

View File

@ -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:

View File

@ -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.

View File

@ -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

View File

@ -1,5 +1,5 @@
[tox]
envlist = py27,py37,pep8
envlist = py37,pep8
minversion = 2.0
skipsdist = True