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.

add isolated to run pytest (#9601)

Shahmir Varqha71968ce258bc
diff --git a/scripts/pytest.sh b/scripts/pytest.sh
index 70c495edfa..6f7e777320 100755
--- a/scripts/pytest.sh
+++ b/scripts/pytest.sh
@@ -45,7 +45,7 @@ while [[ $# -gt 0 ]]; do
done
if [ "$ENV" = "test-optional" ]; then
- exec uv run --python "$PY_VERSION" --group test-optional pytest "$@"
+ exec uv run --isolated --python "$PY_VERSION" --group test-optional pytest "$@"
else
- exec uv run --python "$PY_VERSION" --group test pytest "$@"
+ exec uv run --isolated --python "$PY_VERSION" --group test pytest "$@"
fi