From b0a8057fbbf08ff072bfb6e836535f090fd6efc7 Mon Sep 17 00:00:00 2001 From: Ghanshyam Date: Wed, 29 Jan 2020 10:36:09 -0600 Subject: [PATCH] Drop python 3.5 support from Tempest Tempest, its plugins and their dependencies in ussuri cycle are python-requires>=py3.6 which makes distro not having python 3.6 to do hack to install py3.6 etc. We cannot do >py3.6 in basepython so one way is to drop the py3.5 support and basepython to py3 so that it can choose the available py version in env. It time to drop the py3.5 from Tempest. Last supported version of Tempest for py3.5 is 23.0.0. oslo drop py2 so we need to remove the py2 unit test job which is failing and blocking gate. There is seoarate work to drop the py2 things from Tempest in compplete set. Change-Id: I872dbb57df46d1193c0d409bb00d56f372d295fe Related-Bug: 1861308 --- .zuul.yaml | 2 -- doc/source/supported_version.rst | 1 - .../notes/drop-py-3-5-support-76ca78f1a650fcad.yaml | 8 ++++++++ setup.cfg | 1 - 4 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 releasenotes/notes/drop-py-3-5-support-76ca78f1a650fcad.yaml diff --git a/.zuul.yaml b/.zuul.yaml index 0035f7ce05..8cf5a1e101 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -603,8 +603,6 @@ - integrated-gate - integrated-gate-py3 - openstack-cover-jobs - - openstack-python-jobs - - openstack-python35-jobs - openstack-python3-train-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 diff --git a/doc/source/supported_version.rst b/doc/source/supported_version.rst index 60e7b9765a..a97ec5bbeb 100644 --- a/doc/source/supported_version.rst +++ b/doc/source/supported_version.rst @@ -32,6 +32,5 @@ Supported Python Versions Tempest master supports the below python versions: * Python 2.7 -* Python 3.5 * Python 3.6 * Python 3.7 diff --git a/releasenotes/notes/drop-py-3-5-support-76ca78f1a650fcad.yaml b/releasenotes/notes/drop-py-3-5-support-76ca78f1a650fcad.yaml new file mode 100644 index 0000000000..99ef31efbe --- /dev/null +++ b/releasenotes/notes/drop-py-3-5-support-76ca78f1a650fcad.yaml @@ -0,0 +1,8 @@ +--- +prelude: > + Remove the support of python3.5. + Tempest, its plugins dependencies in ussuri cycle + are python-requires>=py3.6 which makes distro not + having python 3.6 to do hack to install py3.6 etc. + It time to drop the py3.5 from Tempest. Last supported + version of Tempest for py3.5 is 23.0.0. diff --git a/setup.cfg b/setup.cfg index 1e9b8e902a..dd30069c2d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,7 +16,6 @@ classifier = Programming Language :: Python :: 2 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 - Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7