From 979fee59964dae79262380f0c27adfc3da4e70b8 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sat, 24 May 2025 17:59:51 +0200 Subject: [PATCH] Run image verification in isolated environments 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. --- dev/breeze/src/airflow_breeze/utils/run_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/breeze/src/airflow_breeze/utils/run_tests.py b/dev/breeze/src/airflow_breeze/utils/run_tests.py index 01c1ce43a7ef0..74cc0c6281975 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 @@ def verify_an_image( 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,