diff options
author | liyou01 <liyou01@inspur.com> | 2022-12-31 09:58:53 +0800 |
---|---|---|
committer | Dr. Jens Harbott <harbott@osism.tech> | 2022-12-31 10:48:26 +0100 |
commit | c6ddf55f7f0e32f7b8d24173cd963bbd37c11e0a (patch) | |
tree | 3e0e1fb54564bbd32f233bd29420af1ec6d759cf | |
parent | e6bf93a80af9d167c286382fa34a68706a5b2376 (diff) | |
download | designate-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.ini | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |