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:
Jeremy Stanley 2023-12-22 14:02:23 +00:00
parent fd6cd1da6c
commit 7ee7a5ecbd
1 changed files with 1 additions and 3 deletions

View File

@ -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