tox: specify ignore_basepython_conflict

We specify "basepython = python3" in [testenv] in tox.ini.
Without ignore_basepython_conflict = true, an interpreter named 'python3'
is looked for even for tox envs like py36, py37, py38.
As a result, for example, py38 job will be run against python 3.6
on ubuntu-bionic where python3 is an alias for python3.6.
This issue can be addressed by "ignore_basepython_conflict = true".

Change-Id: If8c90c66adbd6ff34ad6aedd373455a34ec73930
This commit is contained in:
Akihiro Motoki 2020-09-04 09:20:03 +09:00
parent 5831bc91f6
commit bbfc3f0a4f
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@
minversion = 1.6
envlist = py37,pep8
skipsdist = True
ignore_basepython_conflict = true
[testenv]
basepython = python3