summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliyou01 <liyou01@inspur.com>2022-12-31 09:58:53 +0800
committerDr. Jens Harbott <harbott@osism.tech>2022-12-31 10:48:26 +0100
commitc6ddf55f7f0e32f7b8d24173cd963bbd37c11e0a (patch)
tree3e0e1fb54564bbd32f233bd29420af1ec6d759cf
parente6bf93a80af9d167c286382fa34a68706a5b2376 (diff)
downloaddesignate-c6ddf55f7f0e32f7b8d24173cd963bbd37c11e0a.tar.gz
Fix tox4 error
tox.ini started failing with Tox4 which had some incompatible changes. One is allowlist_externals which now needs to be explicitly set for each testenv. Other failure is due to the skipsdist = True. Fixing tox.ini for tox4 changes. Change-Id: I7ef284a07866d99cbc34b391295efbae261af7c6
-rw-r--r--tox.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 7bd1d606..ff5c7f00 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,7 +2,6 @@
minversion = 3.18.0
envlist = py3,flake8
ignore_basepython_conflict = True
-skipsdist = True
[testenv]
basepython = python3
@@ -41,6 +40,8 @@ allowlist_externals =
rm
[testenv:docs]
+allowlist_externals =
+ rm
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt