Be explicit about which python3 to use for py36 and py37 tox envs

I saw some warnings locally like

    /usr/local/lib/python3.6/dist-packages/tox/config/__init__.py:581:
    UserWarning: conflicting basepython version (set 3.6, should be 3.7)
    for env 'py37';resolve conflict or set ignore_basepython_conflict

Seems like that may happen in the gate, too?

Change-Id: I31f12bedf77163c8756fecb5000885d01ddbf0e6
This commit is contained in:
Tim Burke 2019-11-07 23:44:32 +00:00
parent 77573c5906
commit 3369c8b613
1 changed files with 2 additions and 2 deletions

View File

@ -30,12 +30,12 @@ commands =
flake8 --filename=* bin --exclude=bin/*.sh
[testenv:py36]
basepython = python3
basepython = python3.6
commands =
nosetests -v tests/unit
[testenv:py37]
basepython = python3
basepython = python3.7
commands = {[testenv:py36]commands}
[testenv:func]