As per https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3842#issuecomment-3415675501d we may be missing some warnings from ruff that are triggered only in newer versions.