Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/826789 )
Change subject: [doc] Use Python 3.6 to create Sphinx documentation ......................................................................
[doc] Use Python 3.6 to create Sphinx documentation
Use Python 3.6 instead of 3.7 because backports implemetations are incorporated for older Pythons only.
Change-Id: Ie6748c65ce61fc9e4903781f85647bcb71e8847e --- M docs/requirements-py3.txt M tox.ini 2 files changed, 3 insertions(+), 3 deletions(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/docs/requirements-py3.txt b/docs/requirements-py3.txt index 9da69c9..53d9a1f 100644 --- a/docs/requirements-py3.txt +++ b/docs/requirements-py3.txt @@ -1,4 +1,5 @@ # This is a PIP requirements file for building Sphinx documentation of pywikibot # requirements.txt is also needed
-sphinx >= 5.1.1 \ No newline at end of file +sphinx >= 5.1.1 +rstcheck >=3.5.0 \ No newline at end of file diff --git a/tox.ini b/tox.ini index 0cbdd79..ecf4bfc 100644 --- a/tox.ini +++ b/tox.ini @@ -82,11 +82,10 @@ commands = sphinx-build -M html ./docs ./docs/_build rstcheck --recursive --report warning --ignore-roles phab . -basepython = python3.7 +basepython = python3.6 deps = -rrequirements.txt -rdocs/requirements-py3.txt - rstcheck >=4.0.0,< 6.0.0
[flake8] # The following are intentionally ignored, possibly pending consensus