potiuk commented on PR #56187:
URL: https://github.com/apache/airflow/pull/56187#issuecomment-3528298378

   After rebase, there is a missing airflow dependency in observability tests:
   
   ```
   from airflow._shared.observability.traces import otel_tracer
   from airflow._shared.observability.traces.base_tracer import DebugTrace, 
EmptyTrace, Trace
   from airflow._shared.observability.traces.otel_tracer import OtelTrace
   ```
   
   those should be:
   
   
   ```
   from airflow_shared.observability.traces import otel_tracer
   from airflow_shared.observability.traces.base_tracer import DebugTrace, 
EmptyTrace, Trace
   from airflow_shared.observability.traces.otel_tracer import OtelTrace
   ```
   
   When you run tests in observability distribution, airflow-core is not added 
to PYTHONPATH - only the "src" in observability, and there import is "from 
airflow_shared".


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