Skip to content

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.

tests: fix uv snapshot (#6440)

Myles Scolnickb0d25a520d4a
diff --git a/tests/_utils/snapshots/complex_project_tree.json b/tests/_utils/snapshots/complex_project_tree.json
index 5d9dad386f..cd8ed78faf 100644
--- a/tests/_utils/snapshots/complex_project_tree.json
+++ b/tests/_utils/snapshots/complex_project_tree.json
@@ -182,7 +182,7 @@
},
{
"name": "marimo",
- "version": "0.0.0",
+ "version": "0.14.0",
"tags": [],
"dependencies": [
{
@@ -322,7 +322,7 @@
},
{
"name": "h11",
- "version": "0.16.0",
+ "version": "0.0.0",
"tags": [],
"dependencies": []
}
diff --git a/tests/_utils/snapshots/complex_project_tree_from_raw.json b/tests/_utils/snapshots/complex_project_tree_from_raw.json
index 5d9dad386f..fa5d884df8 100644
--- a/tests/_utils/snapshots/complex_project_tree_from_raw.json
+++ b/tests/_utils/snapshots/complex_project_tree_from_raw.json
@@ -322,7 +322,7 @@
},
{
"name": "h11",
- "version": "0.16.0",
+ "version": "0.0.0",
"tags": [],
"dependencies": []
}
diff --git a/tests/_utils/test_uv_tree.py b/tests/_utils/test_uv_tree.py
index 013b43a8f2..0009c256f3 100644
--- a/tests/_utils/test_uv_tree.py
+++ b/tests/_utils/test_uv_tree.py
@@ -46,6 +46,7 @@ def test_complex_project_tree(tmp_path: pathlib.Path) -> None:
uv(["add", "--optional", "bar", "pandas"], cwd=str(project_dir))
raw = uv(["tree", "--no-dedupe"], cwd=str(project_dir))
tree = parse_uv_tree(raw)
+ assert tree is not None
snapshot_test("complex_project_tree.json", serialize(tree))