Update the tox minversion parameter.
Update the minversion parameter to use the python -m pip to install python packages: https://tox.readthedocs.io/en/latest/changelog.html#id185 It's recommend to use this. Remove the useless install_command parameter. Change-Id: I3d61db1767ad80995b5c3b8e1727b0655c79903d
This commit is contained in:
parent
740d5b46d0
commit
84ee072757
7
tox.ini
7
tox.ini
|
@ -1,14 +1,13 @@
|
|||
[tox]
|
||||
minversion = 2.0
|
||||
envlist = docs, linters
|
||||
minversion = 3.2.0
|
||||
envlist = docs,linters
|
||||
skipdist = True
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} -c{toxinidir}/constraints.txt {opts} {packages}
|
||||
install_command = python3 -m pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} -c{toxinidir}/constraints.txt {opts} {packages}
|
||||
passenv = *
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
ANSIBLE_ACTION_PLUGINS={toxinidir}/tripleo_ansible/roles.galaxy/config_template/action:{toxinidir}/tripleo_ansible/ansible_plugins/action
|
||||
ANSIBLE_CALLBACK_PLUGINS={toxinidir}/tripleo_ansible/ansible_plugins/callback
|
||||
ANSIBLE_FILTER_PLUGINS={toxinidir}/tripleo_ansible/ansible_plugins/filter
|
||||
|
|
Loading…
Reference in New Issue