Fix configuration for tox v4
Tox v4 changed how it interprets editable installs when skipping sdist builds. It also removed the deprecated whitelist_externals in favor of allowlist_externals. Get things working again. Change-Id: I6db0f1fe7b726773f516370d64bb54d174488f87
This commit is contained in:
parent
fd6cd1da6c
commit
7ee7a5ecbd
4
tox.ini
4
tox.ini
@ -1,12 +1,10 @@
|
||||
[tox]
|
||||
minversion = 3.1
|
||||
envlist = linters, py3
|
||||
skipdist = True
|
||||
ignore_basepython_conflict = True
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
usedevelop = True
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
# TODO(fungi): work out a representative replay call with a suitable but
|
||||
# small test payload and target results comparison
|
||||
@ -17,7 +15,7 @@ commands =
|
||||
commands = flake8
|
||||
|
||||
[testenv:docs]
|
||||
whitelist_externals = rm
|
||||
allowlist_externals = rm
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
rm -fr doc/build
|
||||
|
Loading…
x
Reference in New Issue
Block a user