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
fix(ai): require pydantic-ai 2.34.0 for reasoning chat history (#11153)
Shahmir Varqha64f11d709550
diff --git a/pyproject.toml b/pyproject.tomlindex badb23b9be..93b6f77e22 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -107,7 +107,7 @@ recommended = ["marimo-lens>=0.2.3", # Inspect and select notebook outputs"cryptography>=42.0.0", # Ed25519 signing of persistent cache manifests"altair>=5.4.0", # Plotting in datasource viewer- "pydantic-ai-slim[openai]>=1.107.0,<3.0.0", # AI features+ "pydantic-ai-slim[openai]>=2.34.0,<3.0.0", # AI features"ruff", # Formatting"nbformat>=5.7.0", # Export as IPYNB]@@ -146,7 +146,7 @@ dev = [# For linting"ruff>=0.16.6",# For AI- "pydantic-ai-slim[openai]>=1.107.0,<3.0.0",+ "pydantic-ai-slim[openai]>=2.34.0,<3.0.0",]test = [@@ -210,7 +210,7 @@ test-optional = ["anywidget~=0.9.21","ipython~=8.12.3",# testing gen ai- "pydantic-ai-slim[google,anthropic,bedrock,openai]>=1.107.0,<3.0.0",+ "pydantic-ai-slim[google,anthropic,bedrock,openai]>=2.34.0,<3.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",@@ -252,7 +252,7 @@ typecheck = ["obstore>=0.8.2","huggingface_hub>=1.24.0","fsspec>=2026.2.0",- "pydantic-ai-slim[google,anthropic,bedrock,openai]>=1.107.0,<3.0.0",+ "pydantic-ai-slim[google,anthropic,bedrock,openai]>=2.34.0,<3.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 9f1b6fed65..b7cc880c46 100644--- a/tests/snapshots/optional-dependencies-recommended.txt+++ b/tests/snapshots/optional-dependencies-recommended.txt@@ -4,5 +4,5 @@ marimo-lens>=0.2.3marimo[sandbox]marimo[sql]nbformat>=5.7.0-pydantic-ai-slim[openai]>=1.107.0,<3.0.0+pydantic-ai-slim[openai]>=2.34.0,<3.0.0ruff\ No newline at end of file