From 30d2e99eb54813f6d52ca7329717cd5c06288a40 Mon Sep 17 00:00:00 2001 From: Douglas Viroel Date: Tue, 27 Dec 2022 13:25:28 -0300 Subject: [PATCH] Fix tox4 issues This patch fixes tox4 issues: - replace whitelist which was deprecated. Adds pyaml requirement for doc generation Change-Id: Ida80b2a660a5ee54155d242607711cbaad9ecbd2 --- doc/requirements.txt | 1 + tox.ini | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 997b5ad20..afa9b9845 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,3 +1,4 @@ sphinx>=2.0.0,!=2.1.0 # BSD openstackdocstheme>=2.2.1 # Apache-2.0 texttable +pyaml diff --git a/tox.ini b/tox.ini index 562617e33..79f707952 100644 --- a/tox.ini +++ b/tox.ini @@ -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