You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2023/12/12 19:40:46 UTC
(airflow) branch main updated: Avoid bumping min-airflow-version in prepare-provider-documentation (#36191)
This is an automated email from the ASF dual-hosted git repository.
potiuk 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 c2f440d827 Avoid bumping min-airflow-version in prepare-provider-documentation (#36191)
c2f440d827 is described below
commit c2f440d827d54a29d5c0da81a00095b5be2e4151
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Tue Dec 12 20:40:40 2023 +0100
Avoid bumping min-airflow-version in prepare-provider-documentation (#36191)
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.
---
.../src/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 de85183f46..391edb6056 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,