Merge "[ussuri][goal] Drop python 2.7 support"

This commit is contained in:
Zuul 2019-12-13 22:22:43 +00:00 committed by Gerrit Code Review
commit e005643b63
3 changed files with 3 additions and 6 deletions

View File

@ -3,6 +3,5 @@
# process, which may cause wedges in the gate later.
openstackdocstheme>=1.11.0
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
yasfb>=0.5.1

View File

@ -3,7 +3,6 @@
# process, which may cause wedges in the gate later.
openstackdocstheme>=1.11.0
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
flake8
yasfb>=0.5.1

View File

@ -1,9 +1,11 @@
[tox]
minversion = 2.0
minversion = 3.1.1
envlist = docs,pep8
skipsdist = True
ignore_basepython_conflict = True
[testenv]
basepython = python3
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
@ -11,7 +13,6 @@ setenv =
deps = -r{toxinidir}/test-requirements.txt
[testenv:docs]
basepython = python3
whitelist_externals = rm
commands =
rm -fr doc/build
@ -19,13 +20,11 @@ commands =
doc8 --ignore D001 doc/source
[testenv:pep8]
basepython = python3
commands =
flake8
doc8 --ignore D001 specs/
[testenv:venv]
basepython = python3
commands = {posargs}
[flake8]