You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/07/17 15:25:39 UTC

[GH] (airflow/fix/deprecation-date-locale-independent): Workflow run "Tests (AMD)" failed!

The GitHub Actions job "Tests (AMD)" on airflow.git/fix/deprecation-date-locale-independent has failed.
Run started by GitHub user anxkhn (triggered by anxkhn).

Head commit for run:
408610e4cd1be2f684ee741efaa9aedb6fff10a4 / Anas Khan <83...@users.noreply.github.com>
Make Google deprecation date parsing locale independent

The @deprecated decorator parsed and formatted the planned_removal_date
with strptime/strftime using the %B directive, which resolves month names
against the process LC_TIME locale. Under a non-English locale (for example
de_DE or fr_FR) strptime cannot match the English month name and raises,
so importing any module that decorates a member with planned_removal_date
at class-body level (such as the BigQuery operators) fails at import time.
The same directive also emitted a localized month name in the deprecation
message.

Translate the English month name to its number through a fixed mapping and
parse the numeric parts with locale-independent directives, and format the
sunset message with the same fixed English month names. The accepted input
format, the error message, and the rendered output are unchanged.

Signed-off-by: Anas Khan <83...@users.noreply.github.com>

Report URL: https://github.com/apache/airflow/actions/runs/29590994748

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org