The GitHub Actions job "Tests (AMD)" on airflow.git/fix/google-evaluation-optional-69323 has failed. Run started by GitHub user Vamsi-klu (triggered by Vamsi-klu).
Head commit for run: 74776c0f17cd1563a074884de8918cfbd8b34b17 / Vamsi-klu <[email protected]> Move the evaluation breaking change to 23.0.0 and make the guard mypy-clean 22.3.0 shipped on 2026-08-08, so the breaking-change note moves into a new 23.0.0 section (major bump, next release) instead of sitting inside an already-released section. Collapses the two copies of the "install the evaluation extra" raise into a single _raise_if_evaluation_unavailable() helper, so the message and the install hint live in one place, and chains the original ImportError as the cause. ImportError (not ModuleNotFoundError) stays the caught type, so a partially installed evaluation stack gets the same hint rather than a raw traceback. EvalResult is only ever an annotation, so it is now imported under TYPE_CHECKING alone; the dead Any fallbacks are gone. RunEvaluationOperator has no evaluation-specific code of its own -- it calls GenerativeModelHook.run_evaluation -- so the single hook-side guard is what surfaces the exception from the operator too. Fixes the MyPy providers failure: assigning MagicMock over the imported MetricPromptTemplateExamples is "Cannot assign to a type" [misc]. The fallback is now built in one expression with a targeted ignore, and still engages only on ImportError, so environments with the real extra keep testing the real metric values. Report URL: https://github.com/apache/airflow/actions/runs/31460471156 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
