potiuk commented on code in PR #49799:
URL: https://github.com/apache/airflow/pull/49799#discussion_r2061029431
##########
scripts/in_container/run_generate_constraints.py:
##########
@@ -155,14 +154,24 @@ def freeze_packages_to_file(config_params: ConfigParams,
file: TextIO) -> None:
check=True,
capture_output=True,
)
+ stdout = result.stdout
+ if os.environ.get("VERBOSE", "") == "true":
+ if os.environ.get("CI", "") == "true":
+ print("::group::Installed distributions")
+ console.print("[bright_blue]Installed distributions")
+ console.print(stdout)
+ console.print("[bright_blue]End of installed distributions")
+ if os.environ.get("CI", "") == "true":
+ print("::endgroup::")
count_lines = 0
- for line in sorted(result.stdout.split("\n")):
+ for line in sorted(stdout.split("\n")):
if line.startswith(
(
"apache_airflow",
"apache-airflow==",
"apache-airflow-core==",
"apache_airflow_task_sdk=",
Review Comment:
```suggestion
```
--
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]