potiuk commented on issue #51367: URL: https://github.com/apache/airflow/issues/51367#issuecomment-2936033540
Airflow contains multiple components - airflow, container image, providers, task-sdk and more. The container contains about 40 airlfow distributions (airflow + providers + task-sdk + airflow-core). All of them are installed from PyPI, not from sources. The commit HASH corresponds to Docker used - not airflow. And in order to find the right version you should look at the distribution you are checking as in general case different distributions in the same containers can come from widly different commits. You shoudl generally look at the tag set for the released distribution (`3.0.1` or 'providers-fab/1.2.0'). In airflow we For example airflow version is stored at /home/airflow/.local/lib/python3.12/site-packages/airflow/git_version If you look there, you will find 4ecebc2973587ebaa2cb12482de82e93d15c092f which properly corresponds to the right tags: ``` commit 4ecebc2973587ebaa2cb12482de82e93d15c092f (tag: task-sdk/1.0.1rc1, tag: task-sdk/1.0.1, tag: 3.0.1rc1, tag: 3.0.1) ``` https://github.com/apache/airflow/blob/4ecebc2973587ebaa2cb12482de82e93d15c092f/airflow-core/src/airflow/dag_processing/processor.py is the code you are asking for - and there the context is empty. The fix you are looking after is going to be released in Airflo2w 3.0.2 - soon. We are about to release it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
