From d7b29e4e05b2ead341534512907de7fcec0ed7f8 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Thu, 26 Jun 2025 22:47:20 +0200 Subject: [PATCH] [v3-0-test] Python versions in shell params are strings (#52306) The versions were "floats" and it accidentally worked because they were coerced to strings, but with 3.10 it will be coerced to the "3.1" string. (cherry picked from commit 1c0c01d99bacec79f1e9e2ea5c6b3fe64e434895) Co-authored-by: Jarek Potiuk --- dev/breeze/tests/test_shell_params.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/breeze/tests/test_shell_params.py b/dev/breeze/tests/test_shell_params.py index e4eeb409d4f19..dbcd085ae56d1 100644 --- a/dev/breeze/tests/test_shell_params.py +++ b/dev/breeze/tests/test_shell_params.py @@ -33,7 +33,7 @@ [ pytest.param( {}, - {"python": 3.12}, + {"python": "3.12"}, { "DEFAULT_BRANCH": AIRFLOW_BRANCH, "AIRFLOW_CI_IMAGE": f"ghcr.io/apache/airflow/{AIRFLOW_BRANCH}/ci/python3.12", @@ -43,7 +43,7 @@ ), pytest.param( {}, - {"python": 3.9}, + {"python": "3.9"}, { "AIRFLOW_CI_IMAGE": f"ghcr.io/apache/airflow/{AIRFLOW_BRANCH}/ci/python3.9", "PYTHON_MAJOR_MINOR_VERSION": "3.9",