This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 130cd464daf Run image verification in isolated environments (#51029)
130cd464daf is described below
commit 130cd464dafbb62943333916f2c7785b0846b54c
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat May 24 18:15:48 2025 +0200
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.
---
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 01c1ce43a7e..74cc0c62819 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,