Browse Source

Merge "fix tox python3 overrides"

Zuul 9 months ago
parent
commit
8a80b026fc
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      tox.ini

+ 4
- 0
tox.ini View File

@@ -30,6 +30,7 @@ setenv =
30 30
 
31 31
 
32 32
 [testenv:docs]
33
+basepython = python3
33 34
 deps = -r{toxinidir}/doc/requirements.txt
34 35
 commands=
35 36
     bash -c "rm -rf doc/build"
@@ -43,6 +44,7 @@ extensions = .rst
43 44
 
44 45
 
45 46
 [testenv:releasenotes]
47
+basepython = python3
46 48
 deps = -r{toxinidir}/doc/requirements.txt
47 49
 commands =
48 50
     sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
@@ -50,11 +52,13 @@ commands =
50 52
 
51 53
 # environment used by the -infra templated docs job
52 54
 [testenv:venv]
55
+basepython = python3
53 56
 commands =
54 57
     {posargs}
55 58
 
56 59
 
57 60
 [testenv:pep8]
61
+basepython = python3
58 62
 commands =
59 63
     bash -c "{toxinidir}/tests/common/test-pep8.sh"
60 64
 

Loading…
Cancel
Save