From 6c70993c8f1ed7fd5832b30230f78509242dd8cb Mon Sep 17 00:00:00 2001 From: Antonin Raffin Date: Mon, 23 Oct 2023 20:26:33 +0200 Subject: [PATCH] Remove sphinx-autodoc-typehints --- docs/conda_env.yml | 5 ++--- setup.py | 6 ++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/conda_env.yml b/docs/conda_env.yml index 8c71fe9..53fecf2 100644 --- a/docs/conda_env.yml +++ b/docs/conda_env.yml @@ -14,7 +14,6 @@ dependencies: - pandas - numpy - matplotlib - - sphinx_autodoc_typehints - - sphinx>=5.3,<7.0 - - sphinx_rtd_theme>=1.0 + - sphinx>=5,<8 + - sphinx_rtd_theme>=1.3.0 - sphinx_copybutton diff --git a/setup.py b/setup.py index 496caf7..0a1ab30 100644 --- a/setup.py +++ b/setup.py @@ -126,13 +126,11 @@ setup( "black>=23.9.1,<24", ], "docs": [ - "sphinx", + "sphinx>=5,<8", "sphinx-autobuild", - "sphinx-rtd-theme", + "sphinx-rtd-theme>=1.3.0", # For spelling "sphinxcontrib.spelling", - # Type hints support - "sphinx-autodoc-typehints", # Copy button for code snippets "sphinx_copybutton", ],