This is an automated email from the ASF dual-hosted git repository.

vatsrahul1001 pushed a commit to branch v3-3-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 46cc872443ffb9268444cb099bf6d660d6ca85e1
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Sep 18 23:21:55 2026 +0300

    [v3-3-test] Skip provider dependency generation for help command in breeze 
cli (#71689) (#73330)
    
    (cherry picked from commit 60633c810c7d78c8575e117a36fbe9fb03180d02)
    
    Co-authored-by: feberbo <[email protected]>
---
 dev/breeze/src/airflow_breeze/commands/main_command.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev/breeze/src/airflow_breeze/commands/main_command.py 
b/dev/breeze/src/airflow_breeze/commands/main_command.py
index fbb488f592b..d51421fbc95 100644
--- a/dev/breeze/src/airflow_breeze/commands/main_command.py
+++ b/dev/breeze/src/airflow_breeze/commands/main_command.py
@@ -124,7 +124,8 @@ def main(ctx: click.Context, **kwargs: dict[str, Any]):
 
     check_for_rosetta_environment()
     check_for_python_emulation()
-    generate_provider_dependencies_if_needed()
+    if not any(argument in {"-h", "--help"} for argument in sys.argv[1:]):
+        generate_provider_dependencies_if_needed()
 
     if not ctx.invoked_subcommand:
         ctx.forward(shell, extra_args={})

Reply via email to