Now that we use backward incompatible sphinx 3 features, bump up the
requirements.
---
README.rst | 2 +-
hawkmoth/__init__.py | 2 +-
setup.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.rst b/README.rst
index 118ce99e2371..9b49aca0473c 100644
--- a/README.rst
+++ b/README.rst
@@ -93,7 +93,7 @@ Dependencies
------------
- Python 3.4
-- Sphinx 1.8
+- Sphinx 3
- Clang 6.0
- Python 3 Bindings for Clang 6.0
- sphinx-testing 1.0.0 (for development)
diff --git a/hawkmoth/__init__.py b/hawkmoth/__init__.py
index 0896453ea8e7..5905c2b53f00 100644
--- a/hawkmoth/__init__.py
+++ b/hawkmoth/__init__.py
@@ -109,7 +109,7 @@ class CAutoDocDirective(Directive):
return node.children
def setup(app):
- app.require_sphinx('1.8')
+ app.require_sphinx('3.0')
app.add_config_value('cautodoc_root', app.confdir, 'env')
app.add_config_value('cautodoc_compat', None, 'env')
app.add_config_value('cautodoc_clang', None, 'env')
diff --git a/setup.py b/setup.py
index c9cce7c5cf4b..ae63770739b6 100644
--- a/setup.py
+++ b/setup.py
@@ -30,7 +30,7 @@ setuptools.setup(
'hawkmoth': ['VERSION'],
},
install_requires = [
- 'sphinx',
+ 'sphinx>=3',
# 'clang', # depend on distro packaging
],
extras_require = {
--
2.20.1