diff --git a/requirements.txt b/requirements.txt index 658057f..e2a915d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,6 @@ # process, which may cause wedges in the gate later. # this is required for the docs build jobs -sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD -sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD openstackdocstheme>=1.20.0 # Apache-2.0 doc8>=0.6.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index e9e78ec..cc6c7f5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,11 @@ [tox] -minversion = 2.0 +minversion = 3.1 skipsdist = True envlist = docs +ignore_basepython_conflict = True [testenv] +basepython = python3 usedevelop = True install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} @@ -27,7 +29,6 @@ setenv = VIRTUAL_ENV={envdir} [testenv:docs] -basepython = python3 commands= bash -c "rm -rf doc/build" doc8 doc @@ -39,6 +40,5 @@ extensions = .rst # environment used by the -infra templated docs job [testenv:venv] -basepython = python3 commands = {posargs}