You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by sh...@apache.org on 2026/09/18 16:21:17 UTC

(airflow) branch main updated: Skip provider dependency generation for help command in breeze cli (#71689)

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

shahar1 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 60633c810c7 Skip provider dependency generation for help command in breeze cli (#71689)
60633c810c7 is described below

commit 60633c810c7d78c8575e117a36fbe9fb03180d02
Author: feberbo <fe...@gmail.com>
AuthorDate: Fri Sep 18 13:21:09 2026 -0300

    Skip provider dependency generation for help command in breeze cli (#71689)
---
 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={})