diff --git a/pyproject.toml b/pyproject.toml
index ec4140836e47fe5290a7389a49044cb57ca60baf..6c5ce10373bf7c573216ae4c60f7c7b9fc6dc8e3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -22,7 +22,7 @@ cryptography = ">=1.8.2"
 requests = "^2"
 
 [tool.poetry.dev-dependencies]
-Sphinx = "^4.5.0"
+Sphinx = "^4.5.0 || ^8.0.0"
 coverage = "^6.3.2 || ^7.0.0"
 myst-parser = "^0.17.0 || ^0.19.0 || ^1.0.0"
 sphinx-rtd-theme = "^1.0.0"