This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-8-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit ffe3a9913cd14e581ad3da5f9fa9cbe0ffe8cdae
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Dec 8 13:53:10 2023 +0100

    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.
    
    (cherry picked from commit 73abe322ecb995d320dba309359bddc8590f30e7)
---
 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 152c0b2555..0a4782b205 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
 
 

Reply via email to