We already removed those entries in the deprecated section as a part of AIP-83. Those are also planned in the Ruff migration rule so people should be notified if they use them in a PythonOperator (including @task).
There are actually some other template variables I feel we should remove (ds and ts, for example). It’s probably too late now since they are not deprecated, but I’d be extremely happy if we could remove them. TP > On 2 Dec 2024, at 04:07, Jens Scheffler <[email protected]> wrote: > > I know, it might be a bit late but still... While cleaning deprecations > I stumbled over deprecated context entries. > > We have documented these entries since 2.0 and still carry them around > many places in the code. Just wanted to briefly drop this discussion to > feel the temperature before VOTE. > > Does something as argument speaks against removing the (long time) > deprecated context variables in Airflow 3? > > Who does not remember: The deprecated ones are > https://airflow.apache.org/docs/apache-airflow/stable/templates-ref.html#deprecated-variables > (or search for AirflowContextDeprecationWarning) > > Jens > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
