From: Jeremy Stanley Date: Mon, 16 Jul 2018 03:35:52 +0000 (+0000) Subject: Apply correct Python version in tox base envs X-Git-Tag: 0.0.1~62 X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=commitdiff_plain;h=058e9e90e5b7269f3b7a05c1bb1369423001c80a Apply correct Python version in tox base envs Since we set basepython to python3 in tox's default testenv, this has the unwanted side effect of causing all tox base envs (e.g. py35) to use whatever interpreter is linked from the python3 executable name even if it isn't the requested version. Add a new option from tox 3.1 to ignore this basepython override conflict. --- diff --git a/tox.ini b/tox.ini index 559af51..dce2bef 100644 --- a/tox.ini +++ b/tox.ini @@ -3,9 +3,10 @@ # terms provided in the LICENSE file distributed with this software. [tox] -minversion = 2.0 +minversion = 3.1 envlist = dist, docs, flake8, yamllint, selftest_config, py3 skipsdist = True +ignore_basepython_conflict = True [testenv] basepython = python3