From 68611376a1ad23fd858021f80e97eec53a96d90e Mon Sep 17 00:00:00 2001 From: Zax Rosenberg Date: Sat, 30 May 2020 13:50:17 -0500 Subject: [PATCH] hotfix docs building issue by pinning Sphinx v2.x.x --- setup.py | 4 +++- tox.ini | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 166be92..3479fd0 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,9 @@ # Requirements placed here for convenient viewing install_requires = ['numpy>=1.15', 'pandas>=0.23.0'] tests_requires = ["pytest", "pytest-cov"] -docs_requires = ["m2r", "setuptools>=30.4", "Sphinx", "sphinx_rtd_theme"] +# Upgrading to Sphinx 3.x.x requires m2r +# to merge this pr: https://github.com/miyakogi/m2r/pull/55 +docs_requires = ["m2r", "setuptools>=30.4", "Sphinx~=2.0", "sphinx_rtd_theme"] dev_requires = tests_requires + docs_requires + ["pre-commit", "tox"] name = project_info.NAME diff --git a/tox.ini b/tox.ini index fcdbd29..9ab7b26 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = lint, py35, py36, py37, docs, coverage-report +envlist = lint, py36, py37, py38, docs, coverage-report skip_missing_interpreters=True [travis]