Skip to content

Commit e750063

Browse files
committed
bump pydantic version floor
1 parent 158c6f4 commit e750063

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/jupyter-ai-magics/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ dependencies = [
2626
"importlib_metadata>=5.2.0",
2727
"langchain>=0.3.0,<0.4.0",
2828
"langchain_community>=0.3.0,<0.4.0",
29-
"pydantic~=2.0",
29+
# pydantic>=2.7.4 is required by langchain v0.3
30+
"pydantic>=2.7.4,<3",
3031
"typing_extensions>=4.5.0",
3132
"click~=8.0",
3233
"jsonpath-ng>=1.5.3,<2",

packages/jupyter-ai/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ dependencies = [
2727
"jupyter_server>=2.4,<3",
2828
"aiosqlite>=0.18",
2929
"importlib_metadata>=5.2.0",
30-
"pydantic~=2.0",
30+
# pydantic>=2.7.4 is required by langchain v0.3
31+
"pydantic>=2.7.4,<3",
3132
"jupyter_ai_magics>=2.13.0",
3233
"dask[distributed]",
3334
# faiss-cpu is not distributed by the official repo.

0 commit comments

Comments
 (0)