Upgrade Sphinx package

Sphinx 2.1.0 has a bug [0] that causes whitespace to be excluded in
outputted docs. This change updates Sphinx to peg any version >2.1.0.

Safety dependency vulnerability checks now will also cover the doc
requirements.txt.

[0] https://github.com/sphinx-doc/sphinx/issues/6440

Change-Id: Ic4e69862781e35c8597c7eab67a270ba3da26a0d
This commit is contained in:
Ian H. Pittwood 2019-07-10 12:35:21 -05:00
parent e79672987e
commit b22a10ed97
2 changed files with 5 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# process, which may cause wedges in the gate later.
# Documentation
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
sphinx>2.1.0
oslosphinx>=4.7.0 # Apache-2.0
sphinx_rtd_theme

View File

@ -35,7 +35,9 @@ deps =
commands =
bash -c "{toxinidir}/tools/gate/whitespace-linter.sh"
bandit -r pegleg -n 5
safety check -r requirements.txt --bare
safety check -r {toxinidir}/requirements.txt \
-r {toxinidir}/test-requirements.txt \
-r {toxinidir}/doc/requirements.txt --bare
flake8 {toxinidir}/pegleg
whitelist_externals =
bash
@ -60,6 +62,7 @@ deps =
commands =
safety check -r {toxinidir}/requirements.txt --full-report
safety check -r {toxinidir}/test-requirements.txt --full-report
safety check -r {toxinidir}/doc/requirements.txt --full-report
[testenv:cover]
basepython = python3