Merge "Drop python 2.7 support and testing"
This commit is contained in:
commit
38f3acc3f2
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
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue