Fix docs build for tox4
Replace deprecated whitelist_externals with allowlist_externals. Drop skipsdist = True setting. Change-Id: Iced0ce2472e5c0bd09fba0d274ef2772883a0a49
This commit is contained in:
parent
c96b058212
commit
6ee21bd722
7
tox.ini
7
tox.ini
@ -1,7 +1,6 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 3.1.1
|
minversion = 3.1.1
|
||||||
skipsdist = True
|
envlist = py3,pep8,releasenotes
|
||||||
envlist = py39,pep8,releasenotes
|
|
||||||
ignore_basepython_conflict = True
|
ignore_basepython_conflict = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
@ -14,7 +13,7 @@ deps =
|
|||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
commands = stestr run {posargs}
|
commands = stestr run {posargs}
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
bash
|
bash
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
|
||||||
@ -85,7 +84,7 @@ setenv =
|
|||||||
SPHINX_APIDOC_OPTIONS=noindex,members,undoc-members,show-inheritance
|
SPHINX_APIDOC_OPTIONS=noindex,members,undoc-members,show-inheritance
|
||||||
envdir = {toxworkdir}/docs
|
envdir = {toxworkdir}/docs
|
||||||
deps = {[testenv:docs]deps}
|
deps = {[testenv:docs]deps}
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
make
|
make
|
||||||
rm
|
rm
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
Reference in New Issue
Block a user