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
pin pydantic to fix tests in CI (#7865)
Shahmir Varqha64e9aa5f824b
diff --git a/pixi.lock b/pixi.lockindex cd4174d905..86d43a9282 100644--- a/pixi.lock+++ b/pixi.lock@@ -1132,8 +1132,8 @@ packages:timestamp: 1727801725384- pypi: ./name: marimo- version: 0.19.2- sha256: aa4ab418a21eebcd80bd092626b71ec7e8409e5542beb1607ee6adaf0e5699dc+ version: 0.19.4+ sha256: d736d3a736c76f64d737bbf418312a9ff0d45d16b31382d2765becb16450d90frequires_dist:- click>=8.0,<9- jedi>=0.18.0diff --git a/tests/_ai/test_pydantic_utils.py b/tests/_ai/test_pydantic_utils.pyindex 06358ac08a..a0a28a11a2 100644--- a/tests/_ai/test_pydantic_utils.py+++ b/tests/_ai/test_pydantic_utils.py@@ -33,12 +33,26 @@ class TestGenerateId:assert result.startswith("_")+def _has_pydantic_function_like() -> bool:+ """Check if pydantic has the _function_like attribute required by pydantic-ai."""+ try:+ from pydantic._internal import _decorators++ return hasattr(_decorators, "_function_like")+ except ImportError:+ return False+++ not _has_pydantic_function_like(),+ reason="pydantic version missing _function_like (required by pydantic-ai)",+)class TestFormToolsets:def test_form_toolsets_empty_list(self):tool_invoker = AsyncMock()toolset, deferred = form_toolsets([], tool_invoker)- assert toolset is not Noneassert deferred is False+ assert toolset is not Nonedef test_form_toolsets_with_backend_tool(self):tool_invoker = AsyncMock()