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:
Douglas Viroel 2022-12-27 13:25:28 -03:00
parent 12de29d66a
commit 30d2e99eb5
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
sphinx>=2.0.0,!=2.1.0 # BSD
openstackdocstheme>=2.2.1 # Apache-2.0
texttable
pyaml

View File

@ -33,7 +33,7 @@ passenv =
PIP_CONSTRAINT={env:PIP_CONSTRAINT:constraints.txt}
deps =
-r{toxinidir}/test-requirements.txt
whitelist_externals =
allowlist_externals =
bash
echo
@ -89,7 +89,7 @@ commands =
[testenv:releasenotes]
basepython = python3
whitelist_externals = bash
allowlist_externals = bash
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt