summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Faulkner <jay@jvf.cc>2022-12-15 09:55:34 -0800
committerJay Faulkner <jay@jvf.cc>2022-12-15 19:41:19 +0000
commit4d9ae818a4c4a93289270dc6e6bf4793d8988669 (patch)
treefad6ee78e467e529fc055253868d5f692fb51f22
parentc9d00d92788a1c70767e6bedadfae6cddec34ca8 (diff)
downloadironic-python-agent-4d9ae818a4c4a93289270dc6e6bf4793d8988669.tar.gz
Fixes for tox 4.0
- passenv needed better structure - usedevelop no longer allowed alongside skipsdist Change-Id: I22dae3b1e4cca2dc328c21e889acf7fe98a80e0b
-rw-r--r--tox.ini13
1 files changed, 7 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index 30fcaf96..28577239 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,11 +1,9 @@
[tox]
minversion = 3.9.0
-skipsdist = True
envlist = py3,functional,pep8
ignore_basepython_conflict=true
[testenv]
-usedevelop = True
basepython = python3
setenv =
VIRTUAL_ENV={envdir}
@@ -18,7 +16,13 @@ deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run {posargs}
-passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
+passenv =
+ http_proxy
+ HTTP_PROXY
+ https_proxy
+ HTTPS_PROXY
+ no_proxy
+ NO_PROXY
[testenv:functional]
# Define virtualenv directory, port to use for functional testing, and number
@@ -32,7 +36,6 @@ setenv =
commands = stestr run {posargs}
[testenv:pep8]
-usedevelop = False
deps=
hacking>=3.1.0,<4.0.0 # Apache-2.0
bashate>=0.5.1 # Apache-2.0
@@ -86,7 +89,6 @@ commands =
make -C doc/build/pdf
[testenv:releasenotes]
-usedevelop = False
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/wallaby}
-r{toxinidir}/doc/requirements.txt
@@ -132,7 +134,6 @@ deps =
-r{toxinidir}/requirements.txt
[testenv:bandit]
-usedevelop = False
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/wallaby}
-r{toxinidir}/test-requirements.txt