[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
|
jobs: &cloudkitty_tempest_jobs
|
||||||
- cloudkitty-tempest-full-v2-storage-influxdb:
|
- cloudkitty-tempest-full-v2-storage-influxdb:
|
||||||
voting: true
|
voting: true
|
||||||
- cloudkitty-tempest-full-v2-storage-influxdb-py3:
|
|
||||||
voting: true
|
|
||||||
- cloudkitty-tempest-full-v1-storage-sqlalchemy:
|
- cloudkitty-tempest-full-v1-storage-sqlalchemy:
|
||||||
voting: true
|
voting: true
|
||||||
- cloudkitty-tempest-full-v1-storage-sqlalchemy-py3:
|
|
||||||
voting: true
|
|
||||||
- cloudkitty-tempest-full-v2-storage-elasticsearch:
|
- cloudkitty-tempest-full-v2-storage-elasticsearch:
|
||||||
voting: true
|
voting: true
|
||||||
- cloudkitty-tempest-full-v2-storage-elasticsearch-py3:
|
|
||||||
voting: true
|
|
||||||
gate:
|
gate:
|
||||||
queue: cloudkitty
|
queue: cloudkitty
|
||||||
jobs: *cloudkitty_tempest_jobs
|
jobs: *cloudkitty_tempest_jobs
|
||||||
|
|
|
@ -13,10 +13,9 @@ classifier =
|
||||||
License :: OSI Approved :: Apache Software License
|
License :: OSI Approved :: Apache Software License
|
||||||
Operating System :: POSIX :: Linux
|
Operating System :: POSIX :: Linux
|
||||||
Programming Language :: Python
|
Programming Language :: Python
|
||||||
Programming Language :: Python :: 2
|
|
||||||
Programming Language :: Python :: 2.7
|
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
Programming Language :: Python :: 3.5
|
Programming Language :: Python :: 3.6
|
||||||
|
Programming Language :: Python :: 3.7
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
packages =
|
packages =
|
||||||
|
|
|
@ -6,7 +6,6 @@ hacking>=1.1.0,<1.2.0 # Apache-2.0
|
||||||
|
|
||||||
coverage>=4.0,!=4.4 # Apache-2.0
|
coverage>=4.0,!=4.4 # Apache-2.0
|
||||||
python-subunit>=0.0.18 # Apache-2.0/BSD
|
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
|
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
|
||||||
oslotest>=1.10.0 # Apache-2.0
|
oslotest>=1.10.0 # Apache-2.0
|
||||||
stestr>=1.0.0 # Apache-2.0
|
stestr>=1.0.0 # Apache-2.0
|
||||||
|
|
7
tox.ini
7
tox.ini
|
@ -1,9 +1,10 @@
|
||||||
[tox]
|
[tox]
|
||||||
minversion = 2.0
|
minversion = 2.0
|
||||||
envlist = py35,py27,pypy,pep8
|
envlist = py36,py37,pypy,pep8
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
basepython = python3
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
|
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
|
||||||
setenv =
|
setenv =
|
||||||
|
@ -16,15 +17,12 @@ deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands = stestr run {posargs}
|
commands = stestr run {posargs}
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python3
|
|
||||||
commands = flake8 {posargs}
|
commands = flake8 {posargs}
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
basepython = python3
|
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
basepython = python3
|
|
||||||
setenv =
|
setenv =
|
||||||
VIRTUAL_ENV={envdir}
|
VIRTUAL_ENV={envdir}
|
||||||
PYTHON=coverage run --source cloudkitty_tempest_plugin --parallel-mode
|
PYTHON=coverage run --source cloudkitty_tempest_plugin --parallel-mode
|
||||||
|
@ -35,7 +33,6 @@ commands =
|
||||||
coverage xml -o cover/coverage.xml
|
coverage xml -o cover/coverage.xml
|
||||||
|
|
||||||
[testenv:debug]
|
[testenv:debug]
|
||||||
basepython = python3
|
|
||||||
commands = oslo_debug_helper {posargs}
|
commands = oslo_debug_helper {posargs}
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
|
|
Loading…
Reference in New Issue