From d296188c2e6ae3a77848ec47b1f88a0f74e03bcc Mon Sep 17 00:00:00 2001 From: Jens Harbott Date: Thu, 28 Nov 2019 12:42:47 +0000 Subject: [PATCH] Set ignore_basepython_conflict to true in tox.ini Since dropping py2 support and adding a basepython setting to the global tox testenv, tox complains about a basepython mismatch when the installed python3 is python3.6 and the py37 environment is executed (or vice versa). Setting ignore_basepython_conflict = True will avoid this message and enforce the correct python version to be used. Needs a bump in the minimum tox version supported. See also [0]. [0] https://review.opendev.org/582392 Change-Id: I3d9beeaed104dcf12cfd97590b44c4003754b4e4 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 2a00d7665d7..da5820d49c9 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,8 @@ [tox] envlist = docs,py37,pep8 -minversion = 2.3.2 +minversion = 3.1.0 skipsdist = True +ignore_basepython_conflict = True [testenv] basepython = python3