[ussuri][goal] Drop python 2.7 support and testing
This drops python2.7 support for cloudkitty-tempest-plugin. The lowest python version now supported by cloudkitty-tempest-plugin is 3.6. Depends-On: https://review.opendev.org/#/c/694434/ Change-Id: I2b4a57dae3f150b22c38cc2b83747ee4231b31fe
This commit is contained in:
parent
0d0a5a7e4a
commit
91c85d04ca
|
@ -6,16 +6,10 @@
|
|||
jobs: &cloudkitty_tempest_jobs
|
||||
- cloudkitty-tempest-full-v2-storage-influxdb:
|
||||
voting: true
|
||||
- cloudkitty-tempest-full-v2-storage-influxdb-py3:
|
||||
voting: true
|
||||
- cloudkitty-tempest-full-v1-storage-sqlalchemy:
|
||||
voting: true
|
||||
- cloudkitty-tempest-full-v1-storage-sqlalchemy-py3:
|
||||
voting: true
|
||||
- cloudkitty-tempest-full-v2-storage-elasticsearch:
|
||||
voting: true
|
||||
- cloudkitty-tempest-full-v2-storage-elasticsearch-py3:
|
||||
voting: true
|
||||
gate:
|
||||
queue: cloudkitty
|
||||
jobs: *cloudkitty_tempest_jobs
|
||||
|
|
|
@ -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
|
||||
|
||||
[files]
|
||||
packages =
|
||||
|
|
|
@ -6,7 +6,6 @@ hacking>=1.1.0,<1.2.0 # Apache-2.0
|
|||
|
||||
coverage>=4.0,!=4.4 # Apache-2.0
|
||||
python-subunit>=0.0.18 # Apache-2.0/BSD
|
||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
|
||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
|
||||
oslotest>=1.10.0 # Apache-2.0
|
||||
stestr>=1.0.0 # Apache-2.0
|
||||
|
|
7
tox.ini
7
tox.ini
|
@ -1,9 +1,10 @@
|
|||
[tox]
|
||||
minversion = 2.0
|
||||
envlist = py35,py27,pypy,pep8
|
||||
envlist = py36,py37,pypy,pep8
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
usedevelop = True
|
||||
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
|
||||
setenv =
|
||||
|
@ -16,15 +17,12 @@ deps = -r{toxinidir}/test-requirements.txt
|
|||
commands = stestr run {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
commands = flake8 {posargs}
|
||||
|
||||
[testenv:venv]
|
||||
basepython = python3
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
basepython = python3
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
PYTHON=coverage run --source cloudkitty_tempest_plugin --parallel-mode
|
||||
|
@ -35,7 +33,6 @@ commands =
|
|||
coverage xml -o cover/coverage.xml
|
||||
|
||||
[testenv:debug]
|
||||
basepython = python3
|
||||
commands = oslo_debug_helper {posargs}
|
||||
|
||||
[flake8]
|
||||
|
|
Loading…
Reference in New Issue