From ec6a2d93f34ba83a010036b226add9a73a3c383a Mon Sep 17 00:00:00 2001 From: Shahar Epstein <60007259+shahar1@users.noreply.github.com> Date: Fri, 26 Sep 2025 01:22:07 +0300 Subject: [PATCH] Change translation freeze setting to False --- dev/breeze/src/airflow_breeze/utils/selective_checks.py | 2 +- dev/breeze/tests/test_selective_checks.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dev/breeze/src/airflow_breeze/utils/selective_checks.py b/dev/breeze/src/airflow_breeze/utils/selective_checks.py index 5b92a89309a48..bca72d3e28fd8 100644 --- a/dev/breeze/src/airflow_breeze/utils/selective_checks.py +++ b/dev/breeze/src/airflow_breeze/utils/selective_checks.py @@ -92,7 +92,7 @@ ) # Set to True to enter a translation freeze period. Set to False to exit a translation freeze period. -FAIL_WHEN_ENGLISH_TRANSLATION_CHANGED = True +FAIL_WHEN_ENGLISH_TRANSLATION_CHANGED = False class FileGroupForCi(Enum): diff --git a/dev/breeze/tests/test_selective_checks.py b/dev/breeze/tests/test_selective_checks.py index 154ad377ab161..5c00a026921b3 100644 --- a/dev/breeze/tests/test_selective_checks.py +++ b/dev/breeze/tests/test_selective_checks.py @@ -19,6 +19,7 @@ import json import re from typing import Any +from unittest.mock import patch import pytest from rich.console import Console @@ -2440,6 +2441,7 @@ def test_mypy_matches( assert_outputs_are_printed(expected_outputs, str(stderr)) +@patch("airflow_breeze.utils.selective_checks.FAIL_WHEN_ENGLISH_TRANSLATION_CHANGED", True) def test_ui_english_translation_changed_fail_on_change(): translation_file = "airflow-core/src/airflow/ui/public/i18n/locales/en/some_file.json" with pytest.raises(SystemExit):