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: I6e18dd70a74694ba2e7aad535f487498a26d05bb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
changes/80/606680/3
Doug Hellmann 9 months ago
parent
commit
8857a844ba
2 changed files with 3 additions and 1 deletions
  1. 1
    1
      specs/mitaka/bgp-dynamic-routing.rst
  2. 2
    0
      tox.ini

+ 1
- 1
specs/mitaka/bgp-dynamic-routing.rst View File

@@ -47,7 +47,7 @@ the cloud reachable through the remaining healthy link.
47 47
 
48 48
     group {
49 49
       color = lightgreen;
50
-      label = "OpenStack Deployment";
50
+      //label = "OpenStack Deployment";
51 51
       gateway_router;
52 52
       tenant_router1;
53 53
       tenant_router2;

+ 2
- 0
tox.ini View File

@@ -19,9 +19,11 @@ deps =
19 19
 commands = stestr run --slowest {posargs}
20 20
 
21 21
 [testenv:venv]
22
+basepython = python3
22 23
 commands = {posargs}
23 24
 
24 25
 [testenv:docs]
26
+basepython = python3
25 27
 deps =
26 28
   -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
27 29
   -r{toxinidir}/doc/requirements.txt

Loading…
Cancel
Save