A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
bump pydantic-ai, and cap to v2 (#9978)
Shahmir Varqhaaba4d62e2ab0
diff --git a/pyproject.toml b/pyproject.tomlindex f0aa120258..1f1c9f8f29 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -101,11 +101,11 @@ sandbox = [# in order to unlock all features in marimorecommended = ["marimo[sql]",- "marimo[sandbox]", # For `marimo edit --sandbox DIRECTORY`- "altair>=5.4.0", # Plotting in datasource viewer- "pydantic-ai-slim[openai]>=1.52.0", # AI features- "ruff", # Formatting- "nbformat>=5.7.0", # Export as IPYNB+ "marimo[sandbox]", # For `marimo edit --sandbox DIRECTORY`+ "altair>=5.4.0", # Plotting in datasource viewer+ "pydantic-ai-slim[openai]>=1.107.0,<2.0.0", # AI features+ "ruff", # Formatting+ "nbformat>=5.7.0", # Export as IPYNB]lsp = [@@ -142,7 +142,7 @@ dev = [# For linting"ruff>=0.15.16",# For AI- "pydantic-ai-slim[openai]>=1.84.0",+ "pydantic-ai-slim[openai]>=1.107.0,<2.0.0",]test = [@@ -205,7 +205,7 @@ test-optional = ["anywidget~=0.9.21","ipython~=8.12.3",# testing gen ai- "pydantic-ai-slim[google,anthropic,bedrock,openai]>=1.84.0",+ "pydantic-ai-slim[google,anthropic,bedrock,openai]>=1.107.0,<2.0.0",# - google-auth uses cachetools, and cachetools<5.0.0 uses collections.MutableMapping (removed in Python 3.10)"cachetools>=5.0.0","boto3>=1.38.46",@@ -242,7 +242,7 @@ typecheck = ["sqlalchemy>=2.0.40","obstore>=0.8.2","fsspec>=2026.2.0",- "pydantic-ai-slim[google,anthropic,bedrock,openai]>=1.84.0",+ "pydantic-ai-slim[google,anthropic,bedrock,openai]>=1.107.0,<2.0.0","loro>=1.5.0","boto3-stubs>=1.38.46","pandas-stubs>=1.5.3.230321",diff --git a/tests/snapshots/optional-dependencies-recommended.txt b/tests/snapshots/optional-dependencies-recommended.txtindex 3367d4fca4..88c04fc98e 100644--- a/tests/snapshots/optional-dependencies-recommended.txt+++ b/tests/snapshots/optional-dependencies-recommended.txt@@ -2,5 +2,5 @@ altair>=5.4.0marimo[sandbox]marimo[sql]nbformat>=5.7.0-pydantic-ai-slim[openai]>=1.52.0+pydantic-ai-slim[openai]>=1.107.0,<2.0.0ruff\ No newline at end of file