Description
I'm trying to add this commit to Pydantic AI to be compatible with opentelemetry>=1.35 and avoid tests deprecation caused by trace_id, span_id and trace_flags as mentioned in the new version, I've also followed the deprecation rules that will be added by this commit, but I got those errors for tests.
I think something should be done to either config.py file or pydantic_ai.py file.