From 0d106ca56d262275edba9f1c2816675bec32c7bb Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Tue, 12 Dec 2023 19:53:04 +0100 Subject: [PATCH] Avoid bumping min-airflow-version in prepare-provider-documentation The change #36160 included removed providers in documentation generation - which is unnecesary and we should not do it. This PR avoids doing it for removed providers. --- .../airflow_breeze/prepare_providers/provider_documentation.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/breeze/src/airflow_breeze/prepare_providers/provider_documentation.py b/dev/breeze/src/airflow_breeze/prepare_providers/provider_documentation.py index de85183f46511..391edb6056bd0 100644 --- a/dev/breeze/src/airflow_breeze/prepare_providers/provider_documentation.py +++ b/dev/breeze/src/airflow_breeze/prepare_providers/provider_documentation.py @@ -993,6 +993,8 @@ def update_min_airflow_version( :return: """ provider_details = get_provider_details(provider_package_id) + if provider_details.removed: + return jinja_context = get_provider_documentation_jinja_context( provider_id=provider_package_id, with_breaking_changes=with_breaking_changes,