Hi Kyle,

We actually do support versions higher than 1.21.0, we'll remove the
version ping in the next release.

As for api vs sdk, we do need sdk to create MeterProvider in the example
<https://github.com/grpc/grpc/blob/master/examples/python/observability/observability_greeter_client.py#L25>.
But
the observability package itself doesn't have a dependency on sdk as listed
in setup.py
<https://github.com/grpc/grpc/blob/master/src/python/grpcio_observability/setup.py#L293>
(We'll also remove the version ping here).


Thanks,
Xuan

On Wed, Apr 24, 2024 at 2:36 PM Kyle Strand <[email protected]> wrote:

> The `grpcio-observability` requirements file (links below) specifies
> `opentelemetry-sdk == 1.21.0`. Is there a reason why this is pinned to a
> specific version, rather than using `^` or `>=`? The current OTEL PyPI
> release is 1.24.0. Additionally, is the OTEL SDK actually required, or
> could it use the API only, as `opentelemetry-api >= 1.21.0`?
>
> If the version-pinning is necessary, can a version be released that
> supports OTEL SDK 1.22.0 or above?
>
> Thanks!
>
> Kyle Strand
>
> Links:
>
> `grpcio-observability` requirements file:
> https://github.com/grpc/grpc/blob/master/examples/python/observability/requirements.txt
>
> OTEL SDK package in PyPI: https://pypi.org/project/opentelemetry-sdk/
>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/67751b5a-c916-4290-a3e5-3386c0c5c2c6n%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/67751b5a-c916-4290-a3e5-3386c0c5c2c6n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CABhWa51icnwHsJ%2BOTjKRVsikrTGFr4av4J3dKGPn%3DjGF%3D0UZpQ%40mail.gmail.com.

Reply via email to