Fix tox4 issues
This patch fixes tox4 issues: - replace whitelist which was deprecated. Adds pyaml requirement for doc generation Change-Id: Ida80b2a660a5ee54155d242607711cbaad9ecbd2
This commit is contained in:
parent
12de29d66a
commit
30d2e99eb5
|
@ -1,3 +1,4 @@
|
||||||
sphinx>=2.0.0,!=2.1.0 # BSD
|
sphinx>=2.0.0,!=2.1.0 # BSD
|
||||||
openstackdocstheme>=2.2.1 # Apache-2.0
|
openstackdocstheme>=2.2.1 # Apache-2.0
|
||||||
texttable
|
texttable
|
||||||
|
pyaml
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -33,7 +33,7 @@ passenv =
|
||||||
PIP_CONSTRAINT={env:PIP_CONSTRAINT:constraints.txt}
|
PIP_CONSTRAINT={env:PIP_CONSTRAINT:constraints.txt}
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
bash
|
bash
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ commands =
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
whitelist_externals = bash
|
allowlist_externals = bash
|
||||||
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}
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue