kacpermuda commented on issue #48928:
URL: https://github.com/apache/airflow/issues/48928#issuecomment-2786583973

   It also showed up in the logs when simply running task, source is the same I 
think:
   <details>
   
   ```
   [2025-04-08, 14:05:06] DEBUG - Plugins are already loaded. Skipping.: 
source="airflow.plugins_manager"
   [2025-04-08, 14:05:06] DEBUG - Initialize hook lineage readers plugins: 
source="airflow.plugins_manager"
   [2025-04-08, 14:05:06] DEBUG - Initializing Providers Manager[asset_uris]: 
source="airflow.providers_manager"
   [2025-04-08, 14:05:06] WARNING - Exception when importing 
'airflow.providers.google.assets.gcs.sanitize_uri' from 
'apache-airflow-providers-google' package: source="airflow.providers_manager"
   RuntimeError: Direct database access via the ORM is not allowed in Airflow 
3.0
   File "/opt/airflow/airflow-core/src/airflow/providers_manager.py", line 308 
in _correctness_check
   File "/opt/airflow/airflow-core/src/airflow/utils/module_loading.py", line 
39 in import_string
   File "/usr/local/lib/python3.9/importlib/__init__.py", line 127 in 
import_module
   File "<frozen importlib._bootstrap>", line 1030 in _gcd_import
   File "<frozen importlib._bootstrap>", line 1007 in _find_and_load
   File "<frozen importlib._bootstrap>", line 986 in _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 680 in _load_unlocked
   File "<frozen importlib._bootstrap_external>", line 850 in exec_module
   File "<frozen importlib._bootstrap>", line 228 in _call_with_frames_removed
   File 
"/opt/airflow/providers/google/src/airflow/providers/google/assets/gcs.py", 
line 21 in <module>
   File 
"/opt/airflow/providers/google/src/airflow/providers/google/cloud/hooks/gcs.py",
 line 37 in <module>
   File 
"/usr/local/lib/python3.9/site-packages/gcloud/aio/storage/__init__.py", line 
1[56](http://localhost:28080/dags/dag_success/runs/manual__2025-04-08T14:04:54.573647+00:00/tasks/task_success?try_number=1#56)
 in <module>
   File "/usr/local/lib/python3.9/site-packages/gcloud/aio/storage/blob.py", 
line 19 in <module>
   File "/usr/local/lib/python3.9/site-packages/pyasn1/codec/der/decoder.py", 
line 9 in <module>
   File "<frozen importlib._bootstrap>", line 1007 in _find_and_load
   File "<frozen importlib._bootstrap>", line 986 in _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 680 in _load_unlocked
   File "<frozen importlib._bootstrap_external>", line 846 in exec_module
   File "<frozen importlib._bootstrap_external>", line 982 in get_code
   File "<frozen importlib._bootstrap_external>", line 1039 in get_data
   File "/opt/airflow/airflow-core/src/airflow/jobs/scheduler_job_runner.py", 
line 227 in _exit_gracefully
   File "/opt/airflow/airflow-core/src/airflow/utils/session.py", line 101 in 
wrapper
   File "/usr/local/lib/python3.9/contextlib.py", line 119 in __enter__
   File "/opt/airflow/airflow-core/src/airflow/utils/session.py", line 41 in 
create_session
   File "/opt/airflow/task-sdk/src/airflow/sdk/execution_time/supervisor.py", 
line 218 in __init__
   ```
   </details>


-- 
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]

Reply via email to