From edb02a5b82007dbf22ac596a3f2037c6403f3464 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sun, 3 Aug 2025 22:22:17 +0200 Subject: [PATCH] Simplify installing airflow from GitHub repo in breeze (#54070) Breeze had the possibility of installing airflow from a branch of any Github repo - by providing VCS url, but it's been broken since the split of distributions. This PR adds capability of using `owner/repo:branch` as `--use-airflow-version` and the installation will be done using this GitHub repo. Note! Such installation will NOT (currently) compile the assets so you will not be able to run api_server easily after such installation We might want to improve that in the future. (cherry picked from commit 40ccc55536b9c081104e54e24ccf3a7de85151e5) --- dev/breeze/doc/images/output_ci-image.svg | 30 +++---- ...agement_install-provider-distributions.svg | 66 ++++++++------ ...agement_install-provider-distributions.txt | 2 +- ...nagement_verify-provider-distributions.svg | 48 +++++----- ...nagement_verify-provider-distributions.txt | 2 +- dev/breeze/doc/images/output_setup.svg | 2 +- dev/breeze/doc/images/output_shell.svg | 90 ++++++++++--------- dev/breeze/doc/images/output_shell.txt | 2 +- .../doc/images/output_start-airflow.svg | 68 +++++++------- .../doc/images/output_start-airflow.txt | 2 +- .../doc/images/output_testing_core-tests.svg | 48 +++++----- .../doc/images/output_testing_core-tests.txt | 2 +- .../images/output_testing_providers-tests.svg | 66 ++++++++------ .../images/output_testing_providers-tests.txt | 2 +- .../images/output_testing_system-tests.svg | 48 +++++----- .../images/output_testing_system-tests.txt | 2 +- .../airflow_breeze/commands/common_options.py | 5 +- .../commands/developer_commands.py | 37 ++++++-- .../src/airflow_breeze/global_constants.py | 2 + .../utils/custom_param_types.py | 8 +- .../install_airflow_and_providers.py | 26 +++--- 21 files changed, 316 insertions(+), 242 deletions(-) diff --git a/dev/breeze/doc/images/output_ci-image.svg b/dev/breeze/doc/images/output_ci-image.svg index 2b8c1414c8105..0c614dfc94703 100644 --- a/dev/breeze/doc/images/output_ci-image.svg +++ b/dev/breeze/doc/images/output_ci-image.svg @@ -1,4 +1,4 @@ - +