tox: Remove ineffective ignore_basepython_conflict and bump minimum version
Change-Id: I833cc355aa0c8a7b1ed0233f3590320a52c2966a Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
This commit is contained in:
9
tox.ini
9
tox.ini
@@ -1,12 +1,10 @@
|
||||
[tox]
|
||||
minversion = 4.0
|
||||
minversion = 4.6.0
|
||||
skipsdist = True
|
||||
envlist = docs,linters,functional
|
||||
ignore_basepython_conflict = True
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
basepython = python3
|
||||
commands =
|
||||
/usr/bin/find . -type f -name "*.pyc" -delete
|
||||
deps =
|
||||
@@ -36,7 +34,6 @@ setenv =
|
||||
ANSIBLE_ACTION_PLUGINS={toxinidir}/action
|
||||
ANSIBLE_LIBRARY={toxinidir}/library
|
||||
|
||||
|
||||
[testenv:docs]
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
@@ -46,7 +43,6 @@ commands =
|
||||
doc8 doc
|
||||
sphinx-build -b html doc/source doc/build/html
|
||||
|
||||
|
||||
[testenv:pdf-docs]
|
||||
deps = {[testenv:docs]deps}
|
||||
allowlist_externals =
|
||||
@@ -55,18 +51,15 @@ commands =
|
||||
sphinx-build -W -b latex doc/source doc/build/pdf
|
||||
make -C doc/build/pdf
|
||||
|
||||
|
||||
[doc8]
|
||||
# Settings for doc8:
|
||||
extensions = .rst
|
||||
|
||||
|
||||
[testenv:releasenotes]
|
||||
deps = {[testenv:docs]deps}
|
||||
commands =
|
||||
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
|
||||
# environment used by the -infra templated docs job
|
||||
[testenv:venv]
|
||||
commands =
|
||||
|
Reference in New Issue
Block a user