diff --git a/pyproject.toml b/pyproject.toml
index 2b14771600a076794515026e6fd1065070f28efc..a9347537a0d32abc638e9a560e1f80f8f1c30554 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -43,6 +43,8 @@ Authors = "https://teklia.com"
 [project.optional-dependencies]
 docs = [
     "black==24.4.2",
+    # Pick a specific version because griffe==1.0.0 introduces a bug
+    "griffe==0.49.0",
     "mkdocs-material==9.5.31",
     "mkdocstrings-python==1.10.7",
 ]