Browse Source

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: I9530cd2433e0e34f05667d33bd6469b2592f8738
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
changes/76/606676/8
Doug Hellmann 3 years ago
committed by Brian Haley
parent
commit
1307cb7587
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tox.ini

+ 2
- 2
tox.ini View File

@ -106,7 +106,7 @@ deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:pep8]
basepython = python2.7
basepython = python3
deps =
{[testenv]deps}
commands=
@ -126,7 +126,7 @@ whitelist_externals =
bash
[testenv:cover]
basepython = python2.7
basepython = python3
setenv =
{[testenv]setenv}
PYTHON=coverage run --source neutron --parallel-mode


Loading…
Cancel
Save