This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-0-test by this push:
new 6defc2e73ce [v3-0-test] Run image verification in isolated
environments (#51029) (#51030)
6defc2e73ce is described below
commit 6defc2e73ce37171421393f203a7ae09d4928db0
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat May 24 19:00:30 2025 +0200
[v3-0-test] Run image verification in isolated environments (#51029)
(#51030)
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 <[email protected]>
---
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,