This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 6a1c3b5bc36 Breeze: Fix cache test for supported Python versions
(#63589)
6a1c3b5bc36 is described below
commit 6a1c3b5bc367e86f95c17ab4ca09d42938104efd
Author: Dev-iL <[email protected]>
AuthorDate: Sat Mar 14 23:24:49 2026 +0200
Breeze: Fix cache test for supported Python versions (#63589)
---
dev/breeze/tests/test_cache.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev/breeze/tests/test_cache.py b/dev/breeze/tests/test_cache.py
index 30f993e0f59..e8b9a3f4f91 100644
--- a/dev/breeze/tests/test_cache.py
+++ b/dev/breeze/tests/test_cache.py
@@ -21,6 +21,7 @@ from unittest import mock
import pytest
+from airflow_breeze.global_constants import ALLOWED_PYTHON_MAJOR_MINOR_VERSIONS
from airflow_breeze.utils.cache import (
check_if_cache_exists,
check_if_values_allowed,
@@ -36,7 +37,7 @@ AIRFLOW_SOURCES = Path(__file__).parents[3].resolve()
[
("backend", "mysql", (True, ["sqlite", "mysql", "postgres", "none",
"custom"]), None),
("backend", "xxx", (False, ["sqlite", "mysql", "postgres", "none",
"custom"]), None),
- ("python_major_minor_version", "3.10", (True, ["3.10", "3.11", "3.12",
"3.13"]), None),
+ ("python_major_minor_version", "3.10", (True,
ALLOWED_PYTHON_MAJOR_MINOR_VERSIONS), None),
("missing", "value", None, AttributeError),
],
)