Skip to content
Merged
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
2 changes: 1 addition & 1 deletion scripts/in_container/install_airflow_and_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def find_installation_spec(
airflow_extras = f"[{airflow_extras}]"
else:
console.print("[bright_blue]No airflow extras specified.")
if use_airflow_version and (AIRFLOW_CORE_SOURCES_PATH / "airflow").exists():
if use_airflow_version and (AIRFLOW_CORE_SOURCES_PATH / "airflow" / "__main__.py").exists():
console.print(
f"[red]The airflow source folder exists in {AIRFLOW_CORE_SOURCES_PATH}, but you are "
f"removing it and installing airflow from {use_airflow_version}."
Expand Down