Merge "Drop python 2.7 support and testing"

This commit is contained in:
Zuul 2020-02-21 15:29:35 +00:00 committed by Gerrit Code Review
commit 79f52c6924
4 changed files with 11 additions and 11 deletions

View File

@ -1,8 +1,7 @@
- project:
templates:
- openstack-python-jobs
- openstack-python35-jobs
- openstack-python3-train-jobs
- openstack-python3-ussuri-jobs
- check-requirements
gate:
queue: os-win

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
Python 2.7 support has been dropped. Last release of oswin-tempest-plugin
to support py2.7 is OpenStack Train. The minimum version of Python now
supported by oswin-tempest-plugin is Python 3.5.

View File

@ -14,8 +14,6 @@ classifier =
Operating System :: POSIX :: Linux
Operating System :: Microsoft :: Windows
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

11
tox.ini
View File

@ -1,9 +1,11 @@
[tox]
minversion = 2.0
envlist = py27,py37,pypy,pep8
minversion = 3.1.1
envlist = py37,pypy,pep8
skipsdist = True
ignore_basepython_conflict = 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 =
@ -17,23 +19,18 @@ deps = -r{toxinidir}/requirements.txt
commands = stestr run --slowest {posargs}
[testenv:pep8]
basepython = python3
commands = flake8 {posargs}
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:cover]
basepython = python3
commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
basepython = python3
commands = python setup.py build_sphinx
[testenv:debug]
basepython = python3
commands = oslo_debug_helper {posargs}
[flake8]