The GitHub Actions job "Tests" on airflow.git has failed. Run started by GitHub user potiuk (triggered by potiuk).
Head commit for run: 8a0d2213e2f2f195dec54a985f358f83b5eca8f0 / Jarek Potiuk <[email protected]> fIx BranchDateTimeOperator to be timezone-awreness-insensitive The BranchDateTimeOperator was sensitive to whether timezone aware or timezone noive parameters were passed to it. Actually it worked a bit unpredictably - if use_task_logical_date was used, the lower/upper ranges were supposed to be timezone aware, but when "now()" was used, the ranges were supposed to be timezone naive. One of our examples has been broken because it was comparing naive and aware datetime. This PR coerces all values to timezone aware Pendulum datetime using the timezone of the Dag, which makes it insensitive to whether the aware or naive ranges have been used. Also, we missed example in the howto showing logical date usage (and it was rather strange as logical date is the only reasonable usage of the operator - using utcnow() make the DAG essentially non-idempotent - it's result depends on when the task is run which might make sense in some cases but most of the time is something that should be discouraged. The documentation has been updated to explain that. Report URL: https://github.com/apache/airflow/actions/runs/2922184876 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
