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: I35f1acf4385821969ffa7c9807cf209a59c1d73e
This commit is contained in:
Ian H. Pittwood 2019-07-10 10:30:05 -05:00
parent 601f281191
commit ee18e3e94b
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,3 @@
# Documentation # Documentation
sphinx>=1.6.2 sphinx>2.1.0
sphinx_rtd_theme==0.2.4 sphinx_rtd_theme==0.2.4

View File

@ -31,7 +31,8 @@ commands =
[testenv:pep8] [testenv:pep8]
basepython = python3 basepython = python3
deps = deps =
pipenv pipenv
safety
commands = commands =
pipenv install --dev pipenv install --dev
bash -c {toxinidir}/tools/gate/whitespace-linter.sh bash -c {toxinidir}/tools/gate/whitespace-linter.sh
@ -39,15 +40,18 @@ commands =
flake8 {toxinidir}/spyglass {toxinidir}/tests flake8 {toxinidir}/spyglass {toxinidir}/tests
bandit -r spyglass -n 5 bandit -r spyglass -n 5
pipenv check pipenv check
safety check -r {toxinidir}/doc/requirements.txt --bare
whitelist_externals = whitelist_externals =
bash bash
[testenv:safety] [testenv:safety]
deps = deps =
pipenv pipenv
safety
commands = commands =
pipenv install --dev pipenv install --dev
pipenv check pipenv check
safety check -r {toxinidir}/doc/requirements.txt --full-report
[testenv:bandit] [testenv:bandit]
deps = deps =