diff --git a/pyproject.toml b/pyproject.toml index 70a14d6..806ebd5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ optional = true [tool.poetry.group.docs.dependencies] sphinx = "^7.2.0" sphinx-rtd-theme = "^2.0.0" -sphinx-autodoc-typehints = "^1.24.0" +sphinx-autodoc-typehints = ">=1.24,<3.0" [build-system] requires = ["poetry-core>=1.0.0"]