Fix docs build for tox4
Replace deprecated whitelist_externals with allowlist_externals. Drop skipsdist = True setting. Change-Id: Idd797022d7504efc676dbfbe8e3e9da42f26f1e0
This commit is contained in:
parent
ea7a43670e
commit
34b59faf66
11
tox.ini
11
tox.ini
@ -1,7 +1,6 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = pep8,py38,py36-local,eslint,karma-local,docs-local,releasenotes,lower-constraints-local
|
envlist = pep8,py38,py36-local,eslint,karma-local,docs-local,releasenotes,lower-constraints-local
|
||||||
minversion = 2.3.2
|
minversion = 2.3.2
|
||||||
skipsdist = True
|
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
@ -57,7 +56,7 @@ commands =
|
|||||||
|
|
||||||
[testenv:eslint]
|
[testenv:eslint]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
npm
|
npm
|
||||||
commands =
|
commands =
|
||||||
npm install
|
npm install
|
||||||
@ -68,7 +67,7 @@ commands =
|
|||||||
# Horizon from master is needed to be cloned into ../horizon on both local and CI.
|
# Horizon from master is needed to be cloned into ../horizon on both local and CI.
|
||||||
[testenv:karma]
|
[testenv:karma]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
{[testenv:eslint]whitelist_externals}
|
{[testenv:eslint]whitelist_externals}
|
||||||
commands =
|
commands =
|
||||||
npm install
|
npm install
|
||||||
@ -76,14 +75,14 @@ commands =
|
|||||||
|
|
||||||
[testenv:karma-local]
|
[testenv:karma-local]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
{[testenv:eslint]whitelist_externals}
|
{[testenv:eslint]whitelist_externals}
|
||||||
commands =
|
commands =
|
||||||
{[testenv:karma]commands}
|
{[testenv:karma]commands}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
rm
|
rm
|
||||||
deps =
|
deps =
|
||||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
@ -96,7 +95,7 @@ commands=
|
|||||||
basepython = python3
|
basepython = python3
|
||||||
envdir = {toxworkdir}/docs
|
envdir = {toxworkdir}/docs
|
||||||
deps = {[testenv:docs]deps}
|
deps = {[testenv:docs]deps}
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
make
|
make
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -W --keep-going -b latex doc/source doc/build/pdf
|
sphinx-build -W --keep-going -b latex doc/source doc/build/pdf
|
||||||
|
Loading…
Reference in New Issue
Block a user