The GitHub Actions job "Tests" on airflow.git/2603/fix-task-callable-truthiness 
has failed.
Run started by GitHub user Dev-iL (triggered by Dev-iL).

Head commit for run:
148c3f81be7756bd64d68942edb9a45f0f6827d2 / Dev-iL 
<[email protected]>
Avoid invoking truthiness on the `task` callable

Changed the serialized Dag test proxy so task is exposed via a property 
returning `factory.dag.task`, instead of binding `task = factory.dag.task` on 
the proxy class.

The two fixes address the same Python 3.14 issue surface in serialized-DAG 
decorator tests:

- The proxy used by `dag_maker` can leak proxy/binding behavior into 
`@dag.task`.
- Python 3.14 is less forgiving when `inspect.signature()` and callable binding 
hit those proxy objects.
- The truthiness check in `task_decorator_factory()` made that worse by 
evaluating objects that only needed an identity check.

Together, the effect is:

- `@dag.task` gets the real task decorator from the underlying Dag, not a 
proxy-bound callable.
- `task_decorator_factory()` no longer triggers proxy resolution via boolean 
evaluation.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to