Skip to content

Commit c2f440d

Browse files
authored
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.
1 parent 7799c51 commit c2f440d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dev/breeze/src/airflow_breeze/prepare_providers/provider_documentation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,8 @@ def update_min_airflow_version(
993993
:return:
994994
"""
995995
provider_details = get_provider_details(provider_package_id)
996+
if provider_details.removed:
997+
return
996998
jinja_context = get_provider_documentation_jinja_context(
997999
provider_id=provider_package_id,
9981000
with_breaking_changes=with_breaking_changes,

0 commit comments

Comments
 (0)