Drop python 2.7 support and testing
Change-Id: I3ff7a714d5fd61edd72e00c7a454c81724844f99
Closes-bug: #1853372
Brian Rosmaita
6 years ago
| 27 | 27 |
devstack_localrc:
|
| 28 | 28 |
CINDER_ISCSI_HELPER: lioadm
|
| 29 | 29 |
TEMPEST_PLUGINS: /opt/stack/cinder-tempest-plugin
|
|
30 |
USE_PYTHON3: true
|
| 30 | 31 |
devstack_plugins:
|
| 31 | 32 |
barbican: https://opendev.org/openstack/barbican
|
| 32 | 33 |
devstack_services:
|
| 12 | 12 |
License :: OSI Approved :: Apache Software License
|
| 13 | 13 |
Operating System :: POSIX :: Linux
|
| 14 | 14 |
Programming Language :: Python
|
| 15 | |
Programming Language :: Python :: 2
|
| 16 | |
Programming Language :: Python :: 2.7
|
| 17 | 15 |
Programming Language :: Python :: 3
|
| 18 | |
Programming Language :: Python :: 3.5
|
|
16 |
Programming Language :: Python :: 3.6
|
|
17 |
Programming Language :: Python :: 3.7
|
| 19 | 18 |
|
| 20 | 19 |
[files]
|
| 21 | 20 |
packages =
|
| 5 | 5 |
|
| 6 | 6 |
coverage!=4.4,>=4.0 # Apache-2.0
|
| 7 | 7 |
python-subunit>=1.0.0 # Apache-2.0/BSD
|
| 8 | |
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
|
| 9 | |
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
|
|
8 |
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
|
| 10 | 9 |
oslotest>=3.2.0 # Apache-2.0
|
| 11 | 10 |
testrepository>=0.0.18 # Apache-2.0/BSD
|
| 12 | 11 |
testtools>=2.2.0 # MIT
|
| 0 | 0 |
[tox]
|
| 1 | |
minversion = 2.0
|
|
1 |
minversion = 3.1.0
|
| 2 | 2 |
envlist = pep8
|
| 3 | 3 |
skipsdist = True
|
|
4 |
# this allows tox to infer the base python from the environment name
|
|
5 |
# and override any basepython configured in this file
|
|
6 |
ignore_basepython_conflict=true
|
| 4 | 7 |
|
| 5 | 8 |
[testenv]
|
|
9 |
basepython = python3
|
| 6 | 10 |
usedevelop = True
|
| 7 | 11 |
install_command = pip install {opts} {packages}
|
| 8 | 12 |
setenv =
|
|
| 13 | 17 |
commands = python setup.py test --slowest --testr-args='{posargs}'
|
| 14 | 18 |
|
| 15 | 19 |
[testenv:pep8]
|
| 16 | |
basepython = python3
|
| 17 | 20 |
commands = flake8 {posargs}
|
| 18 | 21 |
|
| 19 | 22 |
[testenv:venv]
|
| 20 | |
basepython = python3
|
| 21 | 23 |
commands = {posargs}
|
| 22 | 24 |
|
| 23 | 25 |
[flake8]
|