diff --git a/pyproject.toml b/pyproject.toml
index 92681689246ef0d76b4025e982963679ad20a288..4dca5dd4624af2eacfb74f5981af69a6ba37f7d4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -25,7 +25,7 @@ AlekSIS = "^2.0a2"
 [tool.poetry.dev-dependencies]
 sphinx = "^3.0"
 sphinxcontrib-django = "^0.5.0"
-sphinx-autodoc-typehints = "^1.7"
+sphinx-autodoc-typehints = "^3.1"
 django-stubs = "^1.1"
 pytest = "^5.3"
 pytest-django = "^3.7"