summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHervé Beraud <hberaud@redhat.com>2023-02-17 10:18:50 +0100
committerHervé Beraud <herveberaud.pro@gmail.com>2023-02-17 13:14:52 +0000
commit7696282cb5bead6d7c6320ff287fb635500bd9a6 (patch)
tree11b057dc7f7b4db7f1898d671c304c900c8ed804
parent926dd4d9811792e3b247a7f6bf8ce04a14b99c59 (diff)
downloadoslo-context-7696282cb5bead6d7c6320ff287fb635500bd9a6.tar.gz
Fix the docs job5.1.1
Related to https://lists.openstack.org/pipermail/openstack-discuss/2023-February/032247.html Change-Id: I2981285fe29790737431b1083979388c02938a67
-rw-r--r--tox.ini6
1 files changed, 2 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index d377fde..386119d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,10 +1,8 @@
[tox]
minversion = 3.2.0
envlist = py3,pep8
-ignore_basepython_conflict = true
[testenv]
-basepython = python3
# TODO(damani): Drop distutils override once logging improves in setuptools
# https://github.com/pypa/setuptools/issues/3038
setenv =
@@ -36,7 +34,7 @@ commands = {posargs}
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
-whitelist_externals = rm
+allowlist_externals = rm
commands =
rm -fr doc/build
sphinx-build -W --keep-going -b html doc/source doc/build/html
@@ -65,7 +63,7 @@ import_exceptions =
[testenv:releasenotes]
envdir = {toxworkdir}/docs
-whitelist_externals = rm
+allowlist_externals = rm
deps = {[testenv:docs]deps}
commands =
rm -rf releasenotes/build