From d4441daf9c90f7175ed5bda9d9a5b207e3fb0979 Mon Sep 17 00:00:00 2001 From: zhangbailin Date: Thu, 2 Apr 2020 08:10:33 +0800 Subject: [PATCH] Upgrade minversion to match python3 ignore_basepython_conflict flag is introduced in that version so we need to raise it if using that flag. Change-Id: Ie40535ebe42504aceb7c15efbce52038ce3f9b3b --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 7f0af9f6..542a3377 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -minversion = 2.0 +minversion = 3.1.1 envlist = py36,py37,pep8 skipsdist = True # Automatic envs (pyXX) will only use the python version appropriate to that @@ -8,12 +8,12 @@ skipsdist = True ignore_basepython_conflict = True [testenv] +basepython = python3 usedevelop = True whitelist_externals = rm make install_command = {[testenv:common-constraints]install_command} -basepython = python3 setenv = VIRTUAL_ENV={envdir} OS_TEST_PATH=cyborg/tests/unit