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: I15eb789db64c58865fc3dae99a7e83f90c971a60
Closes-Bug:  #1801657
98k 6 months ago
parent
commit
52855b5c23
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      tox.ini

+ 1
- 0
tox.ini View File

@@ -34,6 +34,7 @@ commands =
34 34
   sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
35 35
 
36 36
 [testenv:debug]
37
+basepython = python3
37 38
 commands = oslo_debug_helper {posargs}
38 39
 
39 40
 [flake8]

Loading…
Cancel
Save