Run image verification in isolated environments (#51029)
Image verification runs in parallell, and whne they are using same
venv with `uv run` they can override each other's directories while
installing packaegs.
diff --git a/dev/breeze/src/airflow_breeze/utils/run_tests.py b/dev/breeze/src/airflow_breeze/utils/run_tests.py
index 01c1ce4..74cc0c6 100644
--- a/dev/breeze/src/airflow_breeze/utils/run_tests.py
+++ b/dev/breeze/src/airflow_breeze/utils/run_tests.py
@@ -82,7 +82,7 @@
if slim_image:
env["TEST_SLIM_IMAGE"] = "true"
command_result = run_command(
- ["uv", "run", "pytest", test_path.as_posix(), *pytest_args, *extra_pytest_args],
+ ["uv", "run", "--isolated", "pytest", test_path.as_posix(), *pytest_args, *extra_pytest_args],
env=env,
output=output,
check=False,