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 
<[email protected]>
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 <[email protected]>

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to