From 9e9d46411c9b062d4eb1b3e25e1b864bcb40bf18 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Wed, 30 Oct 2019 04:40:38 +0000 Subject: [PATCH] Drop python 2.7 support and testing OpenStack is dropping the py2.7 support in ussuri cycle. watcher-dashboard 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: Ibc21e289b146e7c4ce4a5c20198c1d26fd97b604 --- .zuul.yaml | 1 - releasenotes/notes/drop-py-2-7-198cca7f72d16655.yaml | 6 ++++++ setup.cfg | 2 -- tox.ini | 6 +----- 4 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 releasenotes/notes/drop-py-2-7-198cca7f72d16655.yaml diff --git a/.zuul.yaml b/.zuul.yaml index 061ee2f..8adb9d9 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -3,7 +3,6 @@ - check-requirements - horizon-non-primary-django-jobs - openstack-lower-constraints-jobs - - openstack-python-jobs-horizon - openstack-python3-ussuri-jobs-horizon - publish-openstack-docs-pti - release-notes-jobs-python3 diff --git a/releasenotes/notes/drop-py-2-7-198cca7f72d16655.yaml b/releasenotes/notes/drop-py-2-7-198cca7f72d16655.yaml new file mode 100644 index 0000000..97a26e9 --- /dev/null +++ b/releasenotes/notes/drop-py-2-7-198cca7f72d16655.yaml @@ -0,0 +1,6 @@ +--- +upgrade: + - | + Python 2.7 support has been dropped. Last release of watcher-dashboard + to support py2.7 is OpenStack Train. The minimum version of Python now + supported by watcher-dashboard is Python 3.6. diff --git a/setup.cfg b/setup.cfg index a3e04e6..e48deec 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,8 +17,6 @@ classifier = Operating System :: OS Independent 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 4f7796f..ca86ce8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = py37,py36,py27,py3-{dj111,dj22},pep8 +envlist = py37,py36,py3-{dj111,dj22},pep8 skipsdist = True [testenv] @@ -35,10 +35,6 @@ commands = flake8 basepython = python3 commands = {posargs} -[testenv:py27integration] -basepython = python2.7 -commands = /bin/bash run_tests.sh -N --integration --selenium-headless {posargs} - [testenv:releasenotes] basepython = python3 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html