From d85fad36e0657c699ea1fd5e7a13f58663281cf6 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sat, 24 May 2025 18:15:48 +0200 Subject: [PATCH] [v3-0-test] 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. (cherry picked from commit 130cd464dafbb62943333916f2c7785b0846b54c) Co-authored-by: Jarek Potiuk --- 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,