jscheffl commented on code in PR #64855:
URL: https://github.com/apache/airflow/pull/64855#discussion_r3047065665
##########
scripts/in_container/install_airflow_and_providers.py:
##########
@@ -1127,9 +1127,13 @@ def _install_airflow_and_optionally_providers_together(
"pip",
"install",
]
- if installation_spec.pre_release:
+ if installation_spec.pre_release or (
+ installation_spec.airflow_distribution and "==" in
installation_spec.airflow_distribution
+ ):
console.print("[bright_blue]Allowing pre-release versions of airflow
and providers")
- base_install_cmd.extend(["--pre", "--exclude-newer",
datetime.now().isoformat()])
+ base_install_cmd.extend(["--exclude-newer",
datetime.now().isoformat()])
+ if installation_spec.pre_release:
Review Comment:
...and here it is missing now:
```suggestion
if installation_spec.pre_release:
console.print("[bright_blue]Allowing pre-release versions of airflow
and providers")
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]