From 73abe322ecb995d320dba309359bddc8590f30e7 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Fri, 8 Dec 2023 13:53:10 +0100 Subject: [PATCH] Fix case where `--use-constraints-version VERSION` has been broken (#36123) We are changing the whole mechanism in #36094 but since it might take a bit to review, this is a quick fix to fix --use-airflow-version pointing to specific airflow version. --- dev/breeze/src/airflow_breeze/commands/developer_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/breeze/src/airflow_breeze/commands/developer_commands.py b/dev/breeze/src/airflow_breeze/commands/developer_commands.py index 152c0b2555ef8..0a4782b205b1b 100644 --- a/dev/breeze/src/airflow_breeze/commands/developer_commands.py +++ b/dev/breeze/src/airflow_breeze/commands/developer_commands.py @@ -130,7 +130,7 @@ def _determine_constraint_branch_used(airflow_constraints_reference: str, use_ai and re.match(r"[0-9]+\.[0-9]+\.[0-9]+[0-9a-z\.]*|main|v[0-9]_.*", use_airflow_version) ): get_console().print(f"[info]Using constraints {use_airflow_version} - matching airflow version used.") - return use_airflow_version + return f"constraints-{use_airflow_version}" return airflow_constraints_reference