Browse Source

Merge "fix tox python3 overrides"

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

+ 4
- 0
tox.ini View File

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

Loading…
Cancel
Save