diff --git a/_package/pyproject.toml b/_package/pyproject.toml
index 0f60f8578..7d4ce0988 100644
--- a/_package/pyproject.toml
+++ b/_package/pyproject.toml
@@ -47,7 +47,7 @@ doc = [
     "pytest-sphinx==0.6.3",
     "pyyaml==6.0.2",
     "sphinx-autobuild==2024.10.3",
-    "sphinx-autodoc-typehints==2.5.0",
+    "sphinx-autodoc-typehints==3.1.0",
     "sphinx-copybutton==0.5.2",
     "sphinx-notfound-page==1.0.4",
     "sphinx-gallery==0.18.0",