shinhoshi57 commented on issue #56120:
URL: https://github.com/apache/airflow/issues/56120#issuecomment-3433231976
| File
"/home/airflow/.local/lib/python3.12/site-packages/airflow/providers/google/cloud/log/gcs_task_handler.py",
line 95, in hook
| return GCSHook(gcp_conn_id=conn_id)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File
"/home/airflow/.local/lib/python3.12/site-packages/airflow/providers/google/common/hooks/base_google.py",
line 280, in __init__
| self.extras: dict =
self.get_connection(self.gcp_conn_id).extra_dejson
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File
"/home/airflow/.local/lib/python3.12/site-packages/airflow/sdk/bases/hook.py",
line 61, in get_connection
| conn = Connection.get(conn_id)
| ^^^^^^^^^^^^^^^^^^^^^^^
| File
"/home/airflow/.local/lib/python3.12/site-packages/airflow/sdk/definitions/connection.py",
line 226, in get
| return _get_connection(conn_id)
| ^^^^^^^^^^^^^^^^^^^^^^^^
| File
"/home/airflow/.local/lib/python3.12/site-packages/airflow/sdk/execution_time/context.py",
line 181, in _get_connection
| from airflow.sdk.execution_time.task_runner import SUPERVISOR_COMMS
| ImportError: cannot import name 'SUPERVISOR_COMMS' from
'airflow.sdk.execution_time.task_runner'
(/home/airflow/.local/lib/python3.12/site-packages/airflow/sdk/execution_time/task_runner.py)
Same as mentioned before.
Just to confirm. I created a custom image by downloading the tag 3.1.1rc1
and uploading it to my own artifact repository:
docker build --platform=linux/amd64 -t eu.gcr.io/XXXXXX/airflow:custom .
Then from values.yaml chart I used:
# Airflow executor
executor: "KubernetesExecutor"
# Global image settings
images:
airflow:
repository: "eu.gcr.io/XXXXXX/airflow"
tag: "custom"
pullPolicy: "Always"
--
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]