Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions dev/breeze/src/airflow_breeze/global_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,11 +472,6 @@ def _exclusion(providers: Iterable[str]) -> str:
"airflow-version": "2.6.0",
"remove-providers": _exclusion(["openlineage", "common.io", "cohere", "fab", "qdrant"]),
},
{
"python-version": "3.9",
"airflow-version": "2.6.0",
"remove-providers": _exclusion(["openlineage", "common.io", "fab", "qdrant"]),
},
{
"python-version": "3.8",
"airflow-version": "2.7.1",
Expand Down
6 changes: 6 additions & 0 deletions scripts/in_container/install_airflow_and_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,12 @@ def install_airflow_and_providers(
for provider_package in installation_spec.provider_packages:
base_install_providers_cmd.append(provider_package)
install_providers_command = base_install_providers_cmd.copy()
# if airflow is also being installed we should add airflow to the base_install_providers_cmd
# to avoid accidentally upgrading airflow to a version that is different than installed in the
# previous step
if installation_spec.airflow_package:
base_install_providers_cmd.append(installation_spec.airflow_package)

if installation_spec.provider_constraints_location:
console.print(
f"[bright_blue]with constraints: {installation_spec.provider_constraints_location}\n"
Expand Down