Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle. senlin-tempest-plugin 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: I53e47c4cf7446c38eb47ad1c889483197a3d8698
This commit is contained in:
21
.zuul.yaml
21
.zuul.yaml
@@ -4,21 +4,14 @@
|
||||
- tempest-plugin-jobs
|
||||
check:
|
||||
jobs:
|
||||
- senlin-dsvm-tempest-py27-api
|
||||
- senlin-dsvm-tempest-py35-api:
|
||||
- senlin-dsvm-tempest-py3-api
|
||||
- senlin-tempest-api-ipv6-only
|
||||
- senlin-dsvm-tempest-py3-functional
|
||||
- senlin-dsvm-tempest-py3-integration:
|
||||
voting: false
|
||||
branches: ^(?!stable/newton).*$
|
||||
- senlin-dsvm-tempest-py27-functional
|
||||
- senlin-dsvm-tempest-py35-functional:
|
||||
voting: false
|
||||
branches: ^(?!stable/newton).*$
|
||||
- senlin-dsvm-tempest-py27-integration:
|
||||
voting: false
|
||||
- senlin-dsvm-tempest-py35-integration:
|
||||
voting: false
|
||||
branches: ^(?!stable/newton).*$
|
||||
gate:
|
||||
queue: senlin
|
||||
jobs:
|
||||
- senlin-dsvm-tempest-py27-api
|
||||
- senlin-dsvm-tempest-py27-functional
|
||||
- senlin-dsvm-tempest-py3-api
|
||||
- senlin-tempest-api-ipv6-only
|
||||
- senlin-dsvm-tempest-py3-functional
|
||||
|
6
releasenotes/notes/drop-py-2-7-e5ce9dcd388e9e1e.yaml
Normal file
6
releasenotes/notes/drop-py-2-7-e5ce9dcd388e9e1e.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
Python 2.7 support has been dropped. Last release of senlin-tempest-plugin
|
||||
to support python 2.7 is OpenStack Train. The minimum version of Python now
|
||||
supported by senlin-tempest-plugin is Python 3.6.
|
@@ -13,10 +13,9 @@ 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.5
|
||||
Programming Language :: Python :: 3.6
|
||||
Programming Language :: Python :: 3.7
|
||||
|
||||
[global]
|
||||
setup-hooks =
|
||||
|
11
tox.ini
11
tox.ini
@@ -1,9 +1,11 @@
|
||||
[tox]
|
||||
minversion = 2.0
|
||||
envlist = py35,py27,pep8,api,functional
|
||||
minversion = 3.1.1
|
||||
envlist = py37,pep8,api,functional
|
||||
skipsdist = True
|
||||
ignore_basepython_conflict = True
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
usedevelop = True
|
||||
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
|
||||
@@ -14,7 +16,6 @@ commands =
|
||||
whitelist_externals = find
|
||||
|
||||
[testenv:api]
|
||||
basepython = python3.5
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
PYTHONHASHSEED=0
|
||||
OS_TEST_PATH=senlin_tempest_plugin/api
|
||||
@@ -23,7 +24,6 @@ commands =
|
||||
ostestr --slowest --regex 'senlin_tempest_plugin.tests.api.*' {posargs}
|
||||
|
||||
[testenv:functional]
|
||||
basepython = python3.5
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
PYTHONHASHSEED=0
|
||||
OS_TEST_PATH=senlin_tempest_plugin/functional
|
||||
@@ -37,16 +37,13 @@ commands =
|
||||
whitelist_externals = find
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
commands =
|
||||
flake8 senlin_tempest_plugin
|
||||
|
||||
[testenv:venv]
|
||||
basepython = python3
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:releasenotes]
|
||||
basepython = python3
|
||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
[flake8]
|
||||
|
Reference in New Issue
Block a user