xBis7 commented on code in PR #56187:
URL: https://github.com/apache/airflow/pull/56187#discussion_r2576290080
##########
shared/observability/src/airflow_shared/observability/traces/otel_tracer.py:
##########
@@ -256,7 +260,7 @@ def _new_span(
tracer = self.get_tracer(component=component)
if start_time is None:
- start_time = timezone.utcnow()
+ start_time = datetime.datetime.now(tz=pendulum.UTC)
Review Comment:
It should be compatible but the issue is that I have to add a dependency to
`pendulum` to the `pyproject.toml` file. There used to be one but I removed 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]