Skip to content
Snippets Groups Projects
Commit 21836ddf authored by Pierre Riteau's avatar Pierre Riteau
Browse files

Remove sphinx from test-requirements.txt

Documentation build environments use doc/requirements.txt where sphinx
is already present. Use doc/requirements.txt in the pep8 environment
because sphinx is required by sphinx8.

Change-Id: I3a2c9ae392745e001c5bdd01212c996e54c44f0c
parent f9d0c256
No related branches found
No related tags found
No related merge requests found
...@@ -12,8 +12,5 @@ molecule<3 # MIT ...@@ -12,8 +12,5 @@ molecule<3 # MIT
oslotest>=1.10.0 # Apache-2.0 oslotest>=1.10.0 # Apache-2.0
# paramiko 2.5.0 makes the kayobe-tox-molecule job fail. # paramiko 2.5.0 makes the kayobe-tox-molecule job fail.
paramiko<2.5.0 paramiko<2.5.0
# NOTE(mgoddard): This is required by tools/sphinx8.
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
stestr # Apache-2.0 stestr # Apache-2.0
yamllint # GPLv3 yamllint # GPLv3
...@@ -25,6 +25,12 @@ commands = stestr run {posargs} ...@@ -25,6 +25,12 @@ commands = stestr run {posargs}
[testenv:pep8] [testenv:pep8]
basepython = python3 basepython = python3
# sphinx8 needs the sphinx package which is required via doc/requirements.txt
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = commands =
{toxinidir}/tools/run-bashate.sh {toxinidir}/tools/run-bashate.sh
flake8 {posargs} kayobe flake8 {posargs} kayobe
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment