Skip to content

Commit 033ffef

Browse files
committed
use same range for pydantic in both packages
1 parent 8f4cd5d commit 033ffef

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

packages/jupyter-ai-magics/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ dependencies = [
2525
"importlib_metadata>=5.2.0",
2626
"langchain>=0.3.0,<0.4.0",
2727
"langchain_community>=0.3.0,<0.4.0",
28-
# pydantic>=2.7.4 is required by langchain >=0.3.0
29-
# pydantic>=2.9.0 is required by ollama >=0.4.0
30-
"pydantic>=2.9.0,<3",
28+
# pydantic <2.10.0 raises a "protected namespaces" error in JAI
29+
# - See: https://docs.pydantic.dev/latest/api/config/#pydantic.config.ConfigDict.protected_namespaces
30+
"pydantic>=2.10.0,<3",
3131
# click>=8.1 is required by dask>=2023.11.0
3232
"click>=8.1.0,<9",
3333
"jsonpath-ng>=1.5.3,<2",

packages/jupyter-ai/pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ dependencies = [
2525
# jupyter_server>=2.4 is required in JL4
2626
# jupyter_server>=2.11.1 is required by jupyter_server_ydoc>=3
2727
"jupyter_server>=2.11.1,<3",
28-
# pydantic>=2.7.4 is required by langchain >=v0.3.0
29-
# pydantic>=2.9.0 is required by ollama >=0.4.0
3028
# pydantic <2.10.0 raises a "protected namespaces" error in JAI
3129
# - See: https://docs.pydantic.dev/latest/api/config/#pydantic.config.ConfigDict.protected_namespaces
3230
"pydantic>=2.10.0,<3",

0 commit comments

Comments
 (0)