diff --git a/setup.py b/setup.py
index 526b3356..a41dfbea 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@
     "dill",
     "requests",
     "isort>=5.10",
-    "pydantic>=1.9.0,<2",
+    "pydantic>=2.2,<3",
     "typer",
     "click<8.2",
     "rich",