From 0f1ccb702a5cf51f17db3cc9ae02b88f11eb1f70 Mon Sep 17 00:00:00 2001 From: Nguyen Hung Phuong Date: 2018年7月10日 13:04:37 +0700 Subject: [PATCH] fix tox python3 overrides We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I8f1883011c0831b78a5f099e1ddcf98a77e4005a --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 5bd152e4..644a0f6e 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,6 @@ envlist = checkbuild skipsdist = True [testenv] -basepython = python2 setenv = VIRTUAL_ENV={envdir} install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/test-requirements.txt @@ -15,6 +14,7 @@ whitelist_externals = rsync [testenv:venv] +basepython = python3 commands = {posargs} [doc8]

AltStyle によって変換されたページ (->オリジナル) /