Stop testing python2.7

Train was the last release supporting python2. Let's rip the bandaid
off.

Change-Id: I5ba95cd95b60002ba3a5fc261b74db7c98581fd4
This commit is contained in:
xuanyandong 2019-10-28 11:16:26 +08:00
parent 10728ed6a6
commit e53185215d
3 changed files with 2 additions and 7 deletions

View File

@ -3,7 +3,6 @@
- openstack-python-jobs - openstack-python-jobs
- openstack-python35-jobs - openstack-python35-jobs
- openstack-python3-ussuri-jobs - openstack-python3-ussuri-jobs
- tempest-plugin-jobs
- check-requirements - check-requirements
gate: gate:
queue: ec2-api queue: ec2-api

View File

@ -13,8 +13,6 @@ 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.5
Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.6

View File

@ -1,10 +1,11 @@
[tox] [tox]
minversion = 2.0 minversion = 2.0
envlist = py27,py37,pep8 envlist = py37,pep8
skipsdist = True skipsdist = True
[testenv] [testenv]
usedevelop = True usedevelop = True
basepython = python3
# tox is silly... these need to be separated by a newline.... # tox is silly... these need to be separated by a newline....
whitelist_externals = bash whitelist_externals = bash
find find
@ -26,15 +27,12 @@ commands =
rm -f .testrepository/times.dbm rm -f .testrepository/times.dbm
[testenv:pep8] [testenv:pep8]
basepython = python3
commands = flake8 {posargs} commands = flake8 {posargs}
[testenv:venv] [testenv:venv]
basepython = python3
commands = {posargs} commands = {posargs}
[testenv:debug] [testenv:debug]
basepython = python3
commands = oslo_debug_helper {posargs} commands = oslo_debug_helper {posargs}
[flake8] [flake8]