Merge "tox: Unset basepython"
This commit is contained in:
commit
d56f0ccf7e
7
tox.ini
7
tox.ini
|
@ -3,13 +3,8 @@ minversion = 3.18.0
|
|||
# python runtimes: https://governance.openstack.org/tc/reference/runtimes/ussuri.html
|
||||
envlist = functional-py39,py39,pep8
|
||||
skip_missing_interpreters = true
|
||||
# this allows tox to infer the base python from the environment name
|
||||
# and override any basepython configured in this file
|
||||
ignore_basepython_conflict=true
|
||||
|
||||
[testenv]
|
||||
# Set default python version
|
||||
basepython = python3
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
PYTHONWARNINGS=default::DeprecationWarning
|
||||
|
@ -37,7 +32,6 @@ passenv =
|
|||
*_PROXY
|
||||
|
||||
[testenv:functional]
|
||||
# this will use whatever the system python3 is
|
||||
setenv =
|
||||
TEST_PATH = ./glance/tests/functional
|
||||
commands = stestr run {posargs}
|
||||
|
@ -59,7 +53,6 @@ setenv =
|
|||
commands = {[testenv:functional]commands}
|
||||
|
||||
[testenv:genpolicy]
|
||||
basepython = python3
|
||||
commands =
|
||||
oslopolicy-sample-generator --config-file=etc/glance-policy-generator.conf
|
||||
|
||||
|
|
Loading…
Reference in New Issue