Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

fix/pydantic-version (#385)

Thomas Hebrardbfc0d2473917
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3b96f5489..53992a5e3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
# Changelog
+## [v0.13.1] - 2025-10-22
+
+### Changed
+
+- Changed the `pydantic`dependency from `>=2.10.6` to `>=2.10.6,<3.0.0` to avoid compatibility issues.
+
## [v0.13.0] - 2025-10-21
### Highlights - Simplifying pipeline execution and improving developer experience
diff --git a/pyproject.toml b/pyproject.toml
index d6bf18baf..f4f271512 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -32,7 +32,7 @@ dependencies = [
"pillow>=11.2.1",
"polyfactory>=2.21.0",
"pypdfium2>=4.30.0,!=4.30.1",
- "pydantic==2.10.6",
+ "pydantic>=2.10.6,<3.0.0",
"python-dotenv>=1.0.1",
"PyYAML>=6.0.2",
"rich>=13.8.1",
diff --git a/uv.lock b/uv.lock
index 0d1b9a8ad..e979764d9 100644
--- a/uv.lock
+++ b/uv.lock
@@ -1996,7 +1996,7 @@ requires-dist = [
{ name = "openai", specifier = ">=1.60.1" },
{ name = "pillow", specifier = ">=11.2.1" },
{ name = "polyfactory", specifier = ">=2.21.0" },
- { name = "pydantic", specifier = "==2.10.6" },
+ { name = "pydantic", specifier = ">=2.10.6,<3.0.0" },
{ name = "pylint", marker = "extra == 'dev'", specifier = ">=3.3.8" },
{ name = "pypdfium2", specifier = ">=4.30.0,!=4.30.1" },
{ name = "pyright", marker = "extra == 'dev'", specifier = ">=1.1.405" },